kursatkobya / libfrizz

libfrizz is a computer software project providing a lightweight library and command-line tool for transferring data
GNU General Public License v3.0
0 stars 1 forks source link

port range is not working as expected #60

Closed ozkanpakdil closed 2 years ago

ozkanpakdil commented 2 years ago

Describe the bug "--ports 1000 1199" is not making frizz to scan 1000 to 1199 but it is still scanning MOST_COMMON_TCP_PORTS

To Reproduce Steps to reproduce the behavior: PS D:\Projects\libfrizz> .\target\debug\frizz.exe -s -t 129.151.67.166 --ports 1000 1199

Expected behavior should scan the given range

kursatkobya commented 2 years ago

I think this is resolved now, please re-check.

ozkanpakdil commented 2 years ago

fixed PS D:\Projects\libfrizz> .\target\debug\frizz.exe -s -t 129.151.67.166 --ports 1000 1199 Scanning ports for 129.151.67.166 min-max ports:1000,1199 [00:00:03] [####################################################################################################] 199/199 (100%, 0s) Port Service Protocol Elapsed time to scan ports: 3.34s PS D:\Projects\libfrizz> .\target\debug\frizz.exe -s -t 129.151.67.166 --ports 1000 1000 Scanning ports for 129.151.67.166 min-max ports:1000,1000 [00:00:03] [########################################################################################################] 0/0 (100%, 0s) Port Service Protocol Elapsed time to scan ports: 3.08s PS D:\Projects\libfrizz> .\target\debug\frizz.exe -s -t 129.151.67.166 --ports 1000 1001 Scanning ports for 129.151.67.166 min-max ports:1000,1001 [00:00:03] [########################################################################################################] 1/1 (100%, 0s) Port Service Protocol Elapsed time to scan ports: 3.08s