1
0

Fixed PWN board reporting

This commit is contained in:
connorgadbois 2026-03-27 00:57:01 -05:00
parent ecd0dd1d68
commit c8517871da

View File

@ -24,8 +24,8 @@ class A2Sserver:
def __update_pwnboard(self, ip: str) -> None:
try:
requests.post(config['pwnboard']['url'], json={'ip': ip, 'application': 'Source Control', 'type': 'a2s c2'}, headers={'Content-Type': 'application/json', 'Authorization': f'Bearer {config["pwnboard"]["access_token"]}'}, timeout=5)
except:
requests.post(config['pwnboard']['url'], json={'ip': ip, 'application': 'Source Control', 'access_type': 'a2s c2'}, headers={'Content-Type': 'application/json', 'Authorization': f'Bearer {config["pwnboard"]["access_token"]}'}, timeout=5)
except Exception as e:
log(LogLevel.ERROR, f'Failed to report callback to PWN Board. Reason: {e}')
def __xor_message(self, msg: str) -> str: