Created
July 7, 2018 22:11
-
-
Save secfb/347d9e64a930d254816d02b174beae2e to your computer and use it in GitHub Desktop.
Matryoshka CTF
This file contains hidden or 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 | |
LIMIT=500 #number of cycles | |
for ((i=1; i <= LIMIT ; i++)) do | |
find . -name '*.rar' -exec unrar e {} \; -exec rm {} \; #rar file | |
#find . -name '*.7z' -exec 7za e {} \; -exec rm {} \; # 7z file | |
#find . -name '*.zip' -exec unzip {} \; -exec rm {} \; #zip file | |
done | |
#recursive file rar,zip,7z you can open the files with this script. | |
#Матрёшка,Matryoshka CTF | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment