Posted by hixxy Fri 16th Feb 2007 02:13 - Syntax is None/text - 173 views
Download | New Post | Modify | Hide line numbers
  1. on *:sockopen:pastecontrol.pastebincom:{
  2.   if ($sockerr) { return }
  3.   makepoststring $+(parent_pid=&remember=0&paste=Send&format=text&poster=,$me,&code2=)
  4.   sockwrite -n $sockname POST /pastebin.php HTTP/1.1
  5.   sockwrite -n $sockname Host: pastebin.com
  6.   sockwrite -n $sockname Accept: */*
  7.   sockwrite -n $sockname Connection: Close
  8.   sockwrite -n $sockname Content-Type: application/x-www-form-urlencoded
  9.   sockwrite -n $sockname Content-Length: $bvar(&poststring,0)
  10.   sockwrite -n $sockname
  11.   sockwrite $sockname &poststring
  12. }
  13. on *:sockread:pastecontrol.pastebincom:{
  14.   var %data
  15.   sockread %data
  16.   if (Location: * iswm %data) {
  17.     if ($sock($sockname).mark != $null) { $v1 $gettok(%data,2-,32) }
  18.   }
  19. }
  20.  

PermaLink to this entry https://pastebin.co.uk/10558
Posted by hixxy Fri 16th Feb 2007 02:13 - Syntax is None/text - 173 views
Download | New Post | Modify | Hide line numbers

 

Comments: 0