- To auto migrate to stable shell when listening connection, in multi/handler. use:
set AutoRunScript post/windows/manage/migrate
- To automatically run something in Linux after receiving connection, use
set AutoRunScript /home/yengee/test
(very important to have no extension).
In this test file, put in your commands (for examplewhoami
,id
etc)