File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -94,16 +94,18 @@ cat wordlist | ./phantom_decryptor.bin -h phantom.txt
9494
9595### Compile from source:
9696- This assumes you have Go and Git installed
97- - ` git clone https://github.com/cyclone-github/phantom_pwn.git `
97+ - ` git clone https://github.com/cyclone-github/phantom_pwn.git ` # clone repo
9898 - phantom_extractor
99- - ` cd phantom_pwn/phantom_extractor `
100- - ` go mod init phantom_extractor `
101- - ` go mod tidy `
102- - ` go build -ldflags="-s -w" . `
99+ - ` cd phantom_pwn/phantom_extractor ` # enter project directory
100+ - ` go mod init phantom_extractor ` # initialize Go module (skips if go.mod exists)
101+ - ` go mod tidy ` # download dependencies
102+ - ` go build -ldflags="-s -w" . ` # compile binary in current directory
103+ - ` go install -ldflags="-s -w" . ` # compile binary and install to $GOPATH
103104 - phantom_decryptor
104- - ` cd phantom_pwn/phantom_decryptor `
105- - ` go mod init phantom_decryptor `
106- - ` go mod tidy `
107- - ` go build -ldflags="-s -w" . `
105+ - ` cd phantom_pwn/phantom_decryptor ` # enter project directory
106+ - ` go mod init phantom_decryptor ` # initialize Go module (skips if go.mod exists)
107+ - ` go mod tidy ` # download dependencies
108+ - ` go build -ldflags="-s -w" . ` # compile binary in current directory
109+ - ` go install -ldflags="-s -w" . ` # compile binary and install to $GOPATH
108110- Compile from source code how-to:
109111 - https://github.com/cyclone-github/scripts/blob/main/intro_to_go.txt
You can’t perform that action at this time.
0 commit comments