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
e4565cdd
Commit
e4565cdd
authored
Nov 13, 2023
by
mohammad.salama
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified Read ME
parent
0bb04bc4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
6 deletions
+21
-6
vcs.xml
.idea/vcs.xml
+6
-0
README.md
README.md
+15
-6
No files found.
.idea/vcs.xml
0 → 100644
View file @
e4565cdd
<?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
README.md
View file @
e4565cdd
...
...
@@ -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
```
```
-->
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