Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoTrayIcon
- #SingleInstance force
- SetBatchLines -1
- mail := "[email protected]"
- pass := urlencode(utfdecode("yourpassword"))
- httpQueryOps:="storeHeader"
- httpQueryDwFlags:=(INTERNET_FLAG_NO_COOKIES:=0x00080000|INTERNET_FLAG_NO_AUTO_REDIRECT:=0x00200000)
- httpQuery(data:="",URL:="http://login.vk.com/?act=login&email=" mail "&pass=" pass "&from_host=vk.com")
- if RegExMatch(HttpQueryHeader,"hash=(.*?)&",hash) {
- httpQuery(data:="",URL:="http://vkontakte.ru/login.php?act=slogin&fast=1&hash=" hash1 "&redirect=1&s=1")
- HEADERS := "remixsid=" Regexreplace(HttpQueryHeader, ".*remixsid=(.*?);.*", "$1") ";"
- httpQueryDwFlags := (INTERNET_FLAG_NO_COOKIES:=0x00080000)
- httpQuery(data:="", "http://vk.com/feed2.php?act=user","",HEADERS)
- varSetCapacity(data, -1)
- msgbox, % data
- }else{
- msgbox, 16, Auth error!, % HttpQueryHeader
- ExitApp
- }
Advertisement
Add Comment
Please, Sign In to add comment