Skip to content

Censys API Integration

xer0dayz edited this page Jan 4, 2021 · 3 revisions

To integrate Censys sub-domain retrieval into Sn1per, edit your /root/.sniper_api_keys.conf file and enter the appropriate values for the following:

# API KEYS
CENSYS_APP_ID=""
CENSYS_API_SECRET=""

These can be found by logging into Censys and viewing the ID and Secret from your profile settings.

Next, set the CENSYS_SUBDOMAINS="1" setting in your /root/.sniper.conf file prior to running a scan.

Note: This only works under "recon" mode scans (ie. -re switch).

Example Usage:

sniper -t example.com -re -w example.com