This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// file: decrypt.m | |
// "decrypts" a single base64-encoded string from a shitty macos malware. | |
// compile with: clang -o decrypt -framework Foundation decrypt.m | |
#import <Foundation/Foundation.h> | |
#include <stdint.h> | |
int main (int argc, const char * argv[]) { | |
//NSString *string = @"TRYEGVoFAQ0HD1sGCg=="; | |
NSString *string = [NSString stringWithUTF8String: argv[1]]; |