A Google Search Tip

April 7, 2005 by randomguru 

googleI’m currently reading “Google Hacking for Penetration Testers”, by Johnny Long of ihackstuff.com. It’s a fascinating read. The plot is all about these evil “black hat” hackers maliciously intent on hacking into servers and accessing sensitive data using… Google, of all things!

So far, the plot is thickening, and the valiant “white hat” hackers are coming to the rescue with code and security measures of their own, combating the evil “black hat” hackers and thus saving the world from virtual EVIL. It’s a fascinating read, really… and I highly recommend it.

For example: wanna find some interesting “stuff” on various Apache servers? such as hidden files and directories? Just type in the following in the Google search field… [ a similar search string was shared on the RBJ forums]

intitle:index.of ws_ftp.log

Just substitute “ws_ftp.log” with “.mp3″ and you can find hidden MP3 files!

Well, this is why it’s always important to have a default “index.html” file to hide any files you don’t want the public to see that might be lurking about in your directories…


Comments

2 Responses to “A Google Search Tip”

  1. William Luu on April 7th, 2005 7:10 pm

    And probably also a robots.txt file to tell the search spiders to go away in certain directories :)

  2. randomguru on April 7th, 2005 8:45 pm

    ahhh… of course!!!

Feel free to leave a comment...
and oh, if you want a pic to show with your comment, go get a gravatar!