Add a null check before iterating in pull_logs to avoid this error:
[•] Payloads sent to all URLs. Waiting for DNS OOB callbacks.
[•] Waiting...
main()
File "/app/log4j-scan.py", line 401, in main
records = dns_callback.pull_logs()
File "/app/log4j-scan.py", line 257, in pull_logs
for i in data_list:
TypeError: 'NoneType' object is not iterable
Add a null check before iterating in
pull_logs
to avoid this error: