mirror of
https://github.com/UberGuidoZ/Flipper.git
synced 2026-09-18 16:31:30 +00:00
Added emptythevoid's BadUSB collection
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
REM enable the OOBE bypass to allow local account on windows 11
|
||||
REM This file will enable the bypass and reboot the computer
|
||||
|
||||
SHIFT F10
|
||||
DELAY 1000
|
||||
HOLD ALT
|
||||
DELAY 1000
|
||||
HOLD TAB
|
||||
DELAY 500
|
||||
RIGHT
|
||||
DELAY 200
|
||||
RELEASE TAB
|
||||
DELAY 500
|
||||
RELEASE ALT
|
||||
DELAY 1000
|
||||
SHIFT F10
|
||||
DELAY 1000
|
||||
HOLD ALT
|
||||
DELAY 1000
|
||||
HOLD TAB
|
||||
DELAY 500
|
||||
RIGHT
|
||||
DELAY 200
|
||||
RELEASE TAB
|
||||
DELAY 500
|
||||
RELEASE ALT
|
||||
DELAY 1000
|
||||
STRING OOBE\BYPASSNRO
|
||||
DELAY 1000
|
||||
ENTER
|
||||
@@ -0,0 +1,33 @@
|
||||
REM enable the OOBE bypass to allow local account on windows 11
|
||||
REM This is an optional second step, that will release DHCP addresses.
|
||||
REM Use this after the computer has rebooted from part 1
|
||||
|
||||
SHIFT F10
|
||||
DELAY 1000
|
||||
HOLD ALT
|
||||
DELAY 1000
|
||||
HOLD TAB
|
||||
DELAY 500
|
||||
RIGHT
|
||||
DELAY 200
|
||||
RELEASE TAB
|
||||
DELAY 500
|
||||
RELEASE ALT
|
||||
DELAY 1000
|
||||
SHIFT F10
|
||||
DELAY 1000
|
||||
HOLD ALT
|
||||
DELAY 1000
|
||||
HOLD TAB
|
||||
DELAY 500
|
||||
RIGHT
|
||||
DELAY 200
|
||||
RELEASE TAB
|
||||
DELAY 500
|
||||
RELEASE ALT
|
||||
DELAY 1000
|
||||
STRING ipconfig /release
|
||||
ENTER
|
||||
DELAY 5000
|
||||
STRING EXIT
|
||||
ENTER
|
||||
@@ -0,0 +1,25 @@
|
||||
Windows 11 installer helpers. You must use these with a fresh Windows 11 ISO installer on a USB boot drive.
|
||||
|
||||
These will likely fail to work as expected when the computer is set up with an OEM install.
|
||||
|
||||
These come in two parts:
|
||||
|
||||
Part 1- Handles the initial setup of wiping out any existing partitions, setting up the disk, and installing Windows. No customization is needed here.
|
||||
|
||||
Part 2- Handles the "setup" after install. You need to modify a few things for your setup:
|
||||
|
||||
youruser
|
||||
|
||||
yourpassword
|
||||
|
||||
security 1
|
||||
|
||||
security 2
|
||||
|
||||
security 3
|
||||
|
||||
It is highly recommended NOT to have your computer connected to Ethernet when you perform the installation, otherwise it will perform updates and try to make you use a Microsoft account.
|
||||
|
||||
If, however, Ethernet is plugged in, Part 2 will release the DHCP IP address before setup. Once the setup is complete, Flipper will PAUSE and wait for a button press. Perform this after the computer is safely at the desktop. This will renew the IP configuration.
|
||||
|
||||
The OOBE bypass scripts are likely not needed and obsolete.
|
||||
@@ -0,0 +1,84 @@
|
||||
REM Handle first phase of Windows 11 installation, 22H2, 23H2
|
||||
|
||||
REM Author: emptythevoid
|
||||
|
||||
REM Next
|
||||
ALT y
|
||||
|
||||
DELAY 100
|
||||
|
||||
REM Install Now
|
||||
ENTER
|
||||
|
||||
DELAY 20000
|
||||
|
||||
REM License
|
||||
SPACE
|
||||
|
||||
ALT n
|
||||
DELAY 2000
|
||||
|
||||
REM Type of Installation - Custom
|
||||
|
||||
ALT c
|
||||
DELAY 1000
|
||||
|
||||
REM Delete any and all partitions
|
||||
REM should be able to simply repeate this over and over after the fisrt one
|
||||
REM as soon as all are gone, the command will trigger the Next button
|
||||
REM and begin installation
|
||||
|
||||
ALT d
|
||||
DELAY 200
|
||||
TAB
|
||||
ENTER
|
||||
DELAY 2000
|
||||
|
||||
REM repeat the blocks below for however many partitions you think you'll need to remove
|
||||
|
||||
DOWN
|
||||
ALT d
|
||||
DELAY 200
|
||||
TAB
|
||||
ENTER
|
||||
DELAY 2000
|
||||
|
||||
DOWN
|
||||
ALT d
|
||||
DELAY 200
|
||||
TAB
|
||||
ENTER
|
||||
DELAY 200
|
||||
|
||||
DOWN
|
||||
ALT d
|
||||
DELAY 200
|
||||
TAB
|
||||
ENTER
|
||||
DELAY 2000
|
||||
|
||||
DOWN
|
||||
ALT d
|
||||
DELAY 200
|
||||
TAB
|
||||
ENTER
|
||||
DELAY 2000
|
||||
|
||||
DOWN
|
||||
ALT d
|
||||
DELAY 200
|
||||
TAB
|
||||
ENTER
|
||||
DELAY 2000
|
||||
|
||||
REM one up arrow partition removal, for safety
|
||||
UP
|
||||
ALT d
|
||||
DELAY 200
|
||||
TAB
|
||||
ENTER
|
||||
DELAY 2000
|
||||
|
||||
|
||||
REM Assume that NO partitions exist.
|
||||
ALT n
|
||||
@@ -0,0 +1,171 @@
|
||||
REM Win11 Install part 2 23H2
|
||||
|
||||
REM Author: emptythevoid
|
||||
|
||||
REM If your device uses wifi, don't join it to any network and it should work properly
|
||||
REM This script will release DHCP so that it won't try to check for updates and
|
||||
REM attempt to use a Microsoft account
|
||||
REM The script will pause after privacy settings are entered.
|
||||
REM Wait until you're safely at the Windows desktop and press the OK button to renew DHCP
|
||||
|
||||
REM Release DHCP
|
||||
SHIFT F10
|
||||
DELAY 1000
|
||||
|
||||
REM HOLD ALT
|
||||
REM DELAY 1000
|
||||
REM TAB
|
||||
REM DELAY 100
|
||||
REM TAB
|
||||
REM DELAY 100
|
||||
REM RELEASE ALT
|
||||
|
||||
CTRL-ALT TAB
|
||||
|
||||
DELAY 1000
|
||||
RIGHT ARROW
|
||||
DELAY 100
|
||||
ENTER
|
||||
|
||||
DELAY 1000
|
||||
STRING ipconfig /release
|
||||
ENTER
|
||||
DELAY 5000
|
||||
STRING EXIT
|
||||
ENTER
|
||||
DELAY 500
|
||||
|
||||
CTRL-ALT TAB
|
||||
DELAY 100
|
||||
ENTER
|
||||
DELAY 100
|
||||
|
||||
REM are we still defaulted to Enter->YES ? NO.
|
||||
TAB
|
||||
TAB
|
||||
|
||||
|
||||
REM Country or Region
|
||||
ENTER
|
||||
DELAY 5000
|
||||
|
||||
REM Keyboard layout
|
||||
ENTER
|
||||
DELAY 5000
|
||||
|
||||
REM Skip second keyboard layout
|
||||
ENTER
|
||||
DELAY 5000
|
||||
|
||||
REM Connect to Wifi - Choose I don't have Internet
|
||||
SHIFT TAB
|
||||
SPACE
|
||||
DELAY 5000
|
||||
|
||||
REM Continue with limited setup
|
||||
SHIFT TAB
|
||||
SPACE
|
||||
DELAY 5000
|
||||
|
||||
REM who is going to use this device
|
||||
STRING <yourusername>
|
||||
ENTER
|
||||
DELAY 500
|
||||
|
||||
REM Password
|
||||
STRING <your password>
|
||||
ENTER
|
||||
DELAY 500
|
||||
STRING <your password>
|
||||
ENTER
|
||||
DELAY 500
|
||||
|
||||
REM Security Questions
|
||||
DOWN
|
||||
TAB
|
||||
STRING <security 1>
|
||||
ENTER
|
||||
DELAY 200
|
||||
DOWN
|
||||
TAB
|
||||
STRING <security 2>
|
||||
ENTER
|
||||
DELAY 200
|
||||
DOWN
|
||||
TAB
|
||||
STRING <security 3>
|
||||
ENTER
|
||||
DELAY 5000
|
||||
|
||||
REM Choose privacy settings
|
||||
REM CANNOT tab forward, because it may break depending on if there is a sound icon or not
|
||||
REM use SHIFT TAB to back up to the top
|
||||
REM how many times? 7
|
||||
|
||||
SHIFT TAB
|
||||
DELAY 100
|
||||
SHIFT TAB
|
||||
DELAY 100
|
||||
SHIFT TAB
|
||||
DELAY 100
|
||||
SHIFT TAB
|
||||
DELAY 100
|
||||
SHIFT TAB
|
||||
DELAY 100
|
||||
SHIFT TAB
|
||||
DELAY 100
|
||||
SHIFT TAB
|
||||
DELAY 100
|
||||
|
||||
REM TAB
|
||||
REM DELAY 1000
|
||||
REM TAB
|
||||
REM DELAY 1000
|
||||
|
||||
SPACE
|
||||
|
||||
DELAY 1000
|
||||
TAB
|
||||
SPACE
|
||||
|
||||
DELAY 1000
|
||||
TAB
|
||||
SPACE
|
||||
|
||||
DELAY 1000
|
||||
TAB
|
||||
SPACE
|
||||
|
||||
DELAY 1000
|
||||
TAB
|
||||
SPACE
|
||||
|
||||
DELAY 1000
|
||||
TAB
|
||||
SPACE
|
||||
|
||||
DELAY 1000
|
||||
TAB
|
||||
DELAY 100
|
||||
TAB
|
||||
DELAY 1000
|
||||
ENTER
|
||||
|
||||
REM Wait for button press to re-enable DHCP
|
||||
REM This should be run when we're at the windows Desktop
|
||||
WAIT_FOR_BUTTON_PRESS
|
||||
GUI r
|
||||
DELAY 200
|
||||
STRING cmd
|
||||
DELAY 100
|
||||
ENTER
|
||||
DELAY 1000
|
||||
STRING ipconfig /renew
|
||||
DELAY 100
|
||||
ENTER
|
||||
|
||||
REM Wait 10 seconds for DHCP to renew before attempting to close terminal
|
||||
DELAY 10000
|
||||
STRING exit
|
||||
DELAY 100
|
||||
ENTER
|
||||
Reference in New Issue
Block a user