Open guidoiaquinti opened 6 years ago
it is not from port 80 only 80 will have layer http and be judged codes in scapy-http/scapy_http/http.py 260-265 bind_layers(TCP, HTTP, dport=80) bind_layers(TCP, HTTP, sport=80)
bind_layers(TCP, HTTP, sport=8080) bind_layers(TCP, HTTP, dport=8080)
The HTTP layer detection doesn't seems to work properly. I have a sample
pcap
file with a single packet that is correctly parsed by Wireshark but not by this script:Probably linked with #31?
I might be wrong but I think this evaluation is not correct as the type is not a string?