Skip to content

Instantly share code, notes, and snippets.

@merces
Last active March 2, 2019 23:01
Show Gist options
  • Save merces/6efa466a60c67451f028f5d4f24f9404 to your computer and use it in GitHub Desktop.
Save merces/6efa466a60c67451f028f5d4f24f9404 to your computer and use it in GitHub Desktop.
#!/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
@vi1to
Copy link

vi1to commented Jun 8, 2017

Nao consigo fazer isso me ajuda

@gbtuto
Copy link

gbtuto commented Dec 6, 2017

como se ussa isso ?

Copy link

ghost commented Apr 2, 2018

Ainda bem que sei shellscript
Caio nessa não

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment