1
This commit is contained in:
parent
4310cd3531
commit
5ded3261ee
3
hlna.py
3
hlna.py
@ -761,11 +761,12 @@ def rcon(m, c):
|
||||
rcon_ports.append(rcon_p)
|
||||
|
||||
for port in rcon_ports:
|
||||
print(f"Rcon выполнен для {port}")
|
||||
|
||||
passwd = dict_adminpwd[port]
|
||||
with Client('127.0.0.1', port, passwd=str(passwd)) as client:
|
||||
response = client.run(c)
|
||||
print(response)
|
||||
print(f"Rcon выполнен для {port}")
|
||||
else:
|
||||
pass
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user