-1

How could I make a script that runs when the metasploit handler receives a new session? By the way, the script should check if a file exists, and if it doesn't, it should upload a file to the victim. I'm pretty sure I know how to write the script, I just don't know how to make it run when the listener (handler) receives a session

Robert
  • 1
  • 2

1 Answers1

-1

I found out how to do it. Use the AutoRunScript (advanced) option and it will work.

Robert
  • 1
  • 2