mirror of https://github.com/hak5/omg-payloads.git
f2f211c7e8
Simple yet Powerful payload which can be used to replace one command with another on target’s system. swap_jack gives your target capability to trigger backdoors for you. |
||
---|---|---|
.. | ||
README.md | ||
payload.txt |
README.md
About:
- Title: swap_jack
- Description: swap_jack, simple yet powerful payload which can be used to replace one command with another on target's system.
- AUTHOR: drapl0n
- Version: 1.0
- Category: Execution.
- Target: Unix-like operating systems.
- Attackmodes: HID, Storage.
swap_jack: Simple yet Powerful payload which can be used to replace one command with another on target's system. swap_jack gives your target capability to trigger backdoors for you.
Features:
- Swap commands/Execute scripts covertly.
- Persistent.
- Can swap multiple commands.
- Makes your target run commands/script for you.
Usage:
- To swap custom commands make following changes at line
18
inpayload.sh
: - Default swaped commands:
swap_array='alias ls=\"du\" \\n alias cd=\"dh\" \\n alias cat=\"lsblk\"'
. - Example: Swapping
pwd
command withfind
: - Add entry seperated by
\\n
to the line18
:swap_array='alias ls=\"du\" \\n alias cd=\"dh\" \\n alias cat=\"lsblk\"' \\n alias pwd=\"find\"