Skip to content

Instantly share code, notes, and snippets.

@HackersZone
Created December 29, 2017 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HackersZone/986acbb28b80abfa8cbb857926689fbb to your computer and use it in GitHub Desktop.
Save HackersZone/986acbb28b80abfa8cbb857926689fbb to your computer and use it in GitHub Desktop.
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("File Hider", 290, 141, 363, 283)
GUICtrlCreateLabel("Put The Exe and The Picture In This Folder.", 8, 8, 290, 17)
GUICtrlCreateLabel("Exe Name:", 16, 40, 115, 17)
$ZipArchive = GUICtrlCreateInput("", 128, 40, 145, 21)
GUICtrlCreateLabel("Picture Hide Name:", 16, 72, 115, 17)
$Picture = GUICtrlCreateInput("", 128, 72, 145, 21)
$Button1 = GUICtrlCreateButton("Compile", 16, 104, 73, 25, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
$Handle=FileOpen("RunBat.bat",2)
Filewrite($handle,"@echo off")
FileWrite($Handle,"copy /b " & GUICtrlRead($Picture) & " + " & GUICtrlRead($ZipArchive) & " SecretPicture.jpg")
FileClose($handle)
Run("RunBat.bat")
sleep(2000)
FileDelete("RunBat.bat")
EndSwitch
WEnd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment