forked from p15670423/monkey
Agent: Change firewall rule name to be more indicative
This commit is contained in:
parent
fe0b408c06
commit
0b1b829cd7
|
@ -65,7 +65,7 @@ class WinAdvFirewall(FirewallApp):
|
|||
return None
|
||||
|
||||
def add_firewall_rule(
|
||||
self, name="Firewall", direction="in", action="allow", program=sys.executable, **kwargs
|
||||
self, name="MonkeyRule", direction="in", action="allow", program=sys.executable, **kwargs
|
||||
):
|
||||
netsh_args = {"name": name, "dir": direction, "action": action, "program": program}
|
||||
netsh_args.update(kwargs)
|
||||
|
|
Loading…
Reference in New Issue