NetRecon is an asynchronous network scanning tool written in Python that allows for port scanning, network discovery, and basic SMB and NBT enumeration operations. It is built using asyncio for parallel task execution, improving performance and efficiency.
- Asynchronous Port Scanning: Scans TCP ports on a target IP to check for open ports.
- Service Detection: Provides a placeholder for implementing service detection on open ports.
- Network Discovery: Identifies devices in an IP range using ARP.
- Results Saving: Saves results to a JSON file for further analysis, along with a log file.
- Clone the repository:
git clone https://github.com/razvanwir/NeTRecon.git cd NetRecon
- Install the required packages:
pip install -r requirements.txt
Run the script with the required arguments:
python netrecon.py --target <target_ip> [--ports <ports>]
--target
: Target IP address to scan.--ports
: Comma-separated list of ports to scan (default: 22,80,443).
- NBT Scan: The
nbt_scan
function is a placeholder. Users can implement their own logic using tools likenmblookup
. - SMB Enumeration: The
smb_enum
function is a placeholder. Users can extend this usingsmbclient
or similar tools.
Contributions are welcome! Please open a pull request or submit an issue on GitHub.
This project is licensed under the MIT License - see the LICENSE file for details.