View difference between Paste ID: Jkme6K9V and XgWThYd9
SHOW: | | - or go back to the newest paste.
1
<!DOCTYPE html>
2
<html>
3
4
<head>
5
    <title>SetFSB Crack (Keygen, no download needed, everything is in browser)</title>
6
    <script>
7
        function println(str) {
8
            document.getElementById("output").innerHTML += (str + "</br>");
9
        }
10
        function clear() {
11
            document.getElementById("output").innerHTML = "";
12
        }
13
        function crc32(bytes) {
14
            var crc = 0 ^ (-1);
15
            
16
            for (var i = 0; i < bytes.length; i++) {
17
                crc = crc ^ bytes[i];
18
                for (var j = 0; j < 8; j++) {
19
                    if (crc & 1) {
20
                        crc = crc >> 1 & 0x7FFFFFFF ^ 0xEDB88320;
21
                    } else {
22
                        crc = crc >> 1 & 0x7FFFFFFF;
23
                    }
24
                }
25
            }
26
            
27
            return (crc ^ (-1)) >>> 0;
28
        }
29
        function strToBytes(str) {
30
            var bytes = [];
31
            
32
            for (var i = 0; i < str.length; i++) {
33
                bytes.push(str.charCodeAt(i));
34
            }
35
            
36
            return bytes;
37
        }
38
        function intToBytesLittleEndian(int) {
39
            return [0xFF & (int >> 0), 0xFF & (int >> 8), 0xFF & (int >> 16), 0xFF & (int >> 24)];
40
        }
41
        function genFromID() {
42
            clear();
43
            var id = parseInt(document.getElementById("str").value);
44
            if (isNaN(id)) {
45
                println("ID must be a number. Press \"Generate using username\" if you entered your username in the box.");
46
                return;
47
            }
48
            
49
            println("Your activation key is <b>" + genKey(id) + "</b>");
50
        }
51
        function genFromUsername() {
52
            clear();
53
            var id = genID(document.getElementById("str").value);
54
            
55
            println("Your ID is " + id)
56
            println("Your activation key is <b>" + genKey(id) + "</b>");
57
        }
58
        function genID(var_206) { // Username -> ID
59
            return (crc32(strToBytes(var_206)) ^ 0x19530501) >>> 0;
60
        }
61
        function genKey(var_183) { // ID -> Activation key
62
            var var_181 = var_183 ^ 0x19560223;
63
            var_181 ^= 0x20120425; // Added in latest version
64
            
65
            crc_var_181 = crc32(intToBytesLittleEndian(var_181));
66
            key = crc_var_181 * (crc_var_181 != 0) | 0x19560223 * (crc_var_181 == 0);
67
            
68
            return key >>> 0;
69
        }
70
    </script>
71
</head>
72
73
<body>
74
    <h2>SetFSB Crack (Keygen, no download needed, everything is in browser)</h2>
75
    <p>This generator works with SetFSB version 2.3.178.134 (download from official website here: <a href="http://www13.plala.or.jp/setfsb/">http://www13.plala.or.jp/setfsb/</a>, direct link: <a href="http://www13.plala.or.jp/setfsb/download/ver23/setfsb_2_3_178_134.zip">http://www13.plala.or.jp/setfsb/download/ver23/setfsb_2_3_178_134.zip</a>). Keygen functions were made by decompiling the program (written in Hot Soup Processor). See keygen's source code on github: <a href="https://github.com/keygens/keygens.github.io/blob/master/setfsb.html">https://github.com/keygens/keygens.github.io/blob/master/setfsb.html</a>
76
        <br/>
77
        <br/>
78
        <b>Instrutions: </b> Input your SetFSB ID or Windows username (the ID is calculated using the username) in the box and click "Generate using ID" or "Generate using username" to get your activation key.</p>
79
    <input type="text" id="str" />
80
    <button onclick="genFromID()">Generate using ID</button>
81
    <button onclick="genFromUsername()">Generate using username</button>
82
    <br/>
83
    <br/>
84
    <div id="output"></div>
85
</body>
86
87
</html>