Commit 4556b663 authored by mohammad.salama's avatar mohammad.salama

Port Scanner with Jar File and Updated READ.ME

parent a6ff3625
https://git.hiast.edu.sy/mohammad.salama/portscanner
\ No newline at end of file
......@@ -4,9 +4,8 @@ Simple port scanner written in Java with parallelization support.
## Usage
`$ java -jar JavaPortScanner.jar <IPv4> <IPv4> [PortStart-PortEnd]`
- It does not work like this so far it needs to be working using jar
- For now it takes input from console and runs
`$ java -jar JavaPortScanner.jar <IPv4> [PortStart-PortEnd]`
- `<IPv4>` is a required parameter that is a valid IPv4 address
- `[PortStart-PortEnd]` is an optional parameter to indicate certain range of ports to scan
- If this is empty, scanner will try to scan all possible ports (can take a long time)
......@@ -14,11 +13,8 @@ Simple port scanner written in Java with parallelization support.
## Examples
### Scanning all possible ports in The IP range of user input
### Scanning all possible ports
intput:
two IPv4
<!--
```bash
$ java -jar JavaPortScanner.jar 127.0.0.1
Scanning 127.0.0.1:1-65535
......@@ -26,15 +22,10 @@ Scanning 127.0.0.1:1-65535
80: open
443: open
``` -->
```
### Scanning certain port(s) only
Input :
Two IPv4
Start Port
End Port
(IPs can be equal indicating only one IP we want same as for Ports)
<!--
```bash
$ java -jar JavaPortScanner.jar 127.0.0.1 80
Scanning 127.0.0.1:80
......@@ -46,4 +37,4 @@ Scanning 127.0.0.1:80-81
1/2 were open
80: open
``` -->
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment