Skip to content

Commit

Permalink
OWTF 0.16 "shady citizen": Added checks before each dictionary instal…
Browse files Browse the repository at this point in the history
…lation
  • Loading branch information
flabbergastedbd committed May 24, 2013
1 parent c87637d commit 2ebc8cd
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 25 deletions.
68 changes: 44 additions & 24 deletions dictionaries/install_dicts.sh
Expand Up @@ -107,37 +107,57 @@ mkdir -p $INSTALL_DIR
done
echo "[*] Done"
else
echo "[*] RAFT dictionaries are already installed, skipping"
echo "WARNING: RAFT dictionaries are already installed, skipping"
fi

# Fetching cms-explorer dicts, update them and copy the updated dicts
WgetInstall "http://cms-explorer.googlecode.com/files/cms-explorer-1.0.tar.bz2" "cms-explorer" "tar.bz2"
mkdir -p $INSTALL_DIR/cms
"$DICTS_DIRECTORY/update_convert_cms_explorer_dicts.sh"
# Instead of deleting, the cms-explorer is copied to tools by the wrapper install script
#echo "[*] Cleaning Up"
#rm -rf cms-explorer
echo "[*] Done"
IsInstalled "$INSTALL_DIR/cms"
if [ $? -eq 0 ]; then # Not installed
# Fetching cms-explorer dicts, update them and copy the updated dicts
WgetInstall "http://cms-explorer.googlecode.com/files/cms-explorer-1.0.tar.bz2" "cms-explorer" "tar.bz2"
mkdir -p $INSTALL_DIR/cms
"$DICTS_DIRECTORY/update_convert_cms_explorer_dicts.sh"
# Instead of deleting, the cms-explorer is copied to tools by the wrapper install script
#echo "[*] Cleaning Up"
#rm -rf cms-explorer
echo "[*] Done"
else
echo "WARNING: CMS dictionaries are already installed, skipping"
fi

cd $INSTALL_DIR

#Fetching svndigger dicts
echo "\n[*] Fetching SVNDigger dictionaries"
WgetInstall "http://www.mavitunasecurity.com/s/research/SVNDigger.zip" "svndigger" "zip"
echo "[*] Done"

# Copying dirbuster dicts
echo "\n[*] Copying Dirbuster dictionaries"
mkdir -p dirbuster
cp -r /usr/share/dirbuster/wordlists/. dirbuster/.
echo "[*] Done"
IsInstalled "svndigger" # Not using $INSTALL_DIR because we did a cd into $INSTALL_DIR
if [ $? -eq 0 ]; then # Not installed
#Fetching svndigger dicts
echo "\n[*] Fetching SVNDigger dictionaries"
WgetInstall "http://www.mavitunasecurity.com/s/research/SVNDigger.zip" "svndigger" "zip"
echo "[*] Done"
else
echo "WARNING: SVNDIGGER dictionaries are already installed, skipping"
fi

IsInstalled "dirbuster"
if [ $? -eq 0 ]; then # Not installed
# Copying dirbuster dicts
echo "\n[*] Copying Dirbuster dictionaries"
mkdir -p dirbuster
cp -r /usr/share/dirbuster/wordlists/. dirbuster/.
echo "[*] Done"
else
echo "WARNING: Dirbuster dictionaries are already installed, skipping"
fi

# Returning to parent directory
cd ..

# Merging svndigger and raft dicts to form hybrid dicts based on case
echo "\n[*] Please wait while dictionaries are merged, this may take a few minutes.."
mkdir -p $INSTALL_DIR/combined
"./dict_merger_svndigger_raft.py"
echo "[*] Done"
IsInstalled "$INSTALL_DIR/combined"
if [ $? -eq 0 ]; then # Not installed
# Merging svndigger and raft dicts to form hybrid dicts based on case
echo "\n[*] Please wait while dictionaries are merged, this may take a few minutes.."
mkdir -p $INSTALL_DIR/combined
"./dict_merger_svndigger_raft.py"
echo "[*] Done"
else
echo "WARNING: Combined dictionaries are already installed, skipping"
fi
)
1 change: 1 addition & 0 deletions readme/CHANGELOG
Expand Up @@ -32,6 +32,7 @@
+ Created the AUTHORS file <=> Assem Chelli (@assem-ch)
+ Added script for patching Tlssled and revised master install script <=> Bharadwaj Machiraju (@tunnelshade)
+ Removed misleading note about argparse since owtf.py now uses this library <=> Abraham Aranguren (@7a_)
+ Added checks before installation of dictionaries and updated date for tlssled patch <=> Bharadwaj Machiraju (@tunnelshade)

24/09/2012 - 0.15 "Brucon" pre-alpha release: Dedicated to Brucon (http://brucon.org), its organisers and attendants
+ Changed name to OWASP OWTF since this is an OWASP project now, thank you OWASP! - https://www.owasp.org/index.php/OWASP_OWTF
Expand Down
2 changes: 1 addition & 1 deletion tools/kali_patch_tlssled.sh
Expand Up @@ -3,7 +3,7 @@
# Description:
# Script to fix a bug in tlssled
#
# Date: 2012-09-24
# Date: 2013-05-23
#
# owtf is an OWASP+PTES-focused try to unite great tools and facilitate pen testing
# Copyright (c) 2011, Abraham Aranguren <name.surname@gmail.com> Twitter: @7a_ http://7-a.org
Expand Down

0 comments on commit 2ebc8cd

Please sign in to comment.