AutoitHacks

CrackMe Autoit v1.0 [Open Code]

May 18th, 2012
543
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 3.11 KB | None | 0 0
  1. #NoTrayIcon
  2. ; Powered By Jesux Herrera
  3. ; Twitter: @Jesux Herrera
  4. ; www.autoithacks.tk
  5. ; www.experimento5.com
  6. #include <ButtonConstants.au3>
  7. #include <EditConstants.au3>
  8. #include <GUIConstantsEx.au3>
  9. #include <StaticConstants.au3>
  10. #include <WindowsConstants.au3>
  11. #include <String.au3>
  12. $Form1 = GUICreate("AutoCrackMe - Powered by Jesux Herrera", 379, 140, -1, -1)
  13. GUISetFont(8, 400, 0, "Verdana")
  14. $Group1 = GUICtrlCreateGroup("", 8, 8, 361, 121)
  15. $reg = GUICtrlCreateButton("Register", 112, 96, 75, 25)
  16. $InputU = GUICtrlCreateInput("", 80, 32, 265, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_CENTER))
  17. $InputP = GUICtrlCreateInput("", 80, 64, 265, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_CENTER))
  18. $read = GUICtrlCreateButton("Read Me", 192, 96, 75, 25)
  19. $homepage = GUICtrlCreateButton("HomePage", 272, 96, 75, 25)
  20. $user = GUICtrlCreateLabel("User:", 42, 36, 35, 17, $SS_RIGHT)
  21. $password = GUICtrlCreateLabel("Key:", 16, 68, 63, 17, $SS_RIGHT)
  22. GUICtrlCreateGroup("", -99, -99, 1, 1)
  23. WinSetTrans($Form1,"", 0)
  24. GUISetState(@SW_SHOW)
  25.  
  26. Local $i = 0
  27. Do
  28.     WinSetTrans($Form1,"", $i)
  29.     $i = $i + 1
  30. Until $i = 255
  31.  
  32.  
  33. While 1
  34.     $nMsg = GUIGetMsg()
  35.     Switch $nMsg
  36.         Case $GUI_EVENT_CLOSE
  37.             Local $i = 255
  38.             Do
  39.             WinSetTrans($Form1,"", $i)
  40.             $i = $i - 1
  41.             Until $i = 0
  42.             Exit
  43.  
  44.         Case $reg
  45.             Local $stngu = "Jesux Herrera"
  46.             Local $stngp = "4A657375782048657272657261"
  47.             $u = GUICtrlRead($InputU)
  48.             $p = GUICtrlRead($InputP)
  49.  
  50.             $result = StringCompare("" & $stngu,"" &  $u, 1)
  51.             $result2 = StringCompare("" & $stngp,"" &  $p, 1)
  52.  
  53.             If $result = 0 Then
  54.             MsgBox(64,"Bien! :D","Usuario Correcto!")
  55.             GUICtrlSetState($InputU, $GUI_DISABLE)
  56.  
  57.             Else
  58.             MsgBox(16,"Mal! :(","Usuario Incorrecto")
  59.             GUICtrlSetState($reg, $GUI_DISABLE)
  60.             GUICtrlSetState($InputU, $GUI_DISABLE)
  61.  
  62.             EndIf
  63.  
  64.             If $result2 = 0 Then
  65.                 MsgBox(64,"Bien! :D","Key Correcto!")
  66.                 GUICtrlSetState($InputP, $GUI_DISABLE)
  67.  
  68.             Else
  69.                 MsgBox(16,"Mal! :(","Key Incorrecto")
  70.                 GUICtrlSetState($reg, $GUI_DISABLE)
  71.                 GUICtrlSetState($InputP, $GUI_DISABLE)
  72.  
  73.             EndIf
  74.  
  75.  
  76.         Case $read
  77.             GUISetState(@SW_HIDE, $Form1)
  78.             _ReadMe()
  79.  
  80.         Case $homepage
  81.  
  82.  
  83.     EndSwitch
  84. WEnd
  85.  
  86. Func _ReadMe()
  87.     $Form2 = GUICreate('Acerca de.....', 329, 296, -1, -1, BitOR($WS_CAPTION, $WS_SYSMENU), $WS_EX_TOOLWINDOW, $Form1)
  88.     GUICtrlCreateIcon(@ScriptFullPath, 99, 99, 10, 128, 128, BitOR($SS_NOTIFY, $WS_GROUP))
  89.     GUICtrlCreateLabel('AutoCrackMe', 76, 145, 180, 33)
  90.     GUICtrlSetFont(-1, 18, 800, 0, 'Verdana')
  91.     GUICtrlCreateLabel('Gracias por descargar este humilde software', 62, 180, 254, 17)
  92.     GUICtrlCreateLabel('Dedicado a mi amada Maricela Puente', 75, 200, 200, 17)
  93.     $Link = GUICtrlCreateLabel('Follow Me! :D @JesuxHerrera ', 90, 230, 150, 17)
  94.     GUICtrlSetColor(-1, 0x0000FF)
  95.     GUICtrlSetCursor(-1, 0)
  96.     $2Button1 = GUICtrlCreateButton('Aceptar', 77, 255, 175, 25)
  97.     GUISetState(@SW_SHOW, $Form2)
  98.     Do
  99.         $GMsg = GUIGetMsg()
  100.         If $GMsg = $Link Then ShellExecute('http://www.twitter.com/JesuxHerrera')
  101.         Sleep(10)
  102.     Until $GMsg = $GUI_EVENT_CLOSE Or $GMsg = $2Button1
  103.     GUISetState(@SW_SHOW, $Form1)
  104.     GUIDelete($Form2)
  105. EndFunc
Add Comment
Please, Sign In to add comment