Jump to content

Hiding a file in a picture


Kjodiz
 Share

Recommended Posts

I want to make a script that hides a file in a picture, but I can't figure out how! -.-

I've done what i can, but i'm stuck.

What i have:

#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Hide Me", 615, 438, 612, 218)
$Button1 = GUICtrlCreateButton("...", 288, 56, 35, 25)
$Input1 = GUICtrlCreateInput("", 160, 56, 121, 21)
$Label1 = GUICtrlCreateLabel("Input:", 160, 32, 41, 20)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Button2 = GUICtrlCreateButton("...", 288, 144, 35, 25)
GUICtrlCreateInput("", 160, 144, 121, 21)
$Label2 = GUICtrlCreateLabel("Output:", 160, 120, 52, 20)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Button3 = GUICtrlCreateButton("OK", 160, 208, 75, 25)
$Button4 = GUICtrlCreateButton("Cancel", 248, 208, 75, 25)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
  Case $GUI_EVENT_CLOSE
   Exit
  Case $Form1
  Case $Button1
   FileOpendialog("Choose your input file","","all files (*.*)")
   ;Copy the users choice, and paste it into $input1
  Case $Button2
   FileOpendialog("Choose your input file","","all files (*.*)")
   ;Copy the users choice, and paste it into $input2
  Case $Button3
   ;Copy the users files, and make the file the user wants to hide a .rar
   ;Maybe a "if not .jpg or .jpeg or .png"?
   ;Combine the picture and the .rar into a .jpg
  Case $Button4
   Exit
  Case $Input1
 
  Case $Input2
  
EndSwitch
WEnd

I've written what I want to get done, so if you know how to, please help!

Link to comment
Share on other sites

  • Moderators

Kjodiz,

You might find this thread useful. :graduated:

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

  • Moderators

M23,

Thanks :graduated:

It's kind of the same thing, but instead of text, i want a program ;)

I know how to do it in cmd, but i want to make it easier, faster, and share it.

I can't think of any legitimate reason to do this, care to enlighten?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

There is not really a reason for this other than to hide files in a fun way.

And what i can assure you of, is that the file within the picture will not open unless you open the picture with winrar, and open it yourself.

So there is no way this can be used for viruses.. (that i know of)

It's basically just for fun.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...