Skip to content

Scanner-OpenPorts

Latest
Compare
Choose a tag to compare
@kreipikc kreipikc released this 12 Nov 00:08

What kind of project is this?

This is a simple port scanner on golang.

How usage?

To run the program in cmd - ScannerPort.exe

You can also configure settings such as:

  • address - specify the address you need, required field or specify a document (accepts string),
  • first_port - specify which port the scan will start from, default: 1 (accepts int),
  • last_port - specify the port to which the scan will take place, default: 1024 (accpet int),
  • max_buffer - here, specify the number for the goroutine buffer, change it if you understand why, default: 100 (accept int).
  • save_format - if you want to save the result, then add it in what format, default: none (accepts json, txt),
  • document - if you need to scan several addresses from a txt file (addresses should be in the column line by line), then specify the path to it, required field or specify a address (accept string).

!!!Use only address or only document!!!

Launch example for 1 address (for Windows):

ScannerPort.exe --address scanme.nmap.org --first_port 1 --last_port 1024 --max_buffer 100 --save_format json

Launch example for document with address (for Windows):

ScannerPort.exe --document file.txt --first_port 1 --last_port 1024 --max_buffer 100 --save_format json