Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;PhreikNet Account Cookie Grabber
- alias cookie {
- set %u $$?="Enter User Name:" | set %p $$?="Enter Password:"
- if ($sock(cookie)) sockclose cookie
- sockopen cookie www.phreik.net 80
- }
- on *:SOCKOPEN:cookie:{
- 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
- }
- on *:SOCKREAD:cookie:{
- if ($sockerr > 0) return
- var %t | sockread %t
- while ($sockbr > 0) {
- tokenize 32 %t
- if ($1 == TICKET:) {
- if ($2 == VALID:) { echo -s 12 * Account Cookie $4- | set %phreik $4- }
- else { echo -s Error Grabbing Cookie. | cookie }
- }
- return
- }
- sockread %t
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement