53 lines
1.6 KiB
Python
53 lines
1.6 KiB
Python
# Card Generator — Luhn-valid CC numbers from BIN prefixes
|
|
# Usage: python gen_cards.py [BIN] [count]
|
|
# Example: python gen_cards.py 414709 5
|
|
|
|
import random
|
|
import sys
|
|
|
|
def luhn_checksum(card_number):
|
|
digits = [int(d) for d in card_number]
|
|
for i in range(len(digits) - 1, -1, -2):
|
|
digits[i] *= 2
|
|
if digits[i] > 9:
|
|
digits[i] -= 9
|
|
return (10 - sum(digits) % 10) % 10
|
|
|
|
def generate_card(bin_prefix, length=16):
|
|
prefix = str(bin_prefix)
|
|
remaining = length - len(prefix) - 1
|
|
body = prefix + ''.join(str(random.randint(0, 9)) for _ in range(remaining))
|
|
return body + str(luhn_checksum(body + '0'))
|
|
|
|
# Top non-VBV BINs (August 2026, cardingsecrets.is)
|
|
TOP_BINS = [
|
|
'414709', # Capital One Signature
|
|
'478455', # Citi Gold
|
|
'435237', # Chase Platinum
|
|
'421760', # Its Bank Infinite Debit
|
|
'465007', # Amegy Bank Infinite Debit
|
|
'44766443', # Mbna America Infinite Debit
|
|
'51636298', # Westpac World MC
|
|
'40383216', # Bc Card Signature MC
|
|
'550149', # Fia Card Services Gold (best for crypto)
|
|
'44766476', # Mbna America Infinite Debit (best for altcoin/fashion)
|
|
]
|
|
|
|
def main():
|
|
if len(sys.argv) >= 2:
|
|
bins = [sys.argv[1]]
|
|
else:
|
|
bins = TOP_BINS
|
|
|
|
count = int(sys.argv[2]) if len(sys.argv) >= 3 else 3
|
|
|
|
for b in bins:
|
|
for _ in range(count):
|
|
card = generate_card(b, 16)
|
|
month = random.randint(9, 12) # Future months only
|
|
year = 2026
|
|
cvv = random.randint(100, 999)
|
|
print(f"{card}|{month:02d}|{year}|{cvv}")
|
|
|
|
if __name__ == '__main__':
|
|
main() |