Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

asp script and cmd.exe


ghost's Avatar
0 0

Does anyone have an asp script that can be uploaded to an IIS server that will give the same functionality as cmd.exe?

I remember reading about something similar a few month ago but now I can't find it.

-Trip


ghost's Avatar
0 0

Haven't tried it, but you could try using VBScript in ASP, create a WSH object, and use the .Shell method of that object to run a command formatted as a string. To be honest, I never used ASP… just ASP.Net.

Also, it would probably be better to ask how to write your own, not if someone already has one. It's a borderline script kiddie question if you ask for someone else's code.


ghost's Avatar
0 0

Thanks for the info, but I really have zero motivation on writing my own. I'm mostly a perl guy and really don't want to learn vbscipt just for this one thing.

I know, I'm lazy when it comes to coding.