mirror of
https://github.com/fenix-soft/unlock-archiver.git
synced 2024-12-26 07:42:28 +01:00
Add files via upload
This commit is contained in:
parent
c24bdff2dc
commit
09d85f55de
20
unlock-zip.sh
Normal file
20
unlock-zip.sh
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# unlock archive zip without password, the script use the dictionary attack (use file dic-pass.txt), the script find all zip file in the directory to run and check it all, and if possible extract the archive file.#
|
||||||
|
#Copyright (c) 2014 fenix-soft
|
||||||
|
|
||||||
|
|
||||||
|
checkpass() {
|
||||||
|
for i in `cat dic-pass.txt`
|
||||||
|
do a="`7za x -y -p$i $j | grep 'Everything is Ok'`"
|
||||||
|
if [ "$a" = "Everything is Ok" ]
|
||||||
|
then echo; echo; echo "file: $j pass trovata: $i"; echo ; echo "ho estratto i file...con sucesso."; echo
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
done }
|
||||||
|
|
||||||
|
for j in `ls *.zip`
|
||||||
|
do echo; echo; echo "archivio $j"
|
||||||
|
|
||||||
|
checkpass; done
|
||||||
|
|
18
unlock_rar.sh
Normal file
18
unlock_rar.sh
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# unlock archive rar without password, the script use the dictionary attack (use file dic-pass.txt), the script find all rar file in the directory to run and check it all, and if possible extract the archive file.
|
||||||
|
#Copyright (c) 2014 fenix-soft
|
||||||
|
|
||||||
|
checkpass() {
|
||||||
|
for i in `cat dic-pass.txt`
|
||||||
|
do a="`unrar x -p$i $j | grep 'All OK'`"
|
||||||
|
if [ "$a" = "All OK" ]
|
||||||
|
then echo
|
||||||
|
clear
|
||||||
|
echo "file: $j pass trovata: $i"; echo ; echo "ho estratto i file...con sucesso."; echo
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
done }
|
||||||
|
|
||||||
|
for j in `ls *.rar`; do echo; echo; echo "archivio $j"
|
||||||
|
checkpass; done
|
3
version.txt
Normal file
3
version.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Unlock archiver V:2.0
|
||||||
|
|
||||||
|
dic-pass.txt V:2.0
|
Loading…
Reference in New Issue
Block a user