mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-07-14 15:57:23 +02:00
Initial open source release
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# dnsmasq
|
||||
docker/dnsmasq/etc/dnsmasq.conf
|
||||
@@ -0,0 +1,3 @@
|
||||
# Docker
|
||||
|
||||
This folder contains various extras for containers such as configuration.
|
||||
@@ -0,0 +1 @@
|
||||
address=/.test/172.20.0.8
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
# Get the IP address of the backend container
|
||||
BACKEND_IP=$(getent hosts backend | awk '{ print $1 }')
|
||||
|
||||
# Update the dnsmasq configuration file
|
||||
echo "address=/.test/$BACKEND_IP" > /etc/dnsmasq.conf
|
||||
echo "BACKEND_IP=$BACKEND_IP"
|
||||
echo "Loaded configuration (/etc/dnsmasq.conf):"
|
||||
cat /etc/dnsmasq.conf
|
||||
# Run dnsmasq in the foreground
|
||||
dnsmasq -k --port=5353
|
||||
Reference in New Issue
Block a user