Skip to content

Latest commit

 

History

History
43 lines (38 loc) · 1.05 KB

README.md

File metadata and controls

43 lines (38 loc) · 1.05 KB

extract-web-domains

Tool to extract domains/IP's from files with validation for the data e.g. valid TLD, valid IPv4/IPv6

gb

The project uses gb for building the project. gb allows for reproducible builds and vendoring so that all dependencies are kept with the project source.

To install gb, create a temporary directory and set the GOPATH environment variable to the new temporary directory.

$ export GOPATH=/home/bsmith/tempgb

Then download the source code for gb

go get github.com/constabulary/gb/...

Navigate to the gb sub-directory:

cd  /home/bsmith/tempgb/src/github.com/constabulary/gb

Build the project

go build

Copy the binaries to the local path

cp ../../../bin/* /usr/local/bin

The gb command maybe aliased with git, so check with:

alias gb

If the alias exists then you can unaliase by:

unalias gb

Compile with gb

To compile the application use the following commands (assuming the same directory structure):

$ cd extract-web-domains
$ gb build all