Skip to content

Subdomains-enumeration, subdomain-takeover monitoring api and S3 bucket scanner.

Notifications You must be signed in to change notification settings

melbadry9/ScanApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScanApi Python 3.5 linux 64-bit Total alerts Language grade: Python

Subdomains-enumeration, subdomain-takeover monitoring api and S3 bucket scanner.

Installing

  • Linux
git clone https://github.com/melbadry9/ScanApi.git
cd ScanApi
sudo bash install.sh
python3 app.py
  • Docker
docker build -t scanapi:latest .
docker run -d -p 8000:8000 scanapi
  • Update config.ini before building docker image.

  • Add slack hook in config.ini if Slack is Enabled.

  • Commit docker image docker commit <container id> scanapi:latest to avoid losing data from db.

Endpoints

  1. /enum/domain/<domain>/

    • Start subdomain enumeration task in background then update db
    • Domain ex: example.com
  2. /enum/s3/<bucket-name>/

    • Start s3 bucket permissions scanner and update db
    • Bucket-name ex: example-prod
  3. /db/domain/<domain>/

    • Retrieve all subdomains from db if any exist
  4. /db/domain/<domain>/?pro=http

    • Retrieve subdomains with port 80 opened from db if any exist
  5. /db/domain/<domain>/?pro=https

    • Retrieve subdomains with port 443 opened from db if any exist
  6. /db/s3/<bucket-name>/

    • Retrieve s3 bucket scanner data from db if any exist
  7. /scan/domain/<domain>/

    • Start scanning for possible subdomain takeover depending on db
    • Domain ex: example.com

Supported Tools

To-Do list

  • Add directory brute forcing monitoring
  • Add open ports monitoring
  • Add scheduling jobs
  • Add UI

Donation

Coffee

About

Subdomains-enumeration, subdomain-takeover monitoring api and S3 bucket scanner.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published