How to use Google Dorks to find usernames and passwords posted online.

Google Dorks can be very useful for finding user information posted online. This Google Dork will find logfiles and other things with usernames and passwords posted online. allintext:username filetype:logallintext:username filetype:log This will find putty information including server hostnames as well as usernames. A very good starting point. ext:reg “username=*” puttyext:reg “username=*” putty To find a … Read more

How to setup proper directory indexing in Apache.

To get proper directory indexing set up in a directory in your Apache webserver configuration, firstly, create a .htaccess file and paste the code below into it. Options +Indexes   HeaderName HEADER.html ReadmeName FOOTER.html   IndexIgnore .htaccess .??* *~ *# HEADER* FOOTER* README* RCS CVS *,v *,t *.incOptions +Indexes HeaderName HEADER.html ReadmeName FOOTER.html IndexIgnore .htaccess … Read more

How to watch a file in a terminal and see changes right away. Good for logfiles.

Here I am using the watch ‘tail access.log’ command to watch the access log file for the Apache web server. This will update every two seconds and show changes to the logfile when someone accesses the server. Every 2.0s: tail access.log Tue Jul 2 10:26:04 2013   77.78.106.75 – – [30/Jun/2013:18:03:09 +1000] "HEAD / HTTP/1.0" … Read more

OpenSuse 11.3. Setting the time and managing services.

When managing services on OpenSuse 11.3 the best way is to use the service command. One example is to synchronize the time with an Internet time server. I have NTP setup so I can just type: service ntp restartservice ntp restart That command will restart the NTP daemon and set the time on your machine … Read more