Advertisement
deseven

Untitled

Apr 4th, 2012
489
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 1.40 KB | None | 0 0
  1. Func _cryp()
  2.     $cryptedmail = _crypt_encryptdata($mail, @UserName, $calg_rc4)
  3.     $cryptedpass = _crypt_encryptdata($pass, @ComputerName, $calg_rc4)
  4.     IniWrite("launcher.dat", "Launcher", "Login", "1")
  5.     IniWrite("launcher.dat", "Launcher", "Mail", $cryptedmail)
  6.     IniWrite("launcher.dat", "Launcher", "Pass", $cryptedpass)
  7.     _login()
  8. EndFunc
  9.  
  10. Func _login()
  11.     $cryptedmail = IniRead("launcher.dat", "Launcher", "Mail", "NotFound")
  12.     $cryptedpass = IniRead("launcher.dat", "Launcher", "Pass", "NotFound")
  13.     $decrymail = _crypt_decryptdata(Binary($cryptedmail), @UserName, $calg_rc4)
  14.     $decrymail = BinaryToString($decrymail)
  15.     $decrypass = _crypt_decryptdata(Binary($cryptedpass), @ComputerName, $calg_rc4)
  16.     $decrypass = BinaryToString($decrypass)
  17.     $sess1on = InetRead("http://109.95.101.135/th092873h4rt983745t9h/auth.php?user=" & $decrymail & "&password=" & $decrypass & "&version=13", 1)
  18.     $session = StringRegExpReplace(BinaryToString($sess1on), "^.*/", "")
  19.     $nick = StringTrimRight(BinaryToString($sess1on), StringLen($session) + 1)
  20.     If $sess1on = "error"
  21.         IniWrite("launcher.dat", "Launcher", "Login", "0")
  22.         HotKeySet("{ENTER}")
  23.         MsgBox(0, "=8<0=85", "525@=K9 ;>38= 8;8 ?0@>;L!")
  24.         HotKeySet("{ENTER}", "_Enter")
  25.     Else
  26.         $ticket = ($nick & " " & $session)
  27.         GUICtrlSetState($mailin, $gui_hide)
  28.         GUICtrlSetState($passin, $gui_hide)
  29.         GUICtrlSetState($loginbtn, $gui_hide)
  30.         $login = 1
  31.         _gui()
  32.     EndIf
  33. EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement