Last active
March 2, 2019 23:01
-
-
Save merces/6efa466a60c67451f028f5d4f24f9404 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
clear | |
while true; do | |
read -p 'C:\>' cmd | |
case $cmd in | |
ver) | |
echo -e "\nMS-DOS Version 6.22\n\n" ;; | |
dir) | |
echo \ | |
' | |
Volume in drive C is MS-DOS_6 | |
Volume Serial Number is 4A7F-8E5C | |
Directory of C:\ | |
DOS <DIR> 04-01-17 5:50p | |
COMMAND COM 54,645 04-01-94 6:22a | |
WINA20 386 9,349 04-01-94 6:22a | |
CONFIG SYS 71 04-01-17 5:51p | |
AUTOEXEC BAT 78 04-01-17 5:51p | |
FOOLBOOK COM 666 04-01-17 5:51p | |
6 file(s) 64,803 bytes | |
517,013,405 bytes free | |
' | |
;; | |
cls) | |
clear ;; | |
foolbook) | |
echo \ | |
'***************************************** | |
* FOOLBOOK v1.2 for DOS * | |
* by Mozó l33t0 * | |
***************************************** | |
' | |
read -p 'Insira o FB ID: ' id | |
echo -n "Obtendo a senha para o $id" | |
for i in {1..3}; do | |
sleep 1 | |
echo -n . | |
done | |
echo | |
test $(($RANDOM % 2)) -eq 0 \ | |
&& echo "ERRO: O ID $id está bloqueado contra este ataque" \ | |
|| echo 'SUCESSO: Senha é hu3bolarato' | |
;; | |
'') | |
continue ;; | |
*) | |
echo -e "Bad command or file name\n" ;; | |
esac | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ainda bem que sei shellscript
Caio nessa não