开发者

Is it possible to make a shell of CMD online? [closed]

开发者 https://www.devze.com 2023-03-12 21:00 出处:网络
开发者_运维问答 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form
开发者_运维问答 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

Is it possible to make a Command Prompt shell, that is accessible over the Internet? So a user could run command prompt online (that still affects their computer)?


Directly? No. However, you could provide an interface to the command line by writing a custom application that took commands and then sent them as system commands.

Even if you could expose your command prompt to the Internet, you wouldn't want to. It would be a massive security issue for you. You want to validate commands and the person sending the commands before you allow the commands to be executed.

For how to actually execute commands from C#, here is a forum that has more information:

http://forums.asp.net/t/1222442.aspx/1?how+to+run+command+prompt+commands+from+c+programming

0

精彩评论

暂无评论...
验证码 换一张
取 消