infobyte / faraday-cli

Faraday's Command Line Interface
https://faradaysec.com
GNU General Public License v3.0
42 stars 15 forks source link

problem #12

Closed moussaif-design closed 1 year ago

moussaif-design commented 2 years ago

┌──(root㉿kali)-[~] └─# faraday-cli auth Traceback (most recent call last): File "/usr/local/bin/faraday-cli", line 5, in from faraday_cli.shell.main import main ModuleNotFoundError: No module named 'faraday_cli'

f-amato commented 2 years ago

Hello, @moussaif-design thanks for using faraday and reporting this. We are going to investigate and let you know about this issue

ezk06eer commented 2 years ago

Hi @moussaif-design, The command shouldn't be run as root, kali has issues identifying the default python in case you run it like that.

Please follow our guide: https://docs.faraday-cli.faradaysec.com/getting_started/

We recommend using venv to install any component. Then install it using pip3 install faraday-cli.

Here is an example running on the user vagrant, the only command to install was the one mentioned before.

┌──(vagrant㉿kali)-[~]
└─$ /home/vagrant/.local/bin/faraday-cli 

    ______                     __               _________                    
   / ____/___ __________ _____/ /___ ___  __   / ____/ (_)                   
  / /_  / __ `/ ___/ __ `/ __  / __ `/ / / /  / /   / / /                    
 / __/ / /_/ / /  / /_/ / /_/ / /_/ / /_/ /  / /___/ / /                     
/_/    \__,_/_/   \__,_/\__,_/\__,_/\__, /   \____/_/_/                      
                                   /____/                                    

v:2.1.2                                                                      
Missing faraday server, run 'auth'
Faraday> exit

I hope you have a great day.