Thread: Web dirs

  1. #1
    Caffienated jinx's Avatar
    Join Date
    Oct 2001
    Posts
    234

    Web dirs

    THis might turn into a C++ board question but does anyone know of any tools or resources to do a directory search on a website. IE if I went to my site and entered it's address, it would return like my "/imgs" and "/files" or "/zips" directories?

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    hahah, you wish! if anyone here does know i doubt they'll be sharing it. being that it requires some leet skillz!
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  3. #3
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Well, basically you have to learn some socket programming (trivial, believe it or not). Type "programming winsock" or "programming sockets" in your fave search engine and check it out.

    After you are connected to your site, you must send a "get" request, like "GET/ <filename> \r\n\r\n". But look into the above and you'll see that there's not too much to it...
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  4. #4
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    spoil all my fun...
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  5. #5
    Caffienated jinx's Avatar
    Join Date
    Oct 2001
    Posts
    234
    M@N, Wh^+ r u t@lk|Ng 'B0u+??! | @M +he 31337 1, d0od!!!
    Weeel, itss aboot tieme wee goo back too Canada, eeehy boyss.

  6. #6
    Caffienated jinx's Avatar
    Join Date
    Oct 2001
    Posts
    234
    JK, anyhow, I meant like a boolean search for "files and Folders". Not a specific file.
    Weeel, itss aboot tieme wee goo back too Canada, eeehy boyss.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Consuming same Web Service multiple times
    By cfriend in forum C# Programming
    Replies: 2
    Last Post: 01-10-2006, 09:59 AM
  2. SWEBS Web Server
    By nickname_changed in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 09-22-2003, 02:46 AM
  3. Further developing C for the web
    By bjdea1 in forum C Programming
    Replies: 24
    Last Post: 12-25-2002, 01:49 PM
  4. !! Web Dirs 2 !!
    By jinx in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 05-28-2002, 03:35 PM