mirror of
https://github.com/LiEnby/eCDP-Serial-Code.git
synced 2025-04-18 22:18:51 +01:00
Add files via upload
This commit is contained in:
parent
7ca4f660cc
commit
b92a181093
@ -1,6 +1,12 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define uintptr unsigned __intptr_t
|
||||
##define intptr __intptr_t
|
||||
#endif
|
||||
|
||||
char key[0xA8] = { 0x01,0x0A,0x16,0x04,0x07,0x18,0x0C,0x10,0x05,0x17,0x09,0x03,0x12,0x08,0x15,0x13,0x0B,0x02,0x0F,0x0D,0x11,0x0E,0x06,0x14,0x07,0x0C,0x0E,0x11,0x09,0x16,0x10,0x06,0x14,0x0D,0x01,0x02,0x12,0x08,0x13,0x0B,0x0F,0x0A,0x18,0x15,0x04,0x05,0x03,0x17,0x0F,0x04,0x09,0x03,0x06,0x07,0x11,0x12,0x15,0x16,0x02,0x08,0x05,0x17,0x0C,0x0D,0x01,0x18,0x0B,0x14,0x0E,0x10,0x13,0x0A,0x02,0x0A,0x0E,0x12,0x0B,0x03,0x0C,0x06,0x13,0x07,0x11,0x09,0x15,0x18,0x10,0x17,0x14,0x0F,0x04,0x01,0x05,0x08,0x16,0x0D,0x0B,0x02,0x09,0x16,0x14,0x01,0x12,0x11,0x15,0x06,0x0F,0x17,0x07,0x10,0x0C,0x0E,0x08,0x18,0x13,0x03,0x0A,0x0D,0x04,0x05,0x09,0x0F,0x05,0x0D,0x16,0x15,0x12,0x11,0x03,0x0A,0x04,0x10,0x0E,0x14,0x02,0x01,0x13,0x0C,0x06,0x0B,0x17,0x18,0x07,0x08,0x12,0x02,0x0C,0x09,0x0D,0x0E,0x04,0x07,0x16,0x14,0x17,0x01,0x11,0x03,0x10,0x15,0x08,0x0A,0x05,0x13,0x0B,0x18,0x0F,0x06 };
|
||||
char* hex_values = "0123456789ABCDEF";
|
||||
char* password_chars = "123456789ABCDEFGHJKLMNPQRSTUVWXYZ";
|
||||
@ -158,7 +164,7 @@ void generate_password(unsigned short* input, char* output)
|
||||
return;
|
||||
}
|
||||
|
||||
int main()
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
char maccas_id[64];
|
||||
char mannager_id[64];
|
||||
@ -174,6 +180,8 @@ int main()
|
||||
printf("eCDP Serial Number Generator\n");
|
||||
printf("Credits: SilicaAndPina (Reversing, writing code), Rufis_ (ARM asm help)\n");
|
||||
printf("-- A backdoor on the worlds rarest DS game.\n");
|
||||
|
||||
|
||||
entry:
|
||||
|
||||
printf("Enter your NDS's Mac Address (ALL uppercase, no seperators): ");
|
||||
@ -193,6 +201,7 @@ int main()
|
||||
if (strlen(mannager_id) != 6)
|
||||
goto entry;
|
||||
|
||||
run:
|
||||
snprintf(formatted, 64, "%s%s%s", mac_address, maccas_id, mannager_id);
|
||||
printf("Formatted Data: %s\n", formatted);
|
||||
int multiplier = find_multiplier(formatted);
|
||||
|
Loading…
x
Reference in New Issue
Block a user