forked from tomsaunders/pyrite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdiffs.php
executable file
·56 lines (54 loc) · 1.13 KB
/
diffs.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<html>
<head>
<style>
table {
padding: 0;
border-spacing: 0;
border-collapse: collapse;
}
tr {
margin: 0;
padding: 0;
}
td {
width: 25px;
text-align: center;
height: 25px;
margin: 0;
padding: 0;
}
td:first-child, td:last-child{
width: 150px;
text-align: left;
}
td:nth-child(2), td:nth-child(3), td:nth-child(4), td:nth-child(6), td:nth-child(8), td:nth-child(12), td:nth-child(15) {
background-color: cadetblue;
}
</style>
</head>
<body>
<!--<table>-->
<pre>
<?php
include('bootstrap.php');
$dir = 'hexing';
$dir = 'MISSION';
$files = scandir($dir);
foreach ($files as $file){
// echo "<tr>";
if (!strpos(strtolower($file), '.tie')) continue;
$tie = new TIE($dir . '/' . $file);
if (count($tie->unknownSet)){
// echo "<td>$file</td>";
echo "$file\n";
print_r($tie->unknownSet);
}
// Hex::render($tie->headerString, TRUE);
// if (isset($desc[$file])) echo "<td> - " . $desc[$file] . '</td>';
// echo '</tr>';
}
?>
</pre>
<!--</table>-->
</body>
</html>