Update payload.txt

pull/142/head
Kalani Helekunihi 2023-06-12 15:03:01 -04:00 committed by GitHub
parent a26145030a
commit c764fdec53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 48 deletions

View File

@ -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