I have a bunch of bash commands I want to run when the shell_reverse_tcp session is hooked.
I tried to :
- put all my commands into a file mycommands.bash
- then "set AutoRunScript mycommands.bash"
-> Doesn't work (and no error message so I don't know how to debug that).
It's possible to use AutoRunScript with a shell_reverse_tcp??? Or only with a meterpreter session.