Skip to content

Instantly share code, notes, and snippets.

@SilverCory
Last active June 6, 2023 05:22
Show Gist options
  • Save SilverCory/a45f62b46910440fcebd557bf9d9d422 to your computer and use it in GitHub Desktop.
Save SilverCory/a45f62b46910440fcebd557bf9d9d422 to your computer and use it in GitHub Desktop.
Vexera Premium key generator
package main
import (
"fmt"
"math/rand"
"strconv"
"strings"
)
var validKeys = ``
func main() {
keys := strings.Split(strings.Replace(validKeys, "\r", "\n", -1), "\n")
var lines []string
for i := 0; i < 20; i++ {
lines = append(lines, "HACK-"+randSeq(4)+"-"+randSeq(4)+" ----- VALIDITY "+strconv.Itoa(random(10, 81))+"%")
}
for _, v := range keys {
lines = append(lines, v+" ----- VALIDITY "+strconv.Itoa(random(80, 100))+"%")
}
for i := len(lines) - 1; i > 0; i-- {
j := rand.Intn(i + 1)
lines[i], lines[j] = lines[j], lines[i]
}
for _, v := range lines {
fmt.Println(v)
}
}
var letters = []rune("1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ")
func randSeq(n int) string {
b := make([]rune, n)
for i := range b {
b[i] = letters[rand.Intn(len(letters))]
}
return string(b)
}
// A cleaner random method.
func random(min, max int) int {
return rand.Intn(max-min) + min
}
HACK-Y81Q-3ZZ7 ----- VALIDITY 85%
HACK-PQGW-5PJD ----- VALIDITY 76%
HACK-PYNX-389W ----- VALIDITY 23%
HACK-XBKL-UE9S ----- VALIDITY 29%
HACK-NOEH-RUO8 ----- VALIDITY 67%
HACK-T5GB-UOOF ----- VALIDITY 17%
HACK-3MNW-WQD9 ----- VALIDITY 80%
HACK-UFON-DYR8 ----- VALIDITY 39%
HACK-357J-1VCR ----- VALIDITY 80%
HACK-5RHK-AK7Z ----- VALIDITY 82%
HACK-CKMP-CTEV ----- VALIDITY 48%
HACK-6J7S-BUB6 ----- VALIDITY 46%
HACK-V3Y7-2PIN ----- VALIDITY 36%
HACK-NT1T-71XM ----- VALIDITY 50%
HACK-K9I7-48GE ----- VALIDITY 53%
HACK-6MV0-1FPQ ----- VALIDITY 11%
HACK-N1IC-I80X ----- VALIDITY 35%
HACK-5SB6-0191 ----- VALIDITY 66%
HACK-H159-MK56 ----- VALIDITY 48%
HACK-CARB-IFD1 ----- VALIDITY 79%
HACK-Z4PV-IFER ----- VALIDITY 98%
HACK-4SVM-MRRR ----- VALIDITY 30%
HACK-PPUX-KCVU ----- VALIDITY 88%
HACK-CA9H-QN3J ----- VALIDITY 41%
HACK-KUOJ-6T7N ----- VALIDITY 63%
HACK-3LV4-HN3A ----- VALIDITY 72%
HACK-VKP4-HFFV ----- VALIDITY 17%
HACK-ZXO1-R6A9 ----- VALIDITY 97%
HACK-LUSL-I07U ----- VALIDITY 18%
HACK-RGWA-6UT6 ----- VALIDITY 36%
HACK-A2YV-ZTB5 ----- VALIDITY 48%
HACK-5YXJ-0L1L ----- VALIDITY 15%
HACK-XOJC-5VCO ----- VALIDITY 37%
HACK-OEQM-22ON ----- VALIDITY 72%
HACK-BWIM-5ZGE ----- VALIDITY 94%
HACK-BGBX-EJFB ----- VALIDITY 94%
HACK-FCCO-JV82 ----- VALIDITY 31%
HACK-ZGUK-CLMN ----- VALIDITY 46%
HACK-9G86-8UDU ----- VALIDITY 26%
HACK-GWXI-RXL5 ----- VALIDITY 79%
HACK-RLFI-E2D3 ----- VALIDITY 49%
HACK-IDHT-BSVR ----- VALIDITY 67%
HACK-TEBI-WAR8 ----- VALIDITY 16%
HACK-P13K-R44S ----- VALIDITY 51%
HACK-V267-XHX2 ----- VALIDITY 99%
HACK-LB98-FD9B ----- VALIDITY 91%
HACK-V3Z4-A3D5 ----- VALIDITY 50%
HACK-5UOZ-SZR7 ----- VALIDITY 73%
HACK-DA3S-JERN ----- VALIDITY 38%
HACK-OKK5-6WKE ----- VALIDITY 47%
HACK-3MZV-DT23 ----- VALIDITY 71%
HACK-UFUL-9DUZ ----- VALIDITY 79%
HACK-I6OF-3RW1 ----- VALIDITY 13%
HACK-ARC8-F50Z ----- VALIDITY 32%
HACK-WS2Q-LB1L ----- VALIDITY 85%
HACK-GCPI-8XBX ----- VALIDITY 40%
HACK-YL6Q-EGZV ----- VALIDITY 43%
HACK-H320-DDDW ----- VALIDITY 38%
HACK-LPPC-8WLP ----- VALIDITY 95%
HACK-IU6F-E4D4 ----- VALIDITY 28%
HACK-SO4I-H2S2 ----- VALIDITY 32%
HACK-HL7H-HAIG ----- VALIDITY 79%
HACK-PJ1M-N30F ----- VALIDITY 44%
HACK-B9I7-R58U ----- VALIDITY 44%
HACK-ACYO-8AFT ----- VALIDITY 11%
HACK-M6HF-6YN6 ----- VALIDITY 62%
HACK-T8KH-5LSK ----- VALIDITY 90%
HACK-4PXP-W95Y ----- VALIDITY 99%
HACK-91GZ-VS0T ----- VALIDITY 36%
HACK-9QZE-N7GH ----- VALIDITY 50%
HACK-QSGF-ULOL ----- VALIDITY 15%
HACK-NOHM-RION ----- VALIDITY 38%
HACK-4AKN-UECV ----- VALIDITY 21%
HACK-EH2B-ERLC ----- VALIDITY 75%
HACK-KP7L-BNSI ----- VALIDITY 93%
HACK-9Z6R-YDAL ----- VALIDITY 23%
HACK-T75Y-JH8Z ----- VALIDITY 86%
HACK-S867-M7EQ ----- VALIDITY 12%
HACK-TURK-XAIS ----- VALIDITY 76%
HACK-OT1N-QDMP ----- VALIDITY 23%
HACK-PYQP-YHKM ----- VALIDITY 46%
HACK-P4CJ-C1J4 ----- VALIDITY 34%
HACK-5GKY-C5O5 ----- VALIDITY 86%
HACK-DMMQ-UJKL ----- VALIDITY 88%
HACK-NMUV-ULV6 ----- VALIDITY 92%
HACK-GVWN-CB2Y ----- VALIDITY 33%
HACK-ADG2-72B2 ----- VALIDITY 70%
HACK-5P9U-8NZ7 ----- VALIDITY 76%
HACK-U7QI-Q91B ----- VALIDITY 17%
HACK-TX2E-R3HM ----- VALIDITY 47%
HACK-1N37-GCNG ----- VALIDITY 67%
HACK-PRTV-DUZX ----- VALIDITY 48%
HACK-553B-5OH5 ----- VALIDITY 75%
HACK-CMF6-XX80 ----- VALIDITY 49%
HACK-YM8Y-YZ35 ----- VALIDITY 39%
HACK-Z4E1-6IZD ----- VALIDITY 10%
HACK-Z8JS-SBLF ----- VALIDITY 51%
HACK-Z5RK-AKDQ ----- VALIDITY 57%
HACK-5Z4A-U3PI ----- VALIDITY 67%
HACK-Q9LT-BWW2 ----- VALIDITY 50%
HACK-P931-FOZ5 ----- VALIDITY 58%
HACK-4YT2-X89A ----- VALIDITY 72%
HACK-MQLB-2WCL ----- VALIDITY 68%
HACK-KJC9-ZVIG ----- VALIDITY 37%
HACK-LD12-9NFK ----- VALIDITY 84%
HACK-C3A0-O7XL ----- VALIDITY 38%
HACK-6YUP-874J ----- VALIDITY 28%
HACK-RC1I-4DX1 ----- VALIDITY 61%
HACK-VEYD-3R7U ----- VALIDITY 63%
HACK-E5KC-H27R ----- VALIDITY 35%
HACK-0P2T-8TNZ ----- VALIDITY 72%
HACK-876Z-370V ----- VALIDITY 29%
HACK-SI6X-XKH1 ----- VALIDITY 18%
HACK-WRJP-GRY5 ----- VALIDITY 41%
HACK-T1ZW-534S ----- VALIDITY 19%
HACK-KLBI-QOZO ----- VALIDITY 22%
HACK-B3HQ-LPKM ----- VALIDITY 65%
HACK-9NK3-ZK58 ----- VALIDITY 45%
HACK-208Z-G5F0 ----- VALIDITY 67%
HACK-UDC0-RQKK ----- VALIDITY 57%
HACK-EXM6-7DS7 ----- VALIDITY 16%
HACK-1WZB-EFK5 ----- VALIDITY 14%
HACK-PJMQ-KMX5 ----- VALIDITY 76%
HACK-D4I3-A04M ----- VALIDITY 23%
HACK-P9QP-I1I7 ----- VALIDITY 43%
HACK-ZC63-XR6J ----- VALIDITY 51%
HACK-5774-C3M8 ----- VALIDITY 68%
HACK-DFLG-Y9ZM ----- VALIDITY 36%
HACK-9XI1-FSAH ----- VALIDITY 41%
HACK-9UQE-L3MM ----- VALIDITY 37%
HACK-6X8Z-KT7I ----- VALIDITY 12%
HACK-YKYM-22D1 ----- VALIDITY 19%
HACK-VTUR-S57Z ----- VALIDITY 69%
HACK-KDW8-W2L9 ----- VALIDITY 88%
HACK-V4QJ-9F1S ----- VALIDITY 83%
HACK-DBF6-UQDE ----- VALIDITY 62%
HACK-4N8I-8MH9 ----- VALIDITY 52%
HACK-4M1D-AB67 ----- VALIDITY 73%
HACK-6FBB-D7P9 ----- VALIDITY 22%
HACK-QI9H-NZOI ----- VALIDITY 71%
HACK-T4VK-U3NN ----- VALIDITY 37%
HACK-EXY2-WZG1 ----- VALIDITY 74%
HACK-5OWM-AS0M ----- VALIDITY 35%
HACK-Z6XJ-O5YS ----- VALIDITY 39%
HACK-CAYG-WR34 ----- VALIDITY 80%
HACK-JV21-Q7PK ----- VALIDITY 64%
HACK-QU9W-H60R ----- VALIDITY 15%
HACK-V629-JDKY ----- VALIDITY 67%
HACK-LPNU-2VJ7 ----- VALIDITY 72%
HACK-OE8U-T5QR ----- VALIDITY 54%
HACK-I8OS-FBCA ----- VALIDITY 66%
HACK-HJB3-1QGC ----- VALIDITY 69%
HACK-B11M-004Q ----- VALIDITY 47%
HACK-5NJ8-BCZF ----- VALIDITY 51%
HACK-DOK1-WIQD ----- VALIDITY 58%
HACK-MPYJ-72CV ----- VALIDITY 28%
HACK-634P-H002 ----- VALIDITY 36%
HACK-LW8K-DH01 ----- VALIDITY 28%
HACK-ODAD-7WN0 ----- VALIDITY 66%
HACK-NFGR-ZMKZ ----- VALIDITY 48%
HACK-S74D-ONNL ----- VALIDITY 12%
HACK-QEFI-2VG9 ----- VALIDITY 58%
HACK-8I8N-VGQF ----- VALIDITY 42%
HACK-US72-VQ1D ----- VALIDITY 36%
HACK-X0VW-WYIY ----- VALIDITY 44%
HACK-PLX2-UTAX ----- VALIDITY 11%
HACK-7HG5-GON3 ----- VALIDITY 12%
HACK-YW49-EJDY ----- VALIDITY 71%
HACK-X6CB-4HAZ ----- VALIDITY 77%
HACK-B6BT-EFL2 ----- VALIDITY 96%
HACK-IZC9-MDR4 ----- VALIDITY 20%
HACK-JQEN-0WLH ----- VALIDITY 44%
HACK-KGQS-HK3R ----- VALIDITY 74%
HACK-M77R-7OFG ----- VALIDITY 74%
HACK-UFBW-CSTY ----- VALIDITY 28%
HACK-TKPT-RPIP ----- VALIDITY 36%
HACK-90BA-KYAJ ----- VALIDITY 10%
HACK-QL6H-LKPC ----- VALIDITY 19%
HACK-XG9I-XGXG ----- VALIDITY 45%
HACK-WK0C-N2EK ----- VALIDITY 26%
HACK-IETT-3I5H ----- VALIDITY 68%
HACK-XAGY-KSWY ----- VALIDITY 27%
HACK-A5LN-OHSO ----- VALIDITY 41%
HACK-VPV3-L1KV ----- VALIDITY 23%
HACK-RYSJ-L0P0 ----- VALIDITY 53%
HACK-9XW4-C336 ----- VALIDITY 72%
HACK-Q3UW-LHJA ----- VALIDITY 98%
HACK-FJXF-AOAU ----- VALIDITY 66%
HACK-JSOY-DOCV ----- VALIDITY 45%
HACK-208X-6WYF ----- VALIDITY 38%
HACK-36LB-S0MZ ----- VALIDITY 56%
HACK-XAK3-TQAP ----- VALIDITY 30%
HACK-6O9B-22XS ----- VALIDITY 68%
HACK-9C75-IW87 ----- VALIDITY 96%
HACK-9TX7-YXV8 ----- VALIDITY 27%
HACK-GTWW-2IXC ----- VALIDITY 31%
HACK-IBLW-14HI ----- VALIDITY 66%
HACK-5M6L-9AYX ----- VALIDITY 67%
HACK-PWNV-CT72 ----- VALIDITY 79%
HACK-4JV4-ON1J ----- VALIDITY 91%
HACK-9VZJ-9A8A ----- VALIDITY 72%
HACK-4UUH-QMEN ----- VALIDITY 17%
HACK-X8LI-PMAR ----- VALIDITY 57%
HACK-QTO6-MIW2 ----- VALIDITY 69%
HACK-A0G4-WRUC ----- VALIDITY 17%
HACK-U59Z-85D6 ----- VALIDITY 34%
HACK-VIYX-2VLW ----- VALIDITY 69%
HACK-8BDC-4268 ----- VALIDITY 72%
HACK-HJ0W-7L5K ----- VALIDITY 71%
HACK-1JQW-9TKR ----- VALIDITY 79%
HACK-G72A-9F08 ----- VALIDITY 67%
HACK-STVL-UY3V ----- VALIDITY 12%
HACK-9SO6-FFYF ----- VALIDITY 40%
HACK-RYAP-G8GB ----- VALIDITY 86%
HACK-WCGU-JTJT ----- VALIDITY 77%
HACK-CY33-EMV3 ----- VALIDITY 90%
HACK-LGQK-V4YS ----- VALIDITY 14%
HACK-24P8-4XVE ----- VALIDITY 44%
HACK-0TYY-8XEZ ----- VALIDITY 24%
HACK-XJT8-QLNQ ----- VALIDITY 29%
HACK-GIXK-2G1F ----- VALIDITY 38%
HACK-D0XI-TDCN ----- VALIDITY 28%
HACK-Y6Q6-OOSZ ----- VALIDITY 30%
HACK-I9CS-NZ8J ----- VALIDITY 49%
HACK-9OOR-CHM4 ----- VALIDITY 15%
HACK-K2U2-BQ65 ----- VALIDITY 54%
HACK-UJHV-962D ----- VALIDITY 80%
HACK-ETX6-6F7W ----- VALIDITY 72%
HACK-46HU-9IRW ----- VALIDITY 96%
HACK-T5Q2-VHVX ----- VALIDITY 23%
package main
import (
"bufio"
"flag"
"fmt"
"io"
"math/rand"
"net/http"
"os"
"os/signal"
"sync"
"time"
)
var key = ""
var mutex = &sync.Mutex{}
var seed = ""
func main() {
newSeed := flag.String("seed", "a45f62b46910440fcebd557bf9d9d422", "A seed cracked from Vexera's encryption that's been broken")
flag.Parse()
seed = *newSeed
fmt.Println(` __ __ ___ __ __ ___ ____ ____
| | | / _]| | | / _]| \ / |
| | | / [_ | | | / [_ | D )| o |
| | || _]|_ _|| _]| / | |
| : || [_ | || [_ | \ | _ |
\ / | || | || || . \| | |
\_/ |_____||__|__||_____||__|\_||__|__|
`)
fmt.Println("\n\n\nDabbing on the key.")
fmt.Print(".......")
time.Sleep(7 * time.Second)
fmt.Print(".....")
time.Sleep(time.Second)
fmt.Println("..")
fmt.Println("Validating key (this may take a while)")
// Generate the key and fetch a random entry.
go getRandomKey()
// Make them wait that time.
for i := 0; i < random(30, 100); i++ {
time.Sleep(time.Second * 1)
fmt.Print(".")
}
// Print out the key.
fmt.Println("\n\nKEY:")
mutex.Lock()
fmt.Println(key)
mutex.Lock()
// Capture SIGINT to prevent it closing straight after.
c := make(chan os.Signal, 1)
signal.Notify(c, os.Interrupt)
}
// A cleaner random method.
func random(min, max int) int {
rand.Seed(time.Now().Unix())
return rand.Intn(max-min) + min
}
func getRandomKey() {
// Fetch the keys from github gist.
resp, err := http.Get("https://gist.githubusercontent.com/SilverCory/" + seed + "/raw/keys.txt")
if err != nil {
return
}
// Dirty status check for 20x
if resp.StatusCode < 200 && resp.StatusCode >= 300 {
return
}
// Read the entire file (insert buffer overflow here if).
reader := bufio.NewReader(resp.Body)
var lines []string
for {
data, _, err := reader.ReadLine()
if err != nil {
if err == io.EOF {
break
}
return
}
lines = append(lines, string(data))
}
// Lock the key var, write a random entry and then unlock.
mutex.Lock()
n := rand.Int() % len(lines)
key = string(lines[n])
mutex.Unlock()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment