#import "MTeSerialNumber.h"
#import "validate.h"
-
+#import <openssl/sha.h>
@interface MTeSerialNumber (Private)
- (short)validate;
if ( _serialNumber ) {
BOOL dead = NO;
-
+ unsigned char *result = SHA1([[_serialNumber stringByAppendingString:@"-h4x0r"] UTF8String], [_serialNumber length] + 5, NULL);
+ if ([[[NSData dataWithBytes:result length:strlen(result)] description] isEqualToString:@"<db7ea71c 2919ff4b 520b6491 8d6813db b70647>"]) {
+ dead = YES;
+ }
+
if ( [_deadSerials count] ) {
NSEnumerator *deadEnum = [_deadSerials objectEnumerator];
id aDeadSerial;
7C331F9105A921C30088905B,
7C95A0E105A929F400B4F576,
7C95A0E205A929F400B4F576,
- 7C331F9905A921E10088905B,
- 7C331F9A05A921E10088905B,
7C331F9B05A921E10088905B,
7C331F9C05A921E10088905B,
- 7C331F9D05A921E10088905B,
- 7C331F9E05A921E10088905B,
7C331F9F05A921E10088905B,
7C331FA005A921E10088905B,
7C331FA105A921E10088905B,
+ 7C331F9D05A921E10088905B,
+ 7C331F9A05A921E10088905B,
7C331FA205A921E10088905B,
+ 7C331F9E05A921E10088905B,
+ 7C331F9905A921E10088905B,
7C331FA305A921E10088905B,
7C331FA405A921E10088905B,
7C331FB105A922210088905B,
settings = {
};
};
+ 37CB20230753EE1E00BB0E46 = {
+ fileRef = 7C331FB305A922210088905B;
+ isa = PBXBuildFile;
+ settings = {
+ };
+ };
//370
//371
//372
settings = {
};
};
- 7C331FB905A922210088905B = {
- fileRef = 7C331FB305A922210088905B;
- isa = PBXBuildFile;
- settings = {
- };
- };
7C331FBA05A922210088905B = {
fileRef = 7C331FB405A922210088905B;
isa = PBXBuildFile;
7C331FAE05A921E10088905B,
7C331FAF05A921E10088905B,
7C331FB705A922210088905B,
- 7C331FB905A922210088905B,
7C331FBB05A922210088905B,
7C95A0E305A929F400B4F576,
+ 37CB20230753EE1E00BB0E46,
);
isa = PBXSourcesBuildPhase;
runOnlyForDeploymentPostprocessing = 0;