Skip to content

Commit

Permalink
Fix some typos in Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
elivlo committed Apr 13, 2023
1 parent e947b01 commit 612f421
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func main() {
// Equivalent to `/usr/local/bin/nmap -p 80,443,843 google.com facebook.com youtube.com`,
// with a 5-minute timeout.
scanner, err := nmap.NewScanner(
ctx,
ctx,
nmap.WithTargets("google.com", "facebook.com", "youtube.com"),
nmap.WithPorts("80,443,843"),
)
Expand All @@ -81,7 +81,7 @@ func main() {
var warnings []string
err = scanner.Run(&result, &warnings)
if len(warnings) > 0 {
log.Printf("run finished with warnings: %s\n", warnings) // Warnings are non critical errors from nmap.
log.Printf("run finished with warnings: %s\n", warnings) // Warnings are non-critical errors from nmap.
}
if err != nil {
log.Fatalf("unable to run nmap scan: %v", err)
Expand Down

0 comments on commit 612f421

Please sign in to comment.