Skip to content

wellenc-lex/scaner

Repository files navigation

Project created for automating the scanning process ( Amass+Aquatone+FFUF+Nmap ) in easy to view and use mode.

Screenshots:

Alt text

Alt text

Alt text

Alt text

Alt text

Enjoy.

How to install:

  1. Install docker on your machine.

  2. git clone https://github.com/wellenc-lex/scaner/

  3. cd scaner

  4. Rename ./docker/docker-compose.yml.example into docker-compose.yml

  5. Move env.example at ./app/.env

  6. Insert your API keys into the ./docker/conf/configs/amass/amass1.ini.example and rename it into amass1.ini

  7. Change your secret in the ./docker/crontab.txt.example (same as in the ./app/.env) and rename it into crontab.txt

Done. Start the site up:

  1. CD into the docker directory and run:

WINDOWS USERS SHOULD SET THAT VARIABLE before running the docker-compose file: set COMPOSE_CONVERT_WINDOWS_PATHS=1 Initial powershell startup command: not recommended - poor performance!

(set COMPOSE_CONVERT_WINDOWS_PATHS=1) ; (docker-compose --project-name docker --compatibility -f docker-compose.yml.windows up -d --no-deps --build --remove-orphans) ; (docker cp env.example docker_app_1:/var/www/app/.env) ; (docker cp docker/conf/configs/ docker_app_1:/) ; (docker exec docker_app_1 chmod -R 777 /configs) ; (docker exec docker_app_1 chmod -R 777 /dockerresults) ; (docker exec docker_app_1 chmod -R 777 /ffuf) ; (docker exec docker_app_1 chmod -R 777 /jsa) ; (docker exec docker_app_1 chmod -R 777 /httpxresponses) ; (docker exec docker_app_1 chmod -R 777 /screenshots) ; (docker exec docker_app_1 chmod -R 777 /nmap) ; (docker exec docker_app_1 chmod -R 777 /nuclei) ; (docker exec assetdb_postgres psql postgres://postgres:[email protected]:5432 -c "CREATE DATABASE assetdb;") ; (docker exec assetdb_postgres psql postgres://postgres:[email protected]:5432 -c "ALTER DATABASE assetdb SET TIMEZONE to 'UTC'; CREATE EXTENSION IF NOT EXISTS pg_trgm SCHEMA public;")

Linux:

cd PROJECTDIR/DOCKER/ && docker-compose --project-name docker --compatibility -f docker-compose.yml up -d --no-deps --build --remove-orphans && docker cp env.example docker_app_1:/var/www/app/.env && docker cp conf/configs/ docker_app_1:/ && docker exec docker_app_1 chmod -R 777 /configs && docker exec docker_app_1 chmod -R 777 /dockerresults && docker exec docker_app_1 chmod -R 777 /ffuf && docker exec docker_app_1 chmod -R 777 /jsa && docker exec docker_app_1 chmod -R 777 /httpxresponses && docker exec docker_app_1 chmod -R 777 /screenshots && docker exec docker_app_1 chmod -R 777 /nuclei && docker exec docker_app_1 /bin/bash -c "cd /configs/nuclei-templates/ && git fetch origin main && git reset --hard origin/main && git clean -df"

Later you can start your project with docker-compose -f PROJECTDIR/DOCKER/docker-compose.yml up -d

Site will be avaliable at http://localhost and nginx creds are nginx:Admin, default site credentials are [email protected]:admin and phpmyadmin is here: https://scaner.local/phpmyadmin/

Special thanks to these tools developers: https://github.com/OWASP/Amass https://github.com/ffuf/ffuf https://github.com/instrumentisto/nmap-docker-image/projects https://github.com/michenriksen/aquatone https://github.com/Bo0oM/ and his fuzz.txt https://github.com/honze-net/nmap-bootstrap-xsl Nmap and Yii Framework's developers.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •