ntpdos icon indicating copy to clipboard operation
ntpdos copied to clipboard

Global name 'IP' is not defined

Open Drqonic opened this issue 7 years ago • 0 comments

I execute the script on my localhost but it just says this

Sending... Exception in thread Thread-5: Traceback (most recent call last): File "/usr/local/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/local/lib/python2.7/threading.py", line 754, in run self.__target(*self.__args, **self.__kwargs) File "main.py", line 23, in deny packet = IP(dst=ntpserver,src=target)/UDP(sport=random.randint(2000,65535),dport=123)/Raw(load=data) #BUILD IT NameError: global name 'IP' is not defined

is there a fix to it?

Drqonic avatar Feb 19 '18 13:02 Drqonic