News for hackers. Stuff that matters.
Re:Valid Credit Card Number Generator for Testing Purposes by joshuahedlund on Friday July 20, 2012 @11:54AM (#4271337)
Great idea.. I could definitely see myself using this in e-commerce testing.

However, some of the wording seems a little vague to me. It says "they are completely fake" and calls them "fake credit card numbers," but I do not see any mention of (what seems to me) the inevitable possibility that the algorithm might pop out a legitimate number. I have no idea what are the odds of that happening (possibly very low), but if it's possible, can you really call them "fake"?

Re:Valid Credit Card Number Generator for Testing Purposes by 0m1cr0n on Friday July 20, 2012 @12:34PM (#4271571)
Even if an in-use credit card number is generated, you would still need the name, expiration date and cvv2 to complete most online purchases. Depending on the vendor, you may also require the billing address of the cardholder.

It's somewhat unlikely that this tool will generate many "real" account numbers, as the Bank Identification Number field is being randomly generated as well. These account numbers only satisfy the Luhn check for validity.

You might find these links interesting, they explain credit card data in depth:

http://www.dirigodev.com/blog/anatomy-of-a-credit-card-numbe...

http://blog.opensecurityresearch.com/2012/02/deconstructing-...

Re:Valid Credit Card Number Generator for Testing Purposes by juan_juarez on Friday July 20, 2012 @04:19PM (#4272709)
Well, not so much billing address but at least the zip code.
Re:Valid Credit Card Number Generator for Testing Purposes by vasco on Friday July 20, 2012 @12:04PM (#4271388)
Hey there, I made this. I'm not good with words, I'll definitely give you that. What I tried to say on the page is that you can't/shouldn't (someone has since told me there could be a shady website that might try to charge a card with only a number - this seems unlikely because anyone can generate these as the algorithm is in the public domain but yeah) use these for anything because you just have a random number which happens to validate. You will need more in order to buy anything. I've learnt that the expiration date together with the number can be sufficient, but you usually need a 3 or 4 digit sequence as a confirmation code as well.

As stated there (although as you said, poorly worded), the other use case by "normals" is for things like finding out how much it would cost to ship something from amazon before you actually want to buy etc.

Thanks for the feedback!

Re:Valid Credit Card Number Generator for Testing Purposes by joshuahedlund on Friday July 20, 2012 @01:51PM (#4271990)
Thanks, I know you need other information to process a number, and you made that very clear. I'm also not really sure how to word it better. I was mainly just thinking of the chance (probably extremely low) of someone seeing their real number on there and thinking, 'hey, they have my real number in there', and getting really angry/upset...
Re:Valid Credit Card Number Generator for Testing Purposes by sirclueless on Friday July 20, 2012 @06:27PM (#4273163)
Worse than that, I can imagine a testing scenario where someone actually tries to authorize transactions against these numbers, expecting failure. If at some point a number succeeds, then you have just committed fraud.
Re:Valid Credit Card Number Generator for Testing Purposes by AgentConundrum on Friday July 20, 2012 @06:02PM (#4273077)
If it were that easy to abuse a credit card number on its own, then credit card fraud would be much, much higher than it is.

That's because the format of the credit card number is well known[1] and conforms to an ISO standard[2]. Numbers generated using publicly known issuer identifiers can then (usually) be checked for potential validity by running it through a standard checksum called the Luhn algorithm.[3] The Wikipedia article for the algorithm even helpfully provides a working Python script to do the work for you.

This is all well known stuff, and I seem to recall there being a joke file of "hacked" credit card numbers in the late 90s which I believe was just a list of numbers generated this way.

[1] https://en.wikipedia.org/wiki/Bank_card_number

[2] http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_...

[3] https://en.wikipedia.org/wiki/Luhn_algorithm

Re:Valid Credit Card Number Generator for Testing Purposes by eli on Friday July 20, 2012 @12:55PM (#4271698)
The odds are really really low. You don't need to worry about any of these being valid.
Re:Valid Credit Card Number Generator for Testing Purposes by sp332 on Friday July 20, 2012 @04:06PM (#4272652)
If it's that easy to get a legit number, the crime rings would be doing it already.