Skip to content

Latest commit

 

History

History
123 lines (88 loc) · 3.22 KB

File metadata and controls

123 lines (88 loc) · 3.22 KB

Logo

Table of Contents
  1. Description
  2. The Function
  3. Examples
  4. Contact
  5. Acknowledgments

Hide Message

Python
YouTube Tutorial

Description

This function can be used to hide a secret message in an image

The Function

[Hide-Msg]

In this function you will provide the path of your image and your secret message using the syntax below

Hide-Msg -Path "C:\Users\user\Desktop\secret.jpg" -Message "this is your secret message"
function Hide-Msg {

	[CmdletBinding()]
	param (
	
	[Parameter (Mandatory = $True, ValueFromPipeline = $True)]
	[string]$Path,

	[Parameter (Mandatory = $False)]
	[string]$Message 
	)

	echo "`n`n $Message" > $Env:USERPROFILE\Desktop\foo.txt

	cmd.exe /c copy /b "$Path" + "$Env:USERPROFILE\Desktop\foo.txt" "$Path"

	rm $Env:USERPROFILE\Desktop\foo.txt -r -Force -ErrorAction SilentlyContinue

}

(back to top)

Examples

Listed below are payloads that have used one of these functions:

Acid Burn

WallPaper-Troll

(back to top)

Contact

📱 My Socials 📱

C#
YouTube
Python
Twitter
Golang
Instagram
Jsonnet
Discord

(back to top)

Acknowledgments


HOME-PAGE

(back to top)