0xInfection / TIDoS-Framework

The Offensive Manual Web Application Penetration Testing Framework.
GNU General Public License v3.0
1.77k stars 388 forks source link

[Invalid] => Can't fire up on Ubuntu Container #36

Closed ugurcemozturk closed 5 years ago

ugurcemozturk commented 5 years ago

Hey, firstly thanks for open sourcing this awesome repo.

File "/opt/tidos/tidos.py", line 13, in from core.tidos_main import File "/opt/tidos/core/tidos_main.py", line 31, in from core.Auxillaries.auxil import File "/opt/tidos/core/Auxillaries/auxil.py", line 21, in from honeypot import * File "modules/0x05-Auxillaries+PF6/honeypot.py", line 12, in import requests ImportError: No module named requests

What could be the reason of this? Thx. ugurcem

image

AlecsGherghel commented 5 years ago

Seems like requests library is missing. You could try to manually install it sudo pip install requests but I don't recommend that since it seems that the framework uses it's own version of requests (a fork?).

You can try to cd lib/requests/ && sudo python2 setup.py install and see if that crashes somehow.

0xInfection commented 5 years ago

The error you're getting is due to a local dependency error of a missing module called requests. TIDoS uses its own library of an enhanced modified requests version, but it should work fine with the latest version of requests, so make sure your Dockerfile does contain a line for installation of the requests library via pip.

ugurcemozturk commented 5 years ago

I've just run with an Ubuntu Linux without DFile. So it's better to create a dockerfile that runs on top of Alpine. Maybe I can contribute your project with this tiny Dockerfile?

Because I love your work as Kanye West loves Kanye West. thx, Ugurcem

ugurcemozturk commented 5 years ago

UPDATE:

Even I tried with Alpine && added pip install requests to Dockerfile or even install requests inside the container gives me the same result.

I'll keep you posted.

0xInfection commented 5 years ago

You may want to add pip2 install requests instead of pip install requests, since your default pip version might be 3.x. The TIDoS engine runs on default Python 2.x version.

However the work of porting TIDoS from Python 2.x to 3.x has already begun, thanks to @cclauss for rolling this in motion via #37.

ugurcemozturk commented 5 years ago

@theInfectedDrake So the current situation is to wait for #38

But I'm going to fork and create a Dockerfile to proceed faster.

Thx;) ugurcem