Advertisement
makimaki

hmmm

Jul 23rd, 2010
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.92 KB | None | 0 0
  1. ;PhreikNet Account Cookie Grabber
  2. alias cookie {
  3. set %u $$?="Enter User Name:" | set %p $$?="Enter Password:"
  4.   if ($sock(cookie)) sockclose cookie
  5.   sockopen cookie www.phreik.net 80
  6. }
  7.  
  8. on *:SOCKOPEN:cookie:{
  9.     sockwrite -n $sockname GET /noht/cookiegrabber.php?u= $+ %u $+ &p= $+ %p 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
  10. }
  11.  
  12. on *:SOCKREAD:cookie:{
  13.   if ($sockerr > 0) return
  14.   var %t | sockread %t
  15.   while ($sockbr > 0) {
  16.     tokenize 32 %t
  17.     if ($1 == TICKET:) {
  18.       if ($2 == VALID:) { echo -s 12 * Account Cookie $4- | set %phreik $4-  }
  19.       else { echo -s Error Grabbing Cookie. | cookie }
  20.     }
  21.     return
  22.   }
  23.   sockread %t
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement