从asp上攻击服务器上的应用程序? [英] shelling an app on server from asp?

查看:83
本文介绍了从asp上攻击服务器上的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,


我想打开/调用一个VB6应用程序,该应用程序位于从一个ASP运行IIS的服务器/文件夹的
页面。

至于安全性,这将全部发生在具有防火墙保护的

内部网等,没有外部

互联网访问。在我的asp应用程序的伪代码中,我是这样的想法:


<%

....
RetVal = Shell(" ../ myApp.exe"& someArg,vbNormalFocus)

....

%>


我希望能够从我公司内的任何地方调用myApp

。我想做什么是可行的吗?

如果是这样,如果我上面的伪代码无效,

我可以请求是否有人可以分享正确的方法?


谢谢,

Rich

解决方案

" Rich" <一个******* @ discussions.microsoft.com>在消息中写道

news:01 **************************** @ phx.gbl ... < blockquote class =post_quotes>你好,

我想打开/调用一个VB6应用程序,该应用程序驻留在从ASP页面运行IIS的服务器/文件夹中。



http:// www。 aspfaq.com/show.asp?id=2059


-

Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - 用于运行IIS的工具,脚本和实用程序
http://mvp.support.microsoft.com/
< a rel =nofollowhref =http://www.microsoft.com/windowsserver2003/community/centers/iis/\"target =_ blank> http://www.microsoft.com/windowsserv...y/ centers / iis /


非常感谢您的网址。这非常有用。
很有帮助。


Rich

-----原帖-----
丰富 <一个******* @ discussions.microsoft.com>写在
messagenews:01 **************************** @ phx.gbl ...

您好,

我想打开/调用一个VB6应用程序,该应用程序在从ASP页面运行IIS的服务器/文件夹中驻留

http://www.aspfaq.com/show.asp?id=2059

- Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - 工具,脚本和



用于运行IIS的实用程序 http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...ommunity/cente
rs / iis /



好吧,我去尝试了网页上的代码示例

下方。这段代码确实从ASP调用了myApp,因为我可以在Windows任务管理器中看到它是运行的,但是当从ASP调用时,myApp

是不可见的。我尝试从.vbs文件中获得相同代码的

,并且myApp是可见的。

有什么方法可以在从

ASP调用时看到myApp吗?


谢谢,

Rich

-----原始消息-----
Rich <一个******* @ discussions.microsoft.com>写在
messagenews:01 **************************** @ phx.gbl ...

您好,

我想打开/调用一个VB6应用程序,该应用程序在从ASP页面运行IIS的服务器/文件夹中驻留

http://www.aspfaq.com/show.asp?id=2059

- Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - 工具,脚本和



用于运行IIS的实用程序 http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...ommunity/cente
rs / iis /



Hello,

I would like to turn on/invoke a VB6 app which resides on
the server/folder where IIS is running from an ASP page.
As for security, this would be all happening within an
intranet with firewall protection, etc, no outside
internet access. In pseudocode of my asp app I am
thinking like this:

<%
....
RetVal = Shell("../myApp.exe " & someArg, vbNormalFocus)
....
%>

I would like to be able to invoke myApp from anywhere
within my company. Is it doable what I would like to do?
And if so, if my pseudo code above is not going to work,
may I request if someone could share the correct method?

Thanks,
Rich

解决方案

"Rich" <an*******@discussions.microsoft.com> wrote in message
news:01****************************@phx.gbl...

Hello,

I would like to turn on/invoke a VB6 app which resides on
the server/folder where IIS is running from an ASP page.



http://www.aspfaq.com/show.asp?id=2059

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...y/centers/iis/


Thank you very much for the web address. This is very
helpful.

Rich

-----Original Message-----
"Rich" <an*******@discussions.microsoft.com> wrote in messagenews:01****************************@phx.gbl...

Hello,

I would like to turn on/invoke a VB6 app which resides on the server/folder where IIS is running from an ASP page.
http://www.aspfaq.com/show.asp?id=2059

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and


utilities for running IIShttp://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...ommunity/cente rs/iis/
.



Well, I went and tried the code sample from the webpage
below. This code did invoke myApp from the ASP as I could
see it in the Windows Task Manager as running, but myApp
was not visible when invoked from the ASP. I tried the
same code from a .vbs file, and myApp was visible. Is
there a way to make myApp visible when invoking from the
ASP?

Thanks,
Rich

-----Original Message-----
"Rich" <an*******@discussions.microsoft.com> wrote in messagenews:01****************************@phx.gbl...

Hello,

I would like to turn on/invoke a VB6 app which resides on the server/folder where IIS is running from an ASP page.
http://www.aspfaq.com/show.asp?id=2059

--
Tom Kaminski IIS MVP
http://www.iistoolshed.com/ - tools, scripts, and


utilities for running IIShttp://mvp.support.microsoft.com/
http://www.microsoft.com/windowsserv...ommunity/cente rs/iis/
.



这篇关于从asp上攻击服务器上的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆