security_tools/tools/nmap_scanning/README.md

20 lines
393 B
Markdown
Raw Normal View History

# Nmap Go module:
### How to Build it:
```
# setup a go module pointing here:
go mod init git.mcdevitt.tech/bpmcdevitt/security_research/tools/nmap_scanning
# get the nmap library:
go get github.com/Ullaakut/nmap/v2
```
### Create and test a new scan example
```
# create a directory
mkdir basic_scan
cd basic_scan
# create a main.go file in that directory.
go build .
# run it
go run .
```