Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


My script is blocked by a firewall...

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,28595
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> My script is blocked by a firewall...
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 My script is blocked by a firewall... - 12/3/2005 8:46:29 PM   
  AWTJ

 

Posts: 1
Score: 0
Joined: 12/2/2005
Status: offline
Hello everyone,

I've made a script that opens your cd drive, but it's being blocked by the firewall...
Is there a way to bypass te firewall?

Here id the script:

<SCRIPT LANGUAGE="VBScript">
Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
do
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
loop
End If
</SCRIPT>


Please respond...

AWTJ
 
 
Post #: 1
 
 RE: My script is blocked by a firewall... - 12/4/2005 4:25:03 AM   
  kirrilian


Posts: 628
Score: 3
Joined: 3/15/2005
From:
Status: offline
looks like youre running it from a browser, the user would have to lower their security settings i imagine

_____________________________

Have you searched here ?
VBScript Fundamentals
My Site

(in reply to AWTJ)
 
 
Post #: 2
 
 RE: My script is blocked by a firewall... - 12/4/2005 6:20:49 PM   
  TNO


Posts: 1302
Score: 12
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
This used to work back in the Windows 98, IE 5 days. But today that is a security issue, and is prevented by all modern browsers. Convince the client to lower their security settings or run it from the computer as an HTA or a script file. This is not a very kosher script, and was part of a larger security hole in IE in the past.

< Message edited by TNO -- 12/4/2005 6:28:22 PM >


_____________________________

To iterate is human, to recurse divine. -- L. Peter Deutsch

(in reply to AWTJ)
 
 
Post #: 3
 
 RE: My script is blocked by a firewall... - 12/5/2005 12:58:20 AM   
  DiGiTAL.SkReAM


Posts: 1184
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
Eeek!  I dunno, man... that is periously close to being a Bad Thing.  Accessing my hardware via browser?

And if the firewall is blocking your script in the first place, to disable it you would have to run a script that would access the OS, which would also be blocked by the firewall.
Kind of a chicken-n-egg thing...


_____________________________

"Would you like to touch my monkey?" - Dieter (Mike Meyers)

"It is better to die like a tiger, than to live like a pussy."
-Master Wong, from Balls of Fury

(in reply to TNO)
 
 
Post #: 4
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> My script is blocked by a firewall... Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts