-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjson-check.php
41 lines (40 loc) · 1.46 KB
/
json-check.php
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
<?php
// Doing it this way WILL break when we do eventually change the JSON Structure.
// This supports down to v1.0, haven't checked if it works with v0.1 or v0.2
// but honestly who would use them -K9
$base = array( 'Version' => NULL,
'Meta' => array (
'ElapsedTime' => NULL,
'GenerationDate' => NULL
),
'BasicInfo' => array (
'Edition' => NULL,
'Version' => NULL,
'FriendlyVersion' => NULL
),
'System' => array (
'UserVariables' => NULL,
'SystemVariables' => NULL,
'RunningProcesses' => NULL,
'Services' => NULL,
'InstalledApps' => NULL,
'InstalledHotfixes' => NULL
),
'Hardware' => array (
'Ram' => NULL,
'Cpu' => NULL,
'Gpu' => NULL
),
'Security' => array (
'AvList' => NULL,
'FwList' => NULL,
'Tpm' => NULL
),
'Network' => array (
'Adapters' => NULL,
'HostsFile' => NULL,
'HostsFileHash' => NULL
),
'DebugLogText' => NULL
);
?>