This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "log" | |
| "net" | |
| "os" | |
| "strings" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # create req.json file | |
| # for automating make the multiple as response json array | |
| # change the url at last / change the method at last | |
| function Test-Api { | |
| param( | |
| [string]$Uri, | |
| [string]$method, | |
| [string]$body | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 777 Brockton Avenue, Abington MA 2351 | |
| 30 Memorial Drive, Avon MA 2322 | |
| 250 Hartford Avenue, Bellingham MA 2019 | |
| 700 Oak Street, Brockton MA 2301 | |
| 66-4 Parkhurst Rd, Chelmsford MA 1824 | |
| 591 Memorial Dr, Chicopee MA 1020 | |
| 55 Brooksby Village Way, Danvers MA 1923 | |
| 137 Teaticket Hwy, East Falmouth MA 2536 | |
| 42 Fairhaven Commons Way, Fairhaven MA 2719 | |
| 374 William S Canning Blvd, Fall River MA 2721 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "net" | |
| "sync" | |
| "time" | |
| ) | |
| func scanPort(host string, port int, wg *sync.WaitGroup) { |