Closed obihann closed 3 years ago
Did you use the --login
parameter like the error message says?
Yes and I get the exact same message, even -d for debug provides no difference. I should add that the website works fine just the desktop client.
but when you use the --login what error gives you?
Did it ask you for the user or just give you the error message?
--login gives me the exact same message as above, it does not ask me for a username.
root@chickendinner:~# faraday-client --login
_____ .___
_/ ____\_____ ____________ __| _/_____ ___.__.
\ __\ \__ \ \_ __ \__ \ / __ | \__ \ < | |
| | / __ \_| | \// __ \_/ /_/ | / __ \_\___ |
|__| (____ /|__| (____ /\____ | (____ // ____|
\/ \/ \/ \/ \/
[*[ Open Source Penetration Test IDE ]*]
Where pwnage goes multiplayer
2020-09-22T11:58:53-0300 - faraday_client.start_client - INFO {MainThread} [start_client.py:323 - printBanner()] Starting Faraday IDE.
2020-09-22T11:58:53-0300 - faraday_client.start_client - INFO {MainThread} [start_client.py:435 - main()] Dependencies met.
2020-09-22T11:58:53-0300 - faraday_client.start_client - INFO {MainThread} [start_client.py:279 - checkConfiguration()] Checking configuration.
2020-09-22T11:58:53-0300 - faraday_client.start_client - INFO {MainThread} [start_client.py:280 - checkConfiguration()] Setting up ZSH integration.
2020-09-22T11:58:53-0300 - faraday_client.start_client - INFO {MainThread} [start_client.py:282 - checkConfiguration()] Setting up user configuration.
2020-09-22T11:58:53-0300 - faraday_client.start_client - INFO {MainThread} [start_client.py:268 - setupXMLConfig()] Using custom user configuration.
2020-09-22T11:58:53-0300 - faraday_client.start_client - INFO {MainThread} [start_client.py:183 - setConf()] Setting configuration.
Please enter the Faraday Server URL (Press enter for http://localhost:5985):
2020-09-22T11:58:58-0300 - faraday_client.start_client - ERROR {MainThread} [start_client.py:376 - login()] Connection to Faraday server FAILED: http://localhost:5985 - use --login to set a new server
OK, it cant connect to faraday.
If you do telnet localhost 5985
it connects?
Telnet fails, however via browser works fine.
root@chickendinner:~# telnet localhost 5985
Trying ::1...
Trying 126.0.0.1...
telnet: Unable to connect to remote host: Connection refused
I have it figured out! localhost is somehow mapped to 126.0.0.1, when I say 127.0.0.1 instead of local host it connects.
Thanks for the help.
Issue Type
Faraday version
Faraday v3.12
Component Name
start_client.py:376 - login()
Steps to reproduce
After starting the server, attempt to connect via the 'faraday' command to open the CLI or GUI client.
Expected results
GUI or CLI client should launch.
Debugging tracebacks (current results)
2020-09-22T11:35:54-0300 - faraday_client.start_client - INFO {MainThread} [start_client.py:323 - printBanner()] Starting Faraday IDE. 2020-09-22T11:35:54-0300 - faraday_client.start_client - INFO {MainThread} [start_client.py:435 - main()] Dependencies met. 2020-09-22T11:35:54-0300 - faraday_client.start_client - INFO {MainThread} [start_client.py:279 - checkConfiguration()] Checking configuration. 2020-09-22T11:35:54-0300 - faraday_client.start_client - INFO {MainThread} [start_client.py:280 - checkConfiguration()] Setting up ZSH integration. 2020-09-22T11:35:54-0300 - faraday_client.start_client - INFO {MainThread} [start_client.py:282 - checkConfiguration()] Setting up user configuration. 2020-09-22T11:35:54-0300 - faraday_client.start_client - INFO {MainThread} [start_client.py:268 - setupXMLConfig()] Using custom user configuration. 2020-09-22T11:35:54-0300 - faraday_client.start_client - INFO {MainThread} [start_client.py:183 - setConf()] Setting configuration.
Please enter the Faraday Server URL (Press enter for http://localhost:5985): 2020-09-22T11:35:55-0300 - faraday_client.start_client - ERROR {MainThread} [start_client.py:376 - login()] Connection to Faraday server FAILED: http://localhost:5985 - use --login to set a new server
OS
Provide information on your operating system. Example:
$ cat /etc/lsb-release DISTRIB_ID=Kali DISTRIB_RELEASE=kali-rolling DISTRIB_CODENAME=kali-rolling DISTRIB_DESCRIPTION="Kali GNU/Linux Rolling"