2020-05-15 08:24:42 +00:00
|
|
|
# Set your remote hosts file
|
2020-08-29 01:38:56 +00:00
|
|
|
set -g lhost "127.0.0.1"
|
2020-05-15 08:24:42 +00:00
|
|
|
# Set your command prefix
|
2020-08-29 01:38:56 +00:00
|
|
|
set -g prefix c-k
|
2020-05-15 08:24:42 +00:00
|
|
|
# Set the default private key to use for privilege escalation
|
2020-08-29 01:38:56 +00:00
|
|
|
set -g privkey "data/pwncat"
|
2020-05-15 08:24:42 +00:00
|
|
|
# Set the pwncat backdoor user and password
|
2020-08-29 01:38:56 +00:00
|
|
|
set -g backdoor_user "pwncat"
|
|
|
|
set -g backdoor_pass "pwncat"
|
|
|
|
set -g db "sqlite:///pwncat.sqlite"
|
2020-05-15 08:24:42 +00:00
|
|
|
|
2020-08-29 01:38:56 +00:00
|
|
|
set -g on_load {
|
2020-05-17 01:11:48 +00:00
|
|
|
# Run a command upon a stable connection
|
|
|
|
# privesc -l
|
2020-05-15 08:24:42 +00:00
|
|
|
}
|
|
|
|
|
2020-05-15 18:05:51 +00:00
|
|
|
# Examples of command bindings
|
|
|
|
bind s "sync"
|
|
|
|
bind c "set state command"
|
|
|
|
|
2020-05-17 06:29:51 +00:00
|
|
|
# Create aliases for commands
|
2020-05-15 18:05:51 +00:00
|
|
|
alias up upload
|
|
|
|
alias down download
|
2020-05-17 06:29:51 +00:00
|
|
|
|
|
|
|
# Shortcuts allow single-character prefix which indicate the entire command
|
|
|
|
# string be passed as the arguments to a specific command. For example:
|
|
|
|
# "!ls" run "local ls" given the below directives
|
|
|
|
shortcut ! local
|
|
|
|
shortcut @ run
|
2020-05-23 06:47:48 +00:00
|
|
|
|