Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

LNK Creator

Creates Windows LNK shortcuts that run hidden PowerShell commands.

Features

  • Silent execution with a decoy file.
  • Uses common system icons (MP3, DOCX, XLS, TXT, Folder).
  • Payload is Base64 encoded.

Install

pip install pywin32

Usage

Hidden Payload:

python -m lnkCreator -o secret.lnk -i txt

With Decoy:

python -m lnkCreator -o Report.lnk -i docx -d decoy.docx

Debug:

python -m lnkCreator -o secret.lnk -i txt --debug

Change Payload

Encode your command in PowerShell and replace the encoded_command variable in the script.

$command = 'your-command-here'
$bytes = [System.Text.Encoding]::UTF8.GetBytes($command)
[Convert]::ToBase64String($bytes)

About

creates windows .lnk shortcuts that run arbitrary powershell commands. can be disguised with various different icons.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages