-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6aea43
commit 4964f28
Showing
4 changed files
with
45 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Attacker | ||
FROM kalilinux/kali-last-release:latest | ||
|
||
ENV DEFAULT_NETWORK=172.17.0.0/16 | ||
|
||
# Install nmap package | ||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
nmap | ||
|
||
# Run the nmap scan against vulnerable nodes | ||
CMD nmap -p0- -v -A -T4 ${DEFAULT_NETWORK} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: dorothea | ||
|
||
services: | ||
pmacct-probe: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile.dorothea | ||
network_mode: "host" | ||
volumes: | ||
- .:/dorothea | ||
|
||
# YOUR ACTIONS: Remove the example service below and add your own | ||
guinea-pig: | ||
image: vulnerables/web-dvwa:latest | ||
network_mode: "bridge" | ||
ports: | ||
- "80:80" | ||
healthcheck: | ||
test: ["CMD-SHELL", "ls /var/log/apache2/other_vhosts_access.log || exit 1"] | ||
interval: 10s | ||
timeout: 5s | ||
retries: 5 | ||
|
||
attacker: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile.kali-port-scan | ||
network_mode: "bridge" | ||
depends_on: | ||
guinea-pig: | ||
condition: service_healthy | ||
|
This file was deleted.
Oops, something went wrong.