Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <string.h>
- #include <stdio.h>
- int main(int argc, char *argv[]) {
- if(argc==2) {
- printf("Checking License: %s\n", argv[1]);
- if(strcmp(argv[1], "AAAA-Z10N-42-OK")==0) {
- printf("Access Granted!\n");
- } else {
- printf("WRONG!\n");
- }
- } else {
- printf("Usage: <key>\n");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement