Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orlyjamie/asnrecon
ASN reconnaissance script
https://github.com/orlyjamie/asnrecon
asn bugbounty enumeration reconnaissance redteam security
Last synced: 28 days ago
JSON representation
ASN reconnaissance script
- Host: GitHub
- URL: https://github.com/orlyjamie/asnrecon
- Owner: orlyjamie
- License: apache-2.0
- Created: 2019-05-01T00:45:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-25T22:38:38.000Z (11 months ago)
- Last Synced: 2024-11-06T03:42:57.457Z (about 1 month ago)
- Topics: asn, bugbounty, enumeration, reconnaissance, redteam, security
- Language: Python
- Size: 336 KB
- Stars: 124
- Watchers: 3
- Forks: 33
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - orlyjamie/asnrecon - ASN reconnaissance script (Python)
README
# ASNRECON
[![License: Apache](https://img.shields.io/github/license/orlyjamie/asnrecon)](https://img.shields.io/github/license/orlyjamie/asnrecon)A tool to perform reconaissance using autonomous system number (ASN) lookups combined with SSL cert scanning 📡
![](https://raw.githubusercontent.com/orlyjamie/asnrecon/master/screen.png)
## Usage
```
usage: python asnrecon.pySelect an option:
[1] Full ASN scan
[2] Specific IPv4 range scan
```- Full ASN scan
Using this option, the script will take a single domain/hostname which it will then perform a lookup against the local ASN database and select a list of IP ranges associated with that ASN.
`Note:` The script can take an input file `main.config` which can be used to prevent scanning specific IP ranges. IP addresses to be avoided should be supplied in a comma delimited format.
- Specific IPv4 range scan
This option accepts an IP address range `0.0.0.0/0` and attempt to perform SSL connections while printing any identified certs
## Installation
1. `pip install -r requirements.txt`
2. `wget https://raw.githubusercontent.com/hadiasghari/pyasn/master/pyasn-utils/pyasn_util_download.py`
3. `wget https://raw.githubusercontent.com/hadiasghari/pyasn/master/pyasn-utils/pyasn_util_convert.py`
4. `python pyasn_util_download.py --latest`
5. `python pyasn_util_convert.py --single RIBFILE rib.dat`
Alternatively just run the installer (installer.sh)
`sh install.sh`