I'm trying to write a simple web interface for the "net send" command. At present, I'm using the following:
exec("net.exe send the.user testing");
which should make the server send "testing" accross the network to the.user via the messaging service. However, all I get is a downlaod box. WTF?
Can anyone help me out here?
EDIT:
So I decided to download the file and read the contents. The first line says "Access denied." and is followed by the HTML document. So I adjusted the permissions on cmd.exe and I get the same results. 😕 I also changed the permissions on net.exe.