MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / get_loot

Function get_loot

webapp_modern.py:6303–6311  ·  view source on GitHub ↗

Get stolen data/loot

()

Source from the content-addressed store, hash-verified

6301 extra['service_error_detail'] = detail
6302 _write_pwn_status_file('error', failure_message, 'error', extra)
6303 _update_pwn_config({'pwnagotchi_mode': 'pwnagotchi', 'pwnagotchi_last_status': failure_message})
6304 _start_service_with_monitor('pwnagotchi.service', timeout=30)
6305
6306 _emit_pwn_status_update()
6307
6308def resolve_ip_hostname(ip):
6309 try:
6310 if _is_valid_ipv4(ip):
6311 hostname, _, _ = socket.gethostbyaddr(ip)
6312 return hostname
6313 except (socket.herror, socket.gaierror):
6314 return ''

Callers

nothing calls this directly

Calls 3

get_loot_dataMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected