Skip to content

Instantly share code, notes, and snippets.

@dmknght
Last active November 1, 2021 02:07
Show Gist options
  • Save dmknght/41eb83e405c71fe4e57f0940a9481145 to your computer and use it in GitHub Desktop.
Save dmknght/41eb83e405c71fe4e57f0940a9481145 to your computer and use it in GitHub Desktop.
Config for Metasploit_Prompt on parrot
path `~/.msf4/config`
Variables: `Prompt`, `PromptChar`, `MeterpreterPrompt`
Config
```
[framework/core]
Prompt=[%grnmsf%clr][%bld%yelJobs%clr:%whi%J%clr][%bld%cyaAgents%clr:%whi%S%clr]
PromptChar=%yel$%clr
MeterpreterPrompt=[ID:%S][%M][%H_%A][%U](%D)
```
- Jobs %J: How many jobs are running in background
- Sessions %S How many sessions are running
-SType %M: Session Type. This is actually the meterpreter payload type
-%H: Target's HOstname
-%U: Target's username
-%S: Session's ID. This is different from %S of Prompt
-%D: Target's pwd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment