chisel
This commit is contained in:
@@ -135,18 +135,16 @@ chisel_config_name: chisel-server
|
|||||||
chisel_server_host: 163.172.84.28
|
chisel_server_host: 163.172.84.28
|
||||||
chisel_server_port: 8080
|
chisel_server_port: 8080
|
||||||
chisel_proxychains_conf:
|
chisel_proxychains_conf:
|
||||||
# chisel enable socks5
|
# chisel enable socks5, reverse and basic auth
|
||||||
- path: "/etc/chisel/{{ chisel_config_name }}"
|
- path: "/etc/chisel/{{ chisel_config_name }}.conf"
|
||||||
regexp: "^SOCK5=--socks5"
|
regexp: "^SOCK5=--socks5"
|
||||||
state: present
|
state: present
|
||||||
line: "SOCK5=--socks5"
|
line: "SOCK5=--socks5"
|
||||||
# chisel enable reverse
|
- path: "/etc/chisel/{{ chisel_config_name }}.conf"
|
||||||
- path: "/etc/chisel/{{ chisel_config_name }}"
|
|
||||||
regexp: "^PID=--reverse"
|
regexp: "^PID=--reverse"
|
||||||
state: present
|
state: present
|
||||||
line: "PID=--reverse"
|
line: "PID=--reverse"
|
||||||
# chisel set up basic auth
|
- path: "/etc/chisel/{{ chisel_config_name }}.conf"
|
||||||
- path: "/etc/chisel/{{ chisel_config_name }}"
|
|
||||||
regexp: "^AUTH=--auth {{ chisel_basic_auth }}"
|
regexp: "^AUTH=--auth {{ chisel_basic_auth }}"
|
||||||
state: present
|
state: present
|
||||||
line: "AUTH=--auth {{ chisel_basic_auth }}"
|
line: "AUTH=--auth {{ chisel_basic_auth }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user