Commit e4565cdd authored by mohammad.salama's avatar mohammad.salama

Modified Read ME

parent 0bb04bc4
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
......@@ -4,8 +4,9 @@ Simple port scanner written in Java with parallelization support.
## Usage
`$ java -jar JavaPortScanner.jar <IPv4> [PortStart-PortEnd]`
`$ 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
- `<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)
......@@ -13,8 +14,11 @@ Simple port scanner written in Java with parallelization support.
## Examples
### Scanning all possible ports
### Scanning all possible ports in The IP range of user input
intput:
two IPv4
<!--
```bash
$ java -jar JavaPortScanner.jar 127.0.0.1
Scanning 127.0.0.1:1-65535
......@@ -22,10 +26,15 @@ 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
......@@ -37,4 +46,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