Repository navigation
Expand file tree
/
Copy pathindex.php
More file actions
92 lines (60 loc) · 1.81 KB
/
Copy pathindex.php
File metadata and controls
92 lines (60 loc) · 1.81 KB
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
<?php
ini_set("display_errors", 1);
error_reporting(E_ALL);
include('class/AntiI.php');
$AntiI = new AntiI();
if (is_array($_POST) || is_object($_POST)) $AntiI->arrayPostGet($_POST);
if (is_array($_GET) || is_object($_GET)) $AntiI->arrayPostGet($_GET);
include_once('class/Connection.php');
include('class/Config.php');
include_once('class/Cryptor.php');
include_once('class/Functions.php');
$DB = new Connection;
$CONFIG = new Config;
$CRYPTOR = new Cryptor;
// exit('<pre>'.print_r( , true));
// ATENÇÃO !!!!!!!!!!!!!!!!!!!!!
// CRIAR UMA CHAVE GERADA NO PHP PARA VALIDAÇÃO JUNTAMENTE DO SOURCE E GETTER.
// ATENÇÃO !!!!!!!!!!!!!!!!!!!!!
if (isset($_GET['new'])) {
if (empty($_GET['pass'])) exit('Informar "pass"');
$passHash = password_hash($_GET['pass'], PASSWORD_BCRYPT);
echo('<pre>'.print_r(['senha' => $passHash], true));
$passOk = password_verify($_GET['pass'], $passHash);
echo('<pre>'.print_r(['passOk' => $passOk], true));
exit;
}
include_once('./include/includeGeral.php');
if (!isset($_GET['l'])) {
?>
<body>
<div class="font" style="font-size: 50px;margin: 0 auto;text-align: center;margin-top: 70px;">Orion Dev</div>
</body>
<?php
exit;
}
$hash = $_GET['l'];
?>
<style>
body {
margin: 0;
}
::-webkit-scrollbar {
width: 11px;
height: 11px;
}
::-webkit-scrollbar-thumb {
background: #cccccc;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #d6d6d6;
}
::-webkit-scrollbar-track {
background: #ffffff;
border-radius: 10px;
box-shadow: inset 7px 10px 12px #e8e8e8;
}
</style>
<iframe src="http://10.0.0.197/menuserver/store/?l=<?= $hash ?>" height="100%" width="100%" style="border:none;" title="Store"></iframe>
<php