nbs-system / nxtool-ng

Because life is too short to waste your time transforming naxsi logs to rules by hand
42 stars 13 forks source link

ImportError: cannot import name whitelist #14

Closed mguesdon closed 7 years ago

mguesdon commented 7 years ago

Hi,

I've copied naxsi-0.55.1/nxapi/nxapi into /usr/lib/python2.7/site-packages/ but when doing "python nxtool.py -h", I get:

<<
Traceback (most recent call last):
  File "nxtool.py", line 5, in <module>
    from nxapi import whitelist as nxapi_whitelist
ImportError: cannot import name whitelist
>>

Where can I get this "whitelist" ?

Thx !

mguesdon commented 7 years ago

Sorry, stupid question: I've found https://github.com/nbs-system/nxapi/

jvoisin commented 7 years ago
pip -r ./dependencies.txt

Maybe I should add a setup step in the README.md file.

mguesdon commented 7 years ago

Thx ! Yes, it will help python beginners like me :-)