Advertisement
Guest User

Untitled

a guest
Nov 27th, 2015
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. #RequireAdmin
  2. #include <ButtonConstants.au3>
  3. #include <EditConstants.au3>
  4. #include <GUIConstantsEx.au3>
  5. #include <StaticConstants.au3>
  6. #include <WindowsConstants.au3>
  7. #include <Ie.au3>
  8. #include <inet.au3>
  9.  
  10. $browser2 = _IECreateEmbedded()
  11.  
  12. #Region ### START Koda GUI section ### Form=
  13. $Form1 = GUICreate("[S4L] Next In-Game Trainer Thanks Checker", 592, 349, 189, 122)
  14. GUISetBkColor(0xCFCFCF)
  15. $Input1 = GUICtrlCreateInput("", 272, 16, 121, 21)
  16. $Input2 = GUICtrlCreateInput("", 272, 48, 121, 21, $ES_PASSWORD)
  17. $Label1 = GUICtrlCreateLabel("Your Username :", 184, 16, 83, 17)
  18. $Label2 = GUICtrlCreateLabel("Your Password :", 184, 48, 81, 17)
  19. $Checkbox1 = GUICtrlCreateCheckbox("Show Your Password", 272, 72, 121, 17)
  20. $Button1 = GUICtrlCreateButton("Login", 400, 48, 91, 25)
  21. $Button2 = GUICtrlCreateButton("To Continue Click Here", 152, 320, 331, 25)
  22. $Obj1 = GUICtrlCreateObj($Browser2, 6, 96, 580 ,220)
  23. GUISetState(@SW_SHOW)
  24. $FUCK = _IENavigate ($Browser2, "http://www.elitepvpers.com/forum/login.php?do=login")
  25. #EndRegion ### END Koda GUI section ###
  26.  
  27. While 1
  28. $nMsg = GUIGetMsg()
  29. Switch $nMsg
  30. Case $GUI_EVENT_CLOSE
  31. Exit
  32. Case $Button1
  33. _Login(guictrlread($input1),guictrlread($input2))
  34. EndSwitch
  35. WEnd
  36.  
  37.  
  38. Func _Login($User,$Pass)
  39. Sleep(950)
  40. $oForm = _IEFormGetCollection($Browser2, 0)
  41. $button = _IEFormGetCollection($oForm, 0)
  42. Local $username = _IEGetObjByName ($oForm, "vb_login_username")
  43. Local $password = _IEGetObjByName ($oForm, "vb_login_password")
  44. Local $Name = _IEGetObjByName ($oform,"navbar_username")
  45. _IEFormElementSetValue($username,$User)
  46. _IEFormElementSetValue($password,$Pass)
  47. _IEFormSubmit($button, 0)
  48. _IELoadWait($oForm)
  49. Sleep(5000)
  50. MsgBox(0,"",$username)
  51. EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement