# Basic Usage To view basic usage just type: ``` pse ``` ![image](https://gist.github.com/ssstonebraker/3b96125491139a84aba408f3a0d4b088/raw/images---Tue_May_26_2020_1590524462791.png) # Listing commands for a service ``` pse Example: pse smb ``` ## Default view The default view does not include descriptions for commands ![image](https://gist.github.com/ssstonebraker/3b96125491139a84aba408f3a0d4b088/raw/images---Tue_May_26_2020_1590524505112.png) ## Verbose view The verbose view includes descriptions for commands ``` pse -v Example: pse -v smb ``` ![image](https://gist.github.com/ssstonebraker/3b96125491139a84aba408f3a0d4b088/raw/images---Tue_May_26_2020_1590524535900.png) # Adding commands for a service In this example I am adding the dirb command for the https service ## Before I'm listing out what already exists for the http service ![image](https://gist.github.com/ssstonebraker/3b96125491139a84aba408f3a0d4b088/raw/images---Tue_May_26_2020_1590524702028.png) ## Add the command Add command dirb for service http ``` pse -a http 'dirb http://$IP -r -o $OUTPUTFILE' ``` ## After A view of the commands for the http service after I've added the dirb http command: ![image](https://gist.github.com/ssstonebraker/3b96125491139a84aba408f3a0d4b088/raw/images---Tue_May_26_2020_1590527558291.png) # Variable Expansion Currently only \$IP and \$PORT will be expanded (if set) ``` Example: IP=10.11.1.10 pse http ``` ![image](https://gist.github.com/ssstonebraker/3b96125491139a84aba408f3a0d4b088/raw/images---Tue_May_26_2020_1590527604991.png)