From fd2c950b59353758bcd54590c74c6079b110a413 Mon Sep 17 00:00:00 2001 From: George Fotopoulos Date: Tue, 14 Nov 2023 10:16:52 +0200 Subject: [PATCH] Update README.md --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4714441..9b6aef6 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Port Scanner written in C++20 -``` +```bash Allowed options: --help display help message --host arg (=127.0.0.1) set host @@ -11,6 +11,29 @@ Allowed options: --show arg (=all) display only 'open', 'closed', or 'all' ports ``` +## Example + +```bash +./PortScanner --host uoc.gr --show open +Port 22 is open. +Port 53 is open. +Port 111 is open. +Port 389 is open. +Port 409 is open. +Port 656 is open. +Port 636 is open. +Port 2000 is open. +Port 3998 is open. +Port 3999 is open. +Port 5060 is open. +Port 21162 is open. +Port 21163 is open. +Port 41314 is open. +Port 43917 is open. +Port 47603 is open. +Port 52116 is open. +``` + ## How to Build using CMake ```bash