Advertisement
Guest User

camn

a guest
Jun 21st, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. #include<ie.au3>
  2. #include<windowsconstants.au3>
  3. #include<guiconstants.au3>
  4. #include <GUIConstantsEx.au3>
  5. $ClearID = "2"
  6. Run("RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess " & $ClearID)
  7. $oIE = _IECreateEmbedded ()
  8. GUICreate("HuuDucITVN", 439, 540, 192, 124)
  9. $taikhoan = GUICtrlCreateInput("huuducitvn", 8, 16, 121, 22)
  10. GUICtrlSetFont(-1, 9, 800, 0, "Tahoma")
  11. $bt_get = GUICtrlCreateButton("GET", 136, 16, 83, 25)
  12. GUICtrlSetFont(-1, 9, 800, 0, "Tahoma")
  13. $bt_quaylai = GUICtrlCreateButton("QUAY LAI", 224, 16, 83, 25)
  14. GUICtrlSetFont(-1, 9, 800, 0, "Tahoma")
  15. $GUIActiveX = GUICtrlCreateObj($oIE, 0, 50, 433, 481)
  16. _IENavigate ($oIE, "https://mbasic.facebook.com/login/identify/")
  17. $o_User = _IEGetObjByName($oIE,"email")
  18. $oSubmit = _IEGetObjByName ($oIE, "did_submit")
  19. $Source = 'Tiếp Tục';
  20.  
  21.  
  22.  
  23.  
  24. GUISetState(@SW_SHOW)
  25. While 1
  26. $msg = GUIGetMsg()
  27. Switch $Msg
  28. Case $GUI_EVENT_CLOSE
  29. Exit
  30. Case $bt_get
  31. _IEFormElementSetValue ($o_User, GUICtrlRead($taikhoan))
  32. _IEAction($oSubmit, "click")
  33. Sleep(1000)
  34. _IENavigate ($oIE, "https://mbasic.facebook.com/recover/extended?no_access=1")
  35. Sleep(1000)
  36. $oButtons = _IETagNameGetCollection($oIE, "input")
  37. For $oButton in $oButtons
  38. If String($oButton.value) = "Tôi không thể truy nhập email" Then
  39. _IEAction($oButton, "click")
  40. EndIf
  41.  
  42. Next
  43. Loop()
  44.  
  45. EndSwitch
  46. WEnd
  47.  
  48. Func form()
  49. MsgBox(0, "", "No Form",1)
  50. _IEAction($oIE, "back")
  51. EndFunc
  52.  
  53. Func loop()
  54. If String($oButton.value) = "Tiếp tục" Then
  55. MsgBox($MB_SYSTEMMODAL, "FORM", "Ðã ra form")
  56. Else
  57. Call(form)
  58. EndIf
  59. EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement