Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Cue Cat

Author
Message
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 26th Sep 2006 08:22
Any of you remember those Cue Cats from several years back? If not, then this code doesn't do you any good. Otherwise, whip out that cat and start using it again!

Unless your cue cat is modified, the returned string includes a unique serial number along with the UPC code. The string, however, is encrypted. If you don't feel like sticking a piece of wire into your cue cat's circuit board with +5v to disable the serial and encryption, you can use this code to decrypt it.

I did take a look at some code created by P. Taylor Goetz to notice that, before doing the decoding and xoring, the case of each letter had to be flipped first.





"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
DarkMasta
18
Years of Service
User Offline
Joined: 21st Apr 2006
Location: Typed on your screen.
Posted: 26th Sep 2006 17:13
What the hell is or are Cue Cat(s)???

Wherever you plan to go,
it's the next step you never know.
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 26th Sep 2006 19:06
It's a barcode scanner shaped like a cat. For a time, you could get one for free from RadioShack. Scan a cd, the software would direct you to the cd on amazon. Scan a box of cereal, same thing. The problem people had with the company's software was that each cuecat has a unique seriel embedded on it, meaning UPC lookups could be stored along with that ID on the company's servers. It was a privacy issue, even though it would probably be very difficult to find out which customer had which unit. The seriel number is stored on an EEPROM chip which can be disabled.

Another thing the company did to prevent people from using the cuecat outside of their own software was to encrypt the data.

Data from CueCat:
.C3nZC3nZC3nXDhP6CxnYCNnX.fHmc.C3f0Dxj1Dhj1ENf0.

What it means:
cuecat_id.upc_type.upc_code

Decrypted:
000000001688201102.UPA.027616716927


You can use the UPC to look up data on the product.
http://www.upcdatabase.com



"Using Unix is the computing equivalent of listening only to music by David Cassidy" - Rob Pike
JerBil
20
Years of Service
User Offline
Joined: 8th May 2004
Location: Somewhere along the Z axis...
Posted: 6th Oct 2006 01:38
Well done.
I got a CueCat somewhere around here...

Ad Astra Per Asper
Angry kreyon
19
Years of Service
User Offline
Joined: 19th Aug 2005
Location:
Posted: 6th Oct 2006 19:10
Phaelax,
very creative! very nice! keep up the good work.

Login to post a reply

Server time is: 2024-11-22 23:12:08
Your offset time is: 2024-11-22 23:12:08