Ptr32Void / OSTrICa

306 stars 92 forks source link

Import Queue #11

Closed sonihm closed 7 years ago

sonihm commented 7 years ago

Getting Error Message, while running python main.py ImportError: No Module named 'Queue'

scorpionhiccup commented 7 years ago

Did you install the dependencies as updated in #12 ?

sonihm commented 7 years ago

Thanks for the response. No, I didn't . Is this all dependencies included in Github Ostrica? or do I have to search for each dependencies?

Also, Notice that, while installing on windows 10 machine, got below error

Print statement-- Requires brackets( ) ,
Exception statement-- requires as instead of ,

Thanks

scorpionhiccup commented 7 years ago

Are you using Python3? I tried running the code in python2

sonihm commented 7 years ago

Yes, Python 3

sonihm commented 7 years ago

I have just tried with Python 2.7.12, got below error

sonihm commented 7 years ago

C:\Python27>python.exe C:\Users\xxx\Documents\GitHub\OSTrICa\main.py Traceback (most recent call last): File "C:\Users\xxx\Documents\GitHub\OSTrICa\main.py", line 28, in from ostrica.utilities.Ostrica import OSTrICa File "C:\Users\xxx\Documents\GitHub\OSTrICa\ostrica\utilities\Ostrica.py", line 27, in import Queue File "C:\Users\xxx\Documents\GitHub\OSTrICa\Queue.py", line 3, in import pytz ImportError: No module named pytz

sonihm commented 7 years ago

I have downloaded queue.py from internet. Not sure it is required.

scorpionhiccup commented 7 years ago

easy_install --upgrade pytz pip install -r requirements.txt

sonihm commented 7 years ago

Thanks for your help. Please bear with me as this is first time I am setting it up. Now I am getting below error C:\XXX\Software\Ostrica>c:\Python27\python.exe main.py Traceback (most recent call last): File "main.py", line 28, in from ostrica.utilities.Ostrica import OSTrICa ImportError: No module named ostrica.utilities.Ostrica

sonihm commented 7 years ago

Never mind . It work after downloading all files from github again. How can I add more plugins? It shows only three plugins

plugins Plugin PyWhois (v0.1) [ENABLED] Developed by Roberto Sponchioni rsponchioni@yahoo.it Description: Plugin used to collect Whois information about domains or IPs Visual data ENABLED Available extraction types: ip_information domain_information Plugin ThreatCrowd (v0.1) [ENABLED] Developed by Roberto Sponchioni rsponchioni@yahoo.it Description: Plugin used to collect information about IPs, domains or ASNs on Sa feBrowsing Visual data ENABLED Available extraction types: ip_information domain_information md5 email_information Plugin ThreatMiner (v0.1) [ENABLED] Developed by Roberto Sponchioni rsponchioni@yahoo.it Description: Plugin used to collect information about IPs, domains, emails or MD 5s on ThreatMiner Visual data ENABLED Available extraction types: ip_information domain_information md5 email_information

Ptr32Void commented 7 years ago

Hi sonihm,

If you download from GitHub, all available plugins should be enabled. You should be able to use them all. To add additional plugins you need to add additional code in the Plugin directory. Please refer to the README.md file.

Note: code was written to work on Python 2.7 not Python 3.

Regards, Ptr32Void