This is a very basic tool for using the Offwave scanner
git clone https://github.com/octopuce/offwave-scan ~/tmp/offwave-scan
cd ~/tmp/offwave-scan
git submodule init
git submodule update
cp config.php.sample config.php
find /var/www -maxdepth 3 -mindepth 1 -type d -exec echo "\"{}\"," >> config.php \;
OR
run the generator.sh
script and answer the questions:
- What PATH do you want to scan ? (ex: /var/www/):
- minimum depth for the scan? (ex: 0)
- maximum depth for the scan? (ex: 3)
php scan.php
OR something like that:
php scan.php > offwave-log.txt
And
cat offwave-log.txt |grep -iE "wordpress|joomla|drupal|spip|phpmyadmin|phpbb"
or
cat offwave-log.txt |grep -v ";;;"