2020-05-15 10:24:42 +02:00
|
|
|
# Set your remote hosts file
|
2020-08-29 03:38:56 +02:00
|
|
|
set -g lhost "127.0.0.1"
|
2020-05-15 10:24:42 +02:00
|
|
|
# Set your command prefix
|
2020-08-29 03:38:56 +02:00
|
|
|
set -g prefix c-k
|
2020-05-15 10:24:42 +02:00
|
|
|
# Set the default private key to use for privilege escalation
|
2021-04-10 21:52:47 +02:00
|
|
|
set -g privkey "data/pwncat"
|
2020-05-15 10:24:42 +02:00
|
|
|
# Set the pwncat backdoor user and password
|
2020-08-29 03:38:56 +02:00
|
|
|
set -g backdoor_user "pwncat"
|
|
|
|
set -g backdoor_pass "pwncat"
|
2021-05-08 06:49:44 +02:00
|
|
|
set -g db "memory://"
|
2020-05-15 10:24:42 +02:00
|
|
|
|
2020-08-29 03:38:56 +02:00
|
|
|
set -g on_load {
|
2020-05-17 03:11:48 +02:00
|
|
|
# Run a command upon a stable connection
|
|
|
|
# privesc -l
|
2020-05-15 10:24:42 +02:00
|
|
|
}
|
|
|
|
|
2020-05-15 20:05:51 +02:00
|
|
|
# Examples of command bindings
|
|
|
|
bind s "sync"
|
|
|
|
bind c "set state command"
|
|
|
|
|
2020-05-17 08:29:51 +02:00
|
|
|
# Create aliases for commands
|
2020-05-15 20:05:51 +02:00
|
|
|
alias up upload
|
|
|
|
alias down download
|
2020-05-17 08:29:51 +02: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
|