Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gorums authored Mar 13, 2021
1 parent c181de8 commit 1680ea7
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Dnsx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ echo {{domain}} | ./dnsx -silent -a -resp
## Dnsx Command for Docker

```
echo {{domain}} | dnsx -silent -a -resp
echo '{{domain}}' | /root/go/bin/dnsx -silent -a -resp
```

## Dnsx Script
Expand All @@ -23,12 +23,11 @@ Check [Script file](https://github.com/reconness/reconness-agents/blob/master/Dn
# To allow run dnsx inside the docker
RUN apt-get update && apt-get install -y git wget
RUN wget https://dl.google.com/go/go1.14.6.linux-amd64.tar.gz
RUN tar -C /usr/local -xzf go1.14.6.linux-amd64.tar.gz
RUN wget https://github.com/projectdiscovery/dnsx/releases/download/v1.0.1/dnsx_1.0.1_linux_amd64.tar.gz
RUN tar -xzvf dnsx_1.0.1_linux_amd64.tar.gz
RUN mv dnsx /usr/local/bin/
RUN wget https://golang.org/dl/go1.16.linux-amd64.tar.gz
RUN tar -C /usr/local -xzf go1.16.linux-amd64.tar.gz
RUN export GOPATH=$HOME/go
RUN export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
RUN GO111MODULE=on /usr/local/go/bin/go get -v github.com/projectdiscovery/dnsx/cmd/dnsx
# -------- End Agents dependencies --------
```

0 comments on commit 1680ea7

Please sign in to comment.