Author Archive

Mining passwords from public GitHub repositories

Saturday, August 28th, 2010

I was on GitHub today, and I had a thought about mining database, account and server passwords of public repositories where the developer has forgotten to remove the password from the source code before pushing to the public repository.

I did a simple test using GitHub’s search using certain keywords eg:

It only takes you to go through about 10 pages of search results (“root password” has over 10,000 results) and you can see a few password’s that look like real. GitHub do have an article about remove sensitive data (http://help.github.com/removing-sensitive-data/) but also has a good statement line saying “Once the commit has been pushed you should consider the data to be compromised. Period.” which is very true but it seems there are alot of developers out there that our committing there passwords. I wonder how many hackers have prowled through GitHub looking for passwords and in result successfully been able to pull of an attack.

However, the best search term is “gmail password” (http://github.com/search?type=Code&language=&q=gmail+password&repo=&langOverride=&x=0&y=0&start_value=1) which as you can see, the first result looks like a real gmail password. I haven’t tested any of these passwords but I’m sure there is plenty of real passwords that developers have committed.

So remember, DON’T COMMIT YOUR PASSWORDS!

iniReader – Simple C++ configuration file parser

Saturday, August 28th, 2010

I have created a very simple C++ class that will parse a configuration file and return the value of the request key. You can get the code from http://github.com/bmaynard/iniReader.

I created this class for my CPUHog application (http://github.com/bmaynard/CPUHog) which records CPU and memory usage of applications running so you can find out which processes where hogging your CPU time.

Please feel free to leave feedback if you have any suggestions or problems. I do plan on make the class more powerful as its very simple at the moment.

The most craziest captcha….EVER!

Saturday, August 14th, 2010

I have been meaning to blog about this for over a year now, but check out the captcha on this website: http://linksave.in/register.

That is one way on how NOT to do captcha, but very interesting and I wonder how spam bots go with it.

NFS Manager

Wednesday, August 11th, 2010

I have been playing around with python and django the last coupon of weeks and I have created a NFS Manager module. You can grab the source code from: http://github.com/bmaynard/NFSManager

It is fairly basic at the moment and I havn’t implement all the options available for NFS but you can manage several servers from one place :) . To use the module, you create new servers, then setup the shared directories and clients. After you have set everything up you can go to the server list and push the changes across from the action drop down.

If you have any comments or suggestions then please leave a comment, I would like to try and make the module more powerful.

Pwnie Awards

Saturday, July 24th, 2010

I was reading my twitter feed and I read that the nominations for the pwnie 2010 awards had been announced, so I go and check it out and to my surprise I noticed my blog post about the OpenCart CSRF issue had been nominated for a pwnie award under Lamest Vendor Response! Never when writing the blog post did I think it would ever get so big which did at once stage crash my server.

The winners are announced at the BlackHat USA 2010 conference in Las Vagas which is the event ontop of my to go to list……..now where is my free ticket? :)