mirror of https://github.com/hak5/omg-payloads.git
Update payload.txt
parent
a26145030a
commit
c764fdec53
|
@ -11,62 +11,35 @@ REM ###########################################
|
|||
REM Requirements:
|
||||
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
|
||||
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
|
||||
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
|
||||
STRING INTERFACE=$(ip route get 8.8.8.8 | awk '{print $5}')
|
||||
ENTER
|
||||
DELAY 500
|
||||
|
||||
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
|
||||
|
||||
STRINGLN INTERFACE=$(ip route get 8.8.8.8 | awk '{print $5}')
|
||||
STRINGLN ifconfig $INTERFACE down
|
||||
STRINGLN ifconfig $INTERFACE hw ether NEW_MAC
|
||||
STRINGLN ifconfig $INTERFACE up
|
||||
|
||||
REM #### REMOVE TRACES ####
|
||||
|
||||
|
||||
DELAY 2000
|
||||
STRING history -c
|
||||
ENTER
|
||||
|
||||
STRINGLN history -c
|
||||
REM Close shell
|
||||
STRING exit
|
||||
ENTER
|
||||
STRINGLN exit
|
||||
|
|
Loading…
Reference in New Issue