-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvoodoo.h
148 lines (118 loc) · 2.58 KB
/
voodoo.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
/*++
Copyright (C) 2011, Velocity Limitless Organization
Licensed under the GNU General Public License v2.
File name:
voodoo.h
Abstract:
Define core types used by libvoodoogestalt.
--*/
#ifndef _VOODOO_
#include <CoreFoundation/CoreFoundation.h>
#include <sys/types.h>
#include <sys/sysctl.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <dlfcn.h>
#include <stdio.h>
#include <syslog.h>
#include <deli/ipad.h>
#include <deli/iphone.h>
#include <deli/ipod.h>
//
// Configurable portion
//
#define CARRIER "Verizon"
#define MLB_SERIAL "C0714156KB0DQ5MB"
#define REGION_INFO "LL/A"
#define DATA_TYPE "3_5G"
#define DEVICE_UDID "4a5a5fe4eebdb5a11c6d6a7fce4795e914769802"
#define SIGNAL_STRENGTH 30
#define FIRMWARE_VERSION "3.14.01E"
#define IMEI "010113006310121"
#define ICCID "310090521813935"
#define IMSI "8901090382521813935"
//
// Do not edit anything below.
//
#ifndef __in
#define __in
#endif
#ifndef __out
#define __out
#endif
#ifndef __optional
#define __optional
#endif
#ifndef __inout
#define __inout
#endif
#define BUFFER_SIZE 256
//
// Windowsy types follow.
//
typedef char CHAR, *PCHAR, CCHAR, *LPCHAR;
typedef void *PVOID, *LPVOID;
typedef int INT, *PINT, *LPINT;
typedef size_t SIZE_T;
#define VOID void
#define CONST const
//
// Hook API type definitions
//
extern void NSLog(CFStringRef format, ...);
typedef struct _CORE_TELEPHONY_ERROR_STATUS {
INT _field1;
INT _field2;
} CORE_TELEPHONY_ERROR_STATUS, *PCORE_TELEPHONY_ERROR_STATUS;
typedef
CFTypeRef
(*PMG_COPY_ANSWER_ROUTINE)(
__in CFStringRef KeyToCopy
);
typedef
CFTypeRef
(*PIO_REGISTRY_ENTRY_CREATE_CF_PROPERTY)(
__in PVOID Entry,
__in CFStringRef Key,
__in CFAllocatorRef Allocator,
__in PVOID Options
);
typedef
INT
(*PSYSCTL_BY_NAME)(
__in const char *name,
__in void *oldp,
__in size_t *oldlenp,
__in void *newp,
__in size_t newlen
);
typedef
CFPropertyListRef
(*PLOCKDOWN_COPY_VALUE)(
__in PVOID LockdownConnection,
__in CFStringRef Domain,
__in CFStringRef Key
);
typedef
PINT
(*CT_SERVER_COPY_FIRMWARE_VERSION)(
PCORE_TELEPHONY_ERROR_STATUS Status,
PVOID Connection,
CFStringRef *FirmwareVersion
);
typedef
PINT
(*CT_SERVER_COPY_MOBILE_EQUIPMENT_INFO)(
PCORE_TELEPHONY_ERROR_STATUS Status,
PVOID Connection,
CFMutableDictionaryRef *Dictionary
);
typedef
PINT
(*CT_SERVER_COPY_MOBILE_IDENTITY)(
PCORE_TELEPHONY_ERROR_STATUS Status,
PVOID Connection,
CFStringRef *Imei
);
#endif // _VOODOO_