Open ChocolateOverflow opened 2 years ago
I've set some aliases & shortcuts in my pwncatrc and they're not working correctly.
pwncatrc
I'm using Arch Linux, installed using the BlackArch package pwncat-caleb
pwncat-caleb
$ pwncat --version 0.5.1
My pwncatrc:
# vi: ft=sh # aliases alias up upload alias down download alias q exit # shortcuts shortcut ! local shortcut @ run
Alias in my .bashrc/.zshrc:
.bashrc
.zshrc
alias pwncat="python -m pwncat -c $HOME/.config/pwncat/pwncatrc"
(Without -c, it doesn't run the pwncatrc but that's for another issue)
-c
Aliases and shortcuts should be applied
alias q exit
alias q PleaseSub
alias: error: argument COMMAND: invalid choice:
q
error: q: unknown command
Bug Description
I've set some aliases & shortcuts in my
pwncatrc
and they're not working correctly.pwncat version
I'm using Arch Linux, installed using the BlackArch package
pwncat-caleb
Steps to Reproduce
My
pwncatrc
:Alias in my
.bashrc
/.zshrc
:(Without
-c
, it doesn't run thepwncatrc
but that's for another issue)Expected Behavior
Aliases and shortcuts should be applied
Actual behavior
alias q exit
toalias q PleaseSub
and running pwncat does givealias: error: argument COMMAND: invalid choice:
alias q exit
in thepwncatrc
, runningq
just returnserror: q: unknown command