Skip to content

Commit

Permalink
Dockerize FGDS :D
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekKras committed Aug 9, 2022
1 parent 3aac9e6 commit 7a06c99
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM kalilinux/kali-rolling
RUN apt update -y && apt -y install curl
COPY . .
RUN chmod 755 ./FGDS.sh
ENTRYPOINT ["./FGDS.sh"]
4 changes: 2 additions & 2 deletions FGDS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

# Variables
## General
version="0.035" ## Version Year.Day
updatedate="May 18,2020" ## The date of the last update
version="0.036" ## Version Year.Day
updatedate="Aug 9,2022" ## The date of the last update
example_domain="megacorp.one" ## Example domain
sleeptime=6 ## Delay between queries, in seconds
domain=$1 ## Get the domain
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ or
bash ./FGDS.sh megacorp.one
```

This will work beatifully on Kali but an ultimately universal way is through Docker. Just run

```
docker build -t FOO .
```

and then run it with your argument for the URL such as this:

```
docker run -it --rm FOO mysite.com
```

An original article:
--------------------
Expand Down

0 comments on commit 7a06c99

Please sign in to comment.