vwalsh / pentester-tools

Pentesting tools helper gui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature: create a new page and components to help build the json necessary to add a new command

vwalsh opened this issue · comments

this is very much a feature to help improve the commands available, as fast as possible.

  • all local state, nothing needs to preserve in localstorage for this feature
  • test if the VALUE the user has added already exists in the commands.json to help stop from shooting yourself in the foot from replacing values in other places that don't make sense. it also makes sense to keep certain values the same so it could guide them towards what might already exist?
  • new route with button added to the header of the site
  • textarea to enter the command and edit it's parameters
  • show a second textfield that's not editable which shows the 'compiled' version of the command
  • show a list of global values and description so that the user can choose things like the attacker host value and replacement code easily
  • components to select what config options are needed for the command
    • number input config component
    • string input config component
    • checkox input config component
    • select input config component
  • textfield with copy button that shows the json necessary to add to the commands.json
  • add help buttons and text so the user knows what each option does

f76d5f1 mostly implemented here, ready for testing

d251ae2 small bugfix

7db7b65 parity updates to this for latest features

closing as the final issue hasn't yet been too much of an issue while testing. future improvements can still be made