Path: blob/master/payloads/examples/Randomization/Randomization-example1.txt
2968 views
REM Example Random Keys1ATTACKMODE HID STORAGE2DELAY 200034BUTTON_DEF5RANDOM_CHARACTER6END_BUTTON78STRINGLN Here are 10 random lowercase letters:9VAR $TIMES = 1010WHILE ($TIMES > 0)11RANDOM_LOWERCASE_LETTER12$TIMES = ($TIMES - 1)13END_WHILE14ENTER15ENTER16STRINGLN Here are 20 random numbers:17VAR $TIMES = 2018WHILE ($TIMES > 0)19RANDOM_NUMBER20$TIMES = ($TIMES - 1)21END_WHILE22ENTER23ENTER24STRINGLN Here are 3 random special characters:25RANDOM_SPECIAL26RANDOM_SPECIAL27RANDOM_SPECIAL28STRINGLN Press the button for a random character:29303132REM This payload will type:33REM 10 random lowercase letters, per the while loop.34REM 20 random numbers, per the while loop.35REM 3 random special characters.36REM The payload will then instruct the user to press the button.37REM On each press of the button, the BUTTON_DEF will execute.38REM This special functions contains the RANDOM_CHARACTER command, and thus a random character will be typed.3940