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
WBOYOriginal
2016-07-13 17:34:10866browse

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...
Statement:
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