infobyte / faraday-client

GTK client of FaradaySEC
Other
6 stars 3 forks source link

Create Login widget instead of login from CLI #5

Open dmknght opened 4 years ago

dmknght commented 4 years ago

Description

By now the faraday-client --gui GUI has 2 problems:

  1. Needs type login cred from terminal
  2. If there is no workspace, it can't open GUI.

    In my opinion, it is:

  3. Not very friendly for GUI only, which can be used by menu
  4. Run a terminal in background which is not really needed.
  5. Options like: host, port, cert file, workspace name can be done by GUI. (Armitage project is a good example)

    What I suggest

  6. Create login widget which has
    • Address
    • Workspace name
    • Username and password
    • Ask user to use custom cert file, a file selection to load cert
  7. Support config file to parse from it so users don't have to type everything everytime (save everything except username and password?)
  8. Support login with no workspace?
aenima-x commented 4 years ago

You dont need to use the --gui parameter. Is the default

You dont have que enter the credentials every time, there is in fact a "config file". It only asks for credentials if there is no config file, or the session is expired. Here you can see that it only ask me for credentials the first time image

There is a widget for credentials, but in only works once you are in the UI. For things like change to other user, or if the current session expired. image

You can login with not workspace, it just ask you to create one. There is no sense to use faraday-client with no workspace at all image

dmknght commented 4 years ago

Well thank you. It is a little bit weird because i didn't see that login widget or create workspace. Let me pull latest source code from github and try again.

dmknght commented 4 years ago

Can the ask for username and password in cli first time move to GUI as same as session is expired?

dmknght commented 4 years ago

Anyway instead of title Faraday login at URL I think it can be changed to an entry Login URL: and default URL can be empty or parsed from config file.