Archive for December, 2007

Old code

Saturday, December 8th, 2007

To keep this short and sweet I found some really old Visual basic code on some CD I had thought I had thrown out. One of the programs the User agent, has found a new life. Apparently some spam/hacker websites have been cloaking themselves from googlesearch bots showing different content etc. to boost the page rank. I wanted to see exactly what they were doing I changed the user agent using the plug in from: http://chrispederick.com/work/user-agent-switcher/
to read: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html). I use the useragent reporter, a program that just sits at port 80 and sniffs what comes through and use it to confirm what agent I am using. You can also use this as a dummy honey pot if you wanted though the code would probably need some tweaking for organization etc. If you can use it, or just want to see what a horrible programmer I was 8 years ago the program is included with source and executable.

http://www.tankedgenius.com/wp-content/uploads/2007/12/useragent.zip

I also found a very old whois application I had written so simple it actually hurts. I am including it because I still use this simply because network-solutions site is dog slow and I hate waiting. And if I am going to show an example of a visual basic server application I might as well show an example of a Visual basic client.

http://www.tankedgenius.com/wp-content/uploads/2007/12/whois.zip