Relative Content

Tag Archive for pythonwireshark

Web application captures native traffic

I want to use Python to make a web application that captures native traffic. You can call native wireshark or use channels to transfer traffic to the backend. Do you have any useful tools to recommend?

AttributeError: ‘dict’ object has no attribute ‘haslayer’

Traceback (most recent call last):
File “…Anomaly Detectionmain.py”, line 42, in <module>
main()
File “…Graduation ProjectAnomaly Detectionmain.py”, line 31, in main
dos_amplification_anomalies = dos_amplification_detector.detect(features)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “…Anomaly Detectionsrcdos_amplification_detector.py”, line 10, in detect
if packet.haslayer(‘IP’):