Skip to content

Instantly share code, notes, and snippets.

@astroza
Created April 16, 2021 01:35
Show Gist options
  • Save astroza/cf8d73d57c4ab4f327fc4fa601d6bae4 to your computer and use it in GitHub Desktop.
Save astroza/cf8d73d57c4ab4f327fc4fa601d6bae4 to your computer and use it in GitHub Desktop.
#include <stdio.h>
char *ReformString(char *a, char *b, int c, ...);
int main() {
char buffer[64];
ReformString(buffer, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789~!@#$%^&*()_+|`-={}[]:;'<>?,./\" \\", 0x28, 0xe, 0xf, 4, 0xd, 0x12, 0x12, 0xb, 0x5d, 4, 0xd,
2, 0x5d, 0x4d, 3, 0x5d, 0x4d, 0, 4, 0x12, 0x4d, 0x35, 0x36, 0x3c, 0x4d, 2, 1, 2, 0x5d, 0x4d, 10, 0x5d, 0x30, 0x30, 4, 8, 5, 0x13, 0x46, 0x15, 0x36);
printf("%s\n", buffer);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment