Saddam icon indicating copy to clipboard operation
Saddam copied to clipboard

cannot import name IP

Open CrimsonTorso opened this issue 6 years ago • 6 comments

I get this error when running python Saddam.py

Traceback (most recent call last):
  File "Saddam.py", line 9, in <module>
    from pinject import IP, UDP
ImportError: cannot import name IP

Any help?

CrimsonTorso avatar Apr 17 '19 14:04 CrimsonTorso

Put pinject in the same directory.

Beyarz avatar Apr 17 '19 16:04 Beyarz

Put pinject in the same directory

Summer20130725 avatar Jun 14 '20 06:06 Summer20130725

@whitedays2007 What does that mean and how can I? Sorry if this sounds like a dumb question I dont know much about python

EDIT: figured out what you meant, I just don't know where my python files are stored

EDIT 2: I figured out and I did it, but it's still giving me the exact same error, can anyone help?

conorcogan avatar Feb 10 '21 10:02 conorcogan

You need to put the file pinject.py in the same directory as Saddam.py

gokugen avatar Jun 08 '21 16:06 gokugen

Its in another repository.

itsThai avatar Apr 18 '23 07:04 itsThai

you can edit the code and change pinject with scapy (from scapy.all import IP, UDP)

12Toxic12 avatar Aug 31 '23 18:08 12Toxic12