This commit is contained in:
Samuel Jonathan 2022-10-04 15:25:07 +05:30
parent bc9ad4b94f
commit 94732a8281

View File

@ -6,12 +6,16 @@ Download the script on your local machine and use as follows.
## Usage ## Usage
- Single host - scans a single IP address - Single host - scans a single IP address
`./scanner.py <IP address> <start port> <end port>` ```python
./scanner.py <IP address> <start port> <end port>
```
_Example:`./scanner.py 192.168.0.17 1 65535`_ _Example:`./scanner.py 192.168.0.17 1 65535`_
- Network scan - scans a range of IP addresses - Network scan - scans a range of IP addresses
`./scanner.py <network> <start port> <end port> -n` ```python
./scanner.py <network> <start port> <end port> -n
```
_Example:`./scanner.py 192.168.0 1 65535 -n`_ _Example:`./scanner.py 192.168.0 1 65535 -n`_