0xInfection / TIDoS-Framework

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

Fail on tokenize.py #120

Closed hellresistor closed 3 years ago

hellresistor commented 3 years ago

failing install requirements.txt

:)

 Downloading https://files.pythonhosted.org/packages/28/6c/640e3f5c734c296a7193079a86842a789edb7988dca39eab44579088a1d1/PyQt5-5.15.2.tar.gz (3.3MB)
    100% |################################| 3.3MB 282kB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/lib/python3.6/tokenize.py", line 452, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-n4x155_0/PyQt5/setup.py'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-n4x155_0/PyQt5/
VainlyStrain commented 3 years ago

Hi!

Do you have qt5 installed on your system? It is required by PyQt5.

Greetings!

VainlyStrain commented 3 years ago

According to this, it might be that you need to upgrade your pip. What version of pip do you have installed? It must be greater than 19.3.

Greetings!

hellresistor commented 3 years ago

According to this, it might be that you need to upgrade your pip. What version of pip do you have installed? It must be greater than 19.3.

Greetings!

Thank you!

Just need upgrade pip with pip3 install --upgrade pip and continues like a charm!

Still w8 to the end :)

VainlyStrain commented 3 years ago

I'm glad it worked! Let me know when installation finished successfully.

hellresistor commented 3 years ago

Done! ;) Installation COMPLETE!

Found a little bug when addvictim but EMPTY argument. are return about an rm .

tid2 > vicadd
 [?] Does this website use SSL? (y/n) :> n
 [?] Does the site use a custom port? (enter if not) :>
 [*] Checking server status...
 [+] Site seems to be up...|
 [+] IP Detected :|0.0.0.0|

rm: invalid option -- 'l'
Try 'rm --help' for more information.
 [?] Enter username (leave blank if none):
VainlyStrain commented 3 years ago

hmm ok, thought I've fixed that one :) Will push a fix in the coming hours, thanks for reporting!

hellresistor commented 3 years ago

when trying turn tor on.

tid2 > tor on [-] Tor service not running. Aborting... [?] Do you want to start the Tor service? (enter if not) :> y [+] Tor service successfully started.| [-] Tor service not running. Aborting... [?] Do you want to start the Tor service? (enter if not) :> y [+] Tor service successfully started.| [-] Tor service not running. Aborting... [?] Do you want to start the Tor service? (enter if not) :>

VainlyStrain commented 3 years ago

The tor command is working for me.

 tid2 > tor on
 [-] Tor service not installed or running. Aborting...
 [?] Do you want to start the Tor service? (enter if not) :> y
 [+] Tor service successfully started.|
 [+] Tor|ON|

What happens in the background here is systemctl start tor. Maybe there is a problem running that command? Do you have the tor package installed?

VainlyStrain commented 3 years ago

What does systemctl status tor show?

hellresistor commented 3 years ago

check! tor installed and running

$ sudo systemctl status tor
● tor.service - Anonymizing overlay network for TCP (multi-instance-master)
   Loaded: loaded (/lib/systemd/system/tor.service; enabled; vendor preset: enabled)
   Active: active (exited) since Thu 2020-12-17 19:39:35 UTC; 2h 14min ago
 Main PID: 7941 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 9470)
   CGroup: /system.slice/tor.service

Dec 17 19:39:35 tester18 systemd[1]: Starting Anonymizing overlay network for TCP (multi-instance-master)...
Dec 17 19:39:35 tester18 systemd[1]: Started Anonymizing overlay network for TCP (multi-instance-master).

Att! i am using ubuntu 18.04 server

VainlyStrain commented 3 years ago

The log shows active (exited), meaning that it is currently not running. TIDoS is waiting for it to be active (running). Maybe there was an issue starting the service?

hellresistor commented 3 years ago

maybe a confused testsystem (many test script in their heart). I will set new server with ubuntu 20 server. Will not be ready today. I will close and back later. o/

i can see. torrc file its unconfigured ;X shame on me (or should be python job?) @VainlyStrain