BishopFox / sliver

Adversary Emulation Framework
GNU General Public License v3.0
7.89k stars 1.05k forks source link

How can I remove rportfwd? #1715

Open kamikazejunk opened 2 weeks ago

kamikazejunk commented 2 weeks ago

May I know how can I remove rportfwd? Help command is useless as it doesn't teach how to use command or doesn't show example command


sliver (RELEVANT_TATAMI) > rportfwd 2 error: invalid usage of command 'rportfwd' (unconsumed input '2'), try 'help' sliver (RELEVANT_TATAMI) > rportfwd

ID Remote Address Bind Address ==== ================ ============== 1 127.0.0.1:8081 :8081
2 127.0.0.1:8111 :8111
3 127.0.0.1:4445 :4445

sliver (RELEVANT_TATAMI) > rportfwd rm 2 127.0.0.1:4445 error: invalid usage of command 'rm' (unconsumed input '2 127.0.0.1:4445'), try 'help'

kamikazejunk commented 2 weeks ago

I requested improvement for help at #1205, but developer isn't interested.... so I am asking here...

TimBF commented 2 weeks ago

You can see the help with -h. In this case 'rportfwd rm -h'. The correct way to remove it in your case is using 'rportfwd rm -i 2'.