xss with chrome?

No explicit questions like "how do I hack xxx.com" please!
Post Reply
User avatar
hpprinter100
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 214
Joined: 19 Oct 2007, 16:00
16
Contact:

xss with chrome?

Post by hpprinter100 »

when i try and do an xss with chrome it blocks javascript , so what can i use instead of javascript that wont get blocked?

:twisted:

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

Chrome doesn't know that it's an XSS. XSS works because it's legal syntax, and I don't think Chrome would block that.

Maybe it's the site you're trying to exploit?
"The best place to hide a tree, is in a forest"

User avatar
hpprinter100
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 214
Joined: 19 Oct 2007, 16:00
16
Contact:

Post by hpprinter100 »

http://www.teachtoday.eu/en/Search-Resu ... /script%3E

works in firefox but not chrome or IE , guess xss is getting wised up to.

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

oh, you're right, IE did block it 8O

Didn't know it did that.

"Internet explorer has modified this page to help prevent cross site scripting"

Guess it simply checks for any kind of executable code in the vars that normally shouldn't be there.

I played around with it a little, found some interesting info here

Code: Select all

http://www.securiteam.com/windowsntfocus/6Z00C15NFW.html
Do tell if it works
"The best place to hide a tree, is in a forest"

User avatar
hpprinter100
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 214
Joined: 19 Oct 2007, 16:00
16
Contact:

Post by hpprinter100 »

im still messsing about with it , found this thou http://openmya.hacker.jp/hasegawa/publi ... =datae.txt

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

hpprinter100 wrote:im still messsing about with it , found this thou http://openmya.hacker.jp/hasegawa/publi ... =datae.txt
oh, that's really neat =o
"The best place to hide a tree, is in a forest"

User avatar
Kirk
suck-o enforcer
suck-o enforcer
Posts: 547
Joined: 25 Apr 2009, 16:00
14
Contact:

Post by Kirk »

I am trying to figure out what this is so I can find a conversion table to learn it. I know it is XSS but i want a table so I can figure out what %29, %3c, etc converts too.
?q=%3Cscript%3Ealert%28%22lol%22%29%3C/script%3E

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

Kirk wrote:I am trying to figure out what this is so I can find a conversion table to learn it. I know it is XSS but i want a table so I can figure out what %29, %3c, etc converts too.
It's ASCII in hexa decimal representation :)

Code: Select all

http://www.asciitable.com/
"The best place to hide a tree, is in a forest"

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

also check here Kirk:
http://ha.ckers.org/xss.html

on the bottom, "Character Encoding Calculator"... :wink:
Image

User avatar
Kirk
suck-o enforcer
suck-o enforcer
Posts: 547
Joined: 25 Apr 2009, 16:00
14
Contact:

Post by Kirk »

I thought it was ASCII. THis is what i want to do. I want the entire URL to be written in ASCII. so instead of
?q=%3Cscript%3Ealert%28%22lol%22%29%3C/script%3E


I also want the "lol" part to be in ASCII also. it is not working for me though. I tried removing the "lol" part and inserting the letter C ("&#67") but then I get no alert at all.

So my question is: how can i write something not in plain text and have it show up as plaintext when the alert box appears?

EDIT:

Never mind i solved it. I was trying to alter the URL after i brought up the web page. when I altered it before it worked just fine.

Post Reply