msgbox

script

May 29th, 2011
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Author: http://msgbox.vk.com
  2.     #NoEnv
  3.     #Persistent
  4.     SendMode Input
  5.     #SingleInstance Force
  6.     SetWorkingDir %A_ScriptDir%
  7.     SetBatchLines -1
  8.         IniRead, mail, settings.ini, settings, login
  9.         IniRead, password, settings.ini, settings, password
  10.         IniRead, gid, settings.ini, settings, groupid
  11.         httpAgent:="Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13"
  12.         mail := UtfEncode(mail)
  13.         password := UtfEncode(password)
  14.             httpQueryOps:="storeHeader"
  15.             httpQueryDwFlags := (INTERNET_FLAG_NO_COOKIES:=0x00080000)
  16.             length := httpQuery(data := "",URL := "http://login.vk.com/?act=login&email=" mail "&pass=" password "")
  17.             varSetCapacity(data,-1)
  18.             IfInString, data, <input type='hidden' name='s' value='
  19.             {
  20.             sid:= RegexReplace(data, ".*name='s' value='(.*?)'.*", "$1")
  21.             cookie:= "remixchk=5; remixgroup_closed_tabs=786432; remixpdathumbsize=s; audio_vol=100; remixpdaphotosize=x; wysiwyg=1; remixmid=; remixsid=" sid "; remixgid=; remixemail=; remixpass=; remixfeed=*.*.ps%2Cph%2Cvd%2Cnt.*.*"
  22.             }else{
  23.             msgbox, 64, %mail%, Error Auth!
  24.             ExitApp
  25.             }
  26.             httpQuery(data := "",URL := "http://vkontakte.ru/club" . gid . "?act=blacklist",POSTdata := "",HEADER := "Cookie: " cookie "")
  27.             varSetCapacity(data, -1)
  28.             StringReplace, data, data, `", `', All
  29.             hash := RegexReplace(data, ".*hash: '(.*?)'.*", "$1")
  30.             fileread, list, list.txt
  31.             loop, parse, list, `r`n
  32.             {
  33.             httpQuery(data := "",URL := "http://vkontakte.ru/al_groups.php",POSTdata := "act=bl_user&al=1&gid=" . gid . "&hash=" . hash . "&name=" . a_loopfield . "",HEADER := "Content-Type: application/x-www-form-urlencoded; charset=UTF-8`nX-Requested-With: XMLHttpRequest`nReferer: http://vkontakte.ru/club" . gid . "?act=blacklist`nCookie: " cookie "")
  34.             varSetCapacity(data, -1)
  35.             reply := regexReplace(data, ".*<b>(.*?)</b>.*", "$1")
  36.             traytip, %reply%, %a_loopfield%,0,0,0
  37.             sleep, 1500
  38.             }
  39.         msgbox, 64, Status, Okay
  40.         ExitApp
  41.     #include library.ahk
Advertisement
Add Comment
Please, Sign In to add comment