Advertisement
makimaki

cookie shit

Jul 19th, 2010
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.96 KB | None | 0 0
  1. ;PhreikNet Account Cookie Grabber
  2. alias cookie { if ($1 == update) sockopen cookie www.phreik.net 80 }
  3. on *:SOCKOPEN:cookie:{
  4.   tokenize 32 %activeaccount
  5.   var %x = cookiegrabber.php?u= $+ $1 $+ &p= $+ $2
  6.   sockwrite -n $sockname GET /noht/ $+ %x HTTP/1.1 $+ $crlf $+  Accept: */* $+ $crlf $+ Accept-Language: en-au $+ $crlf $+ Accept-Encoding: gzip, deflate $+ $crlf $+ User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322) $+ $crlf $+ Host: www.phreik.net $+ $crlf $+ Connection: close $+ $crlf $+ $crlf
  7. }
  8. on *:SOCKREAD:cookie:{
  9.   if ($sockerr > 0) return
  10.   var %t | sockread %t
  11.   while ($sockbr > 0) {
  12.     tokenize 32 %t
  13.     if ($1 == TICKET:) {
  14.       if ($2 == VALID:) {  echo -a $chr(3) $+ 12 * Account Cookie $4- | set %activeaccount $4- | /account %activeaccount }
  15.       else echo -a Error Grabbing Cookie Please Re Enter Your User Name And Password | setup
  16.     }
  17.     return
  18.   }
  19.   sockread %t
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement