fixing port conflicts

This commit is contained in:
n0mad1k
2025-05-13 23:01:26 -04:00
parent 938ddb93a1
commit 5fbdab4971
15 changed files with 65 additions and 25 deletions
+2 -1
View File
@@ -4,7 +4,8 @@
# Configuration
PAYLOADS_DIR="/root/Tools/Havoc/payloads"
C2_HOST="{{ ansible_host }}"
LISTEN_PORT=8443
# Use templated variable with fallback - allow override from config
LISTEN_PORT="{{ havoc_payload_port | default(8443) }}"
# Check if manifest file exists (created by generate_havoc_payloads.sh)
if [ -f "$PAYLOADS_DIR/manifest.json" ]; then