Browse IIS Directory Structures

This article contains the complete project for an ISAPI Extension for exploring Web Servers with Microsoft Internet Information Server running.

Very often, such servers are not properly configured, so, system dlls like ISAPI Extensions are allowed to view the contents of each drive, including CDROM and other removeable drives.

Just open the project, compile it and upload the DLL to the WebServer of your choice. Obviously, take care that the server is running IIS. Then using your browser, enter the URL of the ISAPI Extension. The ISAPI Extension will read the directory of the server (if it is not protected by the operating system) and allow you to view it's contents as a HTML web page. The icons which you can see are stored on www.signale.co.at, because at this time I am not able to send the images while sending the HTML page to the Client via ISAPI.

For suggestions mail me or visit my Web site.

Downloads

Download source - 11 Kb


Comments

  • Please advice in removing isapi extensions

    Posted by Ioana on 04/15/2014 06:33am

    Hello, I have done the following: DirectoryEntry service = new DirectoryEntry("IIS://Localhost/W3SVC"); service.Invoke("DeleteExtensionFileRecord", appFile); where appfile is websiteName\BIN\ name.dll On the line where I call Invoke with the method DeleteExtensionFileRecord it throws an exception. Im doing something wrong..but what? Thank you.

    Reply
  • canonicalize url containing "%Uxxxx"

    Posted by Legacy on 06/05/2002 12:00am

    Originally posted by: jellad tarek

    Hi
    
    

    I'm coding with VC++ 6.0 a ISAPI filter to scan an URL
    so i must canonicalize it(put it in canonical form).
    there is many functions that canoniclize a url with VC++
    like : UrlCanonicalize(),WinHttpCrackUrl(), InternetCanonicalizeUrl(),UrlUnescape(),....
    but they can't decoding the "%Uxxxx" they decode only "%xx"
    (xx the hexa code of the caracter)
    so please if you can help me!

    good bye

    Reply
  • Question

    Posted by Legacy on 03/31/2002 12:00am

    Originally posted by: Armuzi

    I want to call a function of ISAPI dll,
    like<form action="MyIsa.dll?MyFunc"...
    so if I use IIS ,where should I put it.
    A book says I should put it \LM\W3SVC, but I can't find
    it

    Reply
  • Anyone having problems impersonating in an ISAPI filter??

    Posted by Legacy on 07/10/2001 12:00am

    Originally posted by: jim

    Hi..


    Im currently tring to impersonate on the OnUrlMap event within an ISAPI filter.
    I need to do this to list a remote directory via an NT share.
    I have tried the 'ImpersonateLoggedOnUser(token)' call, and also the SetThreadToken(handle,token).
    When performing a GetCurrentUser, I receive the username of the NT user I tried to impersonate, however I still have no access to the share. I get Error 5 Access denied from the FindFirstFile API.

    I have enabled all necessary rights on the local security policy to allow interactive logon, and act as part of the operating system. Both the LogonUser and ImpersonateLoggedOnUser return TRUE, and the handle is valid.

    I presumed that the thread calling the filter had some privileges disabled, but after listing the thread tokens privs, I realised that it had the LocalSystem rights (ALL privs)

    Please please please, does anyone have any ideas???

    thanks

    Jim

    Reply
  • Question.

    Posted by Legacy on 04/25/2001 12:00am

    Originally posted by: Shadan

    when i am compling isapiexplore.dll it is giving following error, how to correct it

    LINK : LNK4073: cannot create map for .ILK file; linking nonincrementally
    LINK : fatal error LNK1104: cannot open file "//DEV_SERVER/C/inetpub/scripts/msvc/IsapiExplorer.dll"

    Reply
  • browse iis directory structure

    Posted by Legacy on 04/12/2001 12:00am

    Originally posted by: umanath

    when i am compling isapiexplore.dll it is giving following error, how to correct it

    LINK : LNK4073: cannot create map for .ILK file; linking nonincrementally

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • On-demand Event Event Date: September 10, 2014 Modern mobile applications connect systems-of-engagement (mobile apps) with systems-of-record (traditional IT) to deliver new and innovative business value. But the lifecycle for development of mobile apps is also new and different. Emerging trends in mobile development call for faster delivery of incremental features, coupled with feedback from the users of the app "in the wild." This loop of continuous delivery and continuous feedback is how the best mobile …

  • It's hardly surprising that half of small businesses fail within the first 1-5 years. It's not easy to launch a new product, single-handedly manage everything from IT to accounting, fend off the competition, and grow a customer base – all at the same time – even with a great concept. Offering awesome customer service can make the difference between a startup that flies and a startup that dies. Read this white paper to learn nine ways customer support can help you beat the competition and grow your …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds