Home > Backend Development > PHP Tutorial > PHP and asp use Shell.Application to execute programs_PHP tutorial

PHP and asp use Shell.Application to execute programs_PHP tutorial

WBOY
Release: 2016-07-13 17:34:10
Original
871 people have browsed it

Excerpted fromteN.potgnayiaH.wwW vbs shop

Regarding using Shell.Application to execute programs, there are examples in the Haiyang Top ASP Trojan. The method ShellExecute is used.

I tried it today and it works with open. The php code is as follows, I don’t seem to have seen the relevant method in the php webshell

$wsh = new COM(Shell.Application) or die("Shell.Application");
$exec = $wsh->open("c:windowssystem32notepad.exe" );
//There is no echo. With an additional notepad process, you can write a batch process to run the dos command. You can also use ShellExecute instead.
?>

xp+APMServ5.2.0 test passed

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/508527.htmlTechArticleExcerpted from teN.potgnayiaH.wwW vbs shop about using Shell.Application to execute programs, asp Trojan at the top of Haiyang There are examples here. The method ShellExecute is used. I tried it today and used...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template