• Skip to main content
  • Skip to primary sidebar
  • Home
  • Contact
  • Blogging Advice
  • Technology
  • Business Blogging

Business Logs

Helping companies communicate better

Google Code Search Is Live, Find Serial Number Generation Algorithms!

Google Code Search was just pushed live (check it out) and already the entrepreneurial minds at Digg have found a cool and unintended use for it: find serial number algorithms!

The poster (I think it was Ryan) says that by just using simple queries using “keygen”, “serial”, or “name” produce some fun results like keygen code for WinZip, Photoshop, mIRC, and a bunch more. Oh and if you know Java, here’s the function for WinZip that takes in a username and returns a String which needs to be then converted to hex:

    public String computeSerial(String userName) {
	IntBits ib;
	int len;
	int L4;
	int F4;
	int i;
	int c;
	int counter;
	int temp;
	int serial; //This will hold the value of the serial
	if (userName == null) return "";
	len = userName.length();

	L4 = 0; //Last 4 ascii digits of serial
	F4 = 0; //first 4 ascii digits of serial
	ib = new IntBits();
	ib.init();

	for (i = 0; i

UPDATE: Find database login information courtesy WordPress WP-CONFIG files.

About Lorraine Barte Nepomuceno

Primary Sidebar

Categories