Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
43 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Portscanner Example Code | ||
|
||
Example code for the port scanner task. | ||
|
||
Different iterations are in branches. | ||
|
||
|
||
## Branches | ||
|
||
- InitialVersion: Base Code from the Site | ||
- Reserved Ports: **Task 2** Scan all the reseved ports (1-1024) | ||
- Banner Grabbing: **Tasks 3 and 4** (as they are linked, the issue in task 3 leads to 4 | ||
|
||
|
||
## Output | ||
|
||
## Task 2 | ||
|
||
Just Reserved Ports code | ||
|
||
``` | ||
dang@danglaptop ~/Coding/PortScanner$ python scanner.py | ||
PORT 21 is Open | ||
PORT 22 is Open | ||
PORT 25 is Open | ||
PORT 80 is Open | ||
``` | ||
|
||
## Task 3 and 4 | ||
|
||
``` | ||
dang@danglaptop ~/Coding/PortScanner$ python scanner.py ✹ ✭BannerGrabbing | ||
Service SMTP Found on port 25 | ||
PORT 25 is Open | ||
Service SSH Found on port 242 | ||
PORT 242 is Open | ||
Service HTTP (Apache) Found on port 443 | ||
PORT 443 is Open | ||
``` | ||
|
||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,3 @@ | ||
# Portscanner Example Code | ||
|
||
Example code for the port scanner task. | ||
|
||
Different iterations are in branches. | ||
|
||
|
||
## Branches | ||
|
||
- InitialVersion: Base Code from the Site | ||
- Reserved Ports: **Task 2** Scan all the reseved ports (1-1024) | ||
- Banner Grabbing: **Tasks 3 and 4** (as they are linked, the issue in task 3 leads to 4 | ||
|
||
|
||
## Output | ||
|
||
## Task 2 | ||
|
||
Just Reserved Ports code | ||
|
||
``` | ||
dang@danglaptop ~/Coding/PortScanner$ python scanner.py | ||
PORT 21 is Open | ||
PORT 22 is Open | ||
PORT 25 is Open | ||
PORT 80 is Open | ||
``` | ||
|
||
## Task 3 and 4 | ||
|
||
``` | ||
dang@danglaptop ~/Coding/PortScanner$ python scanner.py ✹ ✭BannerGrabbing | ||
Service SMTP Found on port 25 | ||
PORT 25 is Open | ||
Service SSH Found on port 242 | ||
PORT 242 is Open | ||
Service HTTP (Apache) Found on port 443 | ||
PORT 443 is Open | ||
``` | ||
|
||
# Solutions for Lab tasks | ||
|
||
Code solutions for lab tasks where coding is involved. |