invernizzi / scapy-http

Support for HTTP in Scapy
Other
301 stars 77 forks source link

'module' object is not callable #39

Open geekscrapy opened 6 years ago

geekscrapy commented 6 years ago

I installed via pip, and did an import with:

from scapy.layers import http

>>> a = Ether()/IP()/TCP()/HTTP()
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-16-4721ccfe9bb4> in <module>()
----> 1 a = Ether()/IP()/TCP()/HTTP()

TypeError: 'module' object is not callable