Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
P
PortScanner
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mohammad.salama
PortScanner
Commits
84b29076
Commit
84b29076
authored
Nov 15, 2023
by
mohammad.salama
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Final
parent
4556b663
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
10 deletions
+37
-10
README.md
README.md
+37
-10
No files found.
README.md
View file @
84b29076
...
...
@@ -4,7 +4,7 @@ Simple port scanner written in Java with parallelization support.
## Usage
`$ java -jar
JavaPortScanner.jar
<IPv4> [PortStart-PortEnd]`
`$ java -jar
PortScanner.jar <IPv4>
<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
...
...
@@ -16,25 +16,52 @@ Simple port scanner written in Java with parallelization support.
### Scanning all possible ports
```
bash
$
java
-jar
JavaPortScanner.jar 127.0.0.1
Scanning 1
27.0.0.
1:1-65535
$
java
-jar
PortScanner.jar 11.11.11.11 13.1.8.15
Scanning 1
1.11.11.1
1:1-65535
2/65535 were open
80: open
443: open
Scanning 11.11.11.12:1-65535
0/65535 were open
.
.
.
.
Scanning 13.1.8.15:1-65535
1/65535 were open
23: open
```
### Scanning certain port(s) only
```
bash
$
java
-jar
JavaPortScanner.jar 127.0.0.1 8
0
Scanning 1
27.0.0.1:8
0
1/1 were open
$
java
-jar
PortScanner.jar 174.135.200.47 200.0.3.1 80-9
0
Scanning 1
74.135.200.47:80-9
0
1/1
1
were open
80: open
Scanning 174.135.200.48:80-90
2/11 were open
65: open
113: open
.
.
.
.
.
Scanning 200.0.3.1:80-90
1/11 were open
25: open
$
java
-jar
JavaPortScanner.jar 127.0.0.1 80-81
Scanning 1
27.0.0.1:80-81
1/
2
were open
$
java
-jar
PortScanner.jar 174.135.200.47 200.0.3.1 80
Scanning 1
74.135.200.47:80-80
1/
1
were open
80: open
.
.
.
.
.
Scanning 200.0.3.1:80-80
0/1 were open
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment