2020-05-15 10:24:42 +02:00
|
|
|
# Set your remote hosts file
|
2020-05-16 19:43:11 +02:00
|
|
|
set lhost "127.0.0.1"
|
2020-05-15 10:24:42 +02:00
|
|
|
# Set your command prefix
|
|
|
|
set prefix c-k
|
|
|
|
# Set the default private key to use for privilege escalation
|
2020-05-16 19:43:11 +02:00
|
|
|
set privkey "data/pwncat"
|
2020-05-15 10:24:42 +02:00
|
|
|
# Set the pwncat backdoor user and password
|
|
|
|
set backdoor_user "pwncat"
|
|
|
|
set backdoor_pass "pwncat"
|
2020-05-28 07:21:08 +02:00
|
|
|
set db "sqlite:///pwncat.sqlite"
|
2020-05-15 10:24:42 +02:00
|
|
|
|
|
|
|
set 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
|
2020-05-23 08:47:48 +02:00
|
|
|
|