mirror of https://github.com/hak5/omg-payloads.git
Update payload.txt
parent
a26145030a
commit
c764fdec53
|
@ -11,62 +11,35 @@ REM ###########################################
|
||||||
REM Requirements:
|
REM Requirements:
|
||||||
REM - Permissions
|
REM - Permissions
|
||||||
|
|
||||||
DELAY 1000
|
|
||||||
CTRL-ALT t
|
|
||||||
DELAY 2000
|
|
||||||
|
|
||||||
|
|
||||||
REM #### PERMISSIONS SECTION ####
|
|
||||||
|
|
||||||
|
|
||||||
REM You need to know the sudo password and replace 'example' with this
|
REM You need to know the sudo password and replace 'example' with this
|
||||||
DEFINE SUDO_PASS example
|
DEFINE SUDO_PASS example
|
||||||
|
|
||||||
STRING sudo su
|
|
||||||
ENTER
|
|
||||||
DELAY 1000
|
|
||||||
STRING SUDO_PASS
|
|
||||||
ENTER
|
|
||||||
DELAY 1000
|
|
||||||
|
|
||||||
|
|
||||||
REM #### MAC SECTION ####
|
|
||||||
|
|
||||||
|
|
||||||
REM net-tools command
|
|
||||||
STRING apt install net-tools
|
|
||||||
ENTER
|
|
||||||
DELAY 2000
|
|
||||||
|
|
||||||
REM Set here your preferred MAC, you can don't change it remaining with the default value
|
REM Set here your preferred MAC, you can don't change it remaining with the default value
|
||||||
DEFINE NEW_MAC FF:FF:FF:FF:FF:FF
|
DEFINE NEW_MAC FF:FF:FF:FF:FF:FF
|
||||||
|
|
||||||
|
DEFAULT_DELAY 500
|
||||||
|
CTRL ALT t
|
||||||
|
DELAY 2000
|
||||||
|
|
||||||
|
REM #### PERMISSIONS SECTION ####
|
||||||
|
STRINGLN sudo su
|
||||||
|
DELAY 1000
|
||||||
|
STRINGLN SUDO_PASS
|
||||||
|
DELAY 1000
|
||||||
|
|
||||||
|
REM #### MAC SECTION ####
|
||||||
|
REM net-tools command
|
||||||
|
STRINGLN apt install net-tools
|
||||||
|
DELAY 2000
|
||||||
|
|
||||||
REM Get the net interface name
|
REM Get the net interface name
|
||||||
STRING INTERFACE=$(ip route get 8.8.8.8 | awk '{print $5}')
|
STRINGLN INTERFACE=$(ip route get 8.8.8.8 | awk '{print $5}')
|
||||||
ENTER
|
STRINGLN ifconfig $INTERFACE down
|
||||||
DELAY 500
|
STRINGLN ifconfig $INTERFACE hw ether NEW_MAC
|
||||||
|
STRINGLN ifconfig $INTERFACE up
|
||||||
STRING ifconfig $INTERFACE down
|
|
||||||
ENTER
|
|
||||||
DELAY 500
|
|
||||||
|
|
||||||
STRING ifconfig $INTERFACE hw ether
|
|
||||||
STRING NEW_MAC
|
|
||||||
ENTER
|
|
||||||
DELAY 500
|
|
||||||
|
|
||||||
STRING ifconfig $INTERFACE up
|
|
||||||
ENTER
|
|
||||||
DELAY 500
|
|
||||||
|
|
||||||
|
|
||||||
REM #### REMOVE TRACES ####
|
REM #### REMOVE TRACES ####
|
||||||
|
|
||||||
|
|
||||||
DELAY 2000
|
DELAY 2000
|
||||||
STRING history -c
|
STRINGLN history -c
|
||||||
ENTER
|
|
||||||
|
|
||||||
REM Close shell
|
REM Close shell
|
||||||
STRING exit
|
STRINGLN exit
|
||||||
ENTER
|
|
||||||
|
|
Loading…
Reference in New Issue