File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,23 @@ sudo find /usr/share/ -name ORIG_HEAD -size -1b -delete
21
21
# Fix: sherlock no such file
22
22
sudo sed -i ' s/\/usr\/share\/sherlock\/sherlock\.py/\/usr\/share\/sherlock\/sherlock\/sherlock.py/' /usr/bin/sherlock
23
23
24
+ # Fix: stego-toolkit and exifscan
25
+ clean_dir () {
26
+ if [ -d " ${1} " ]; then
27
+ if [ " $( wc -c < " ${1} " /README.md) " -lt 1 ]; then
28
+ echo README.md is zero byte size fixing..
29
+ # Regular update process should clone when it sees no dir
30
+ sudo rm -rf " ${1} "
31
+ fi
32
+ fi
33
+ }
34
+
35
+ STEGO_DIR=/usr/share/stego-toolkit
36
+ EXIFSCAN_DIR=/usr/share/exifscan
37
+
38
+ clean_dir " ${STEGO_DIR} "
39
+ clean_dir " ${EXIFSCAN_DIR} "
40
+
24
41
# ################
25
42
26
43
tput setaf 5; echo " [+] Replace Kali Firefox Bookmarks..."
You can’t perform that action at this time.
0 commit comments