fixing old sliver stuff

This commit is contained in:
n0mad1k
2025-04-22 22:17:45 -04:00
parent 9a213420f6
commit 100982f784
6 changed files with 102 additions and 121 deletions
+1 -1
View File
@@ -42,7 +42,7 @@
- name: Update shell handler configuration with randomized port
replace:
path: "/opt/shell-handler/persistent-listener.sh"
path: "/root/Tools/shell-handler/persistent-listener.sh"
regexp: "LISTEN_PORT=.*"
replace: "LISTEN_PORT={{ randomized_shell_handler_port | default(shell_handler_port) }}"
when: randomize_ports | default(true) | bool and port_config_result.rc == 0