-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
160 lines (153 loc) · 5.83 KB
/
Copy pathheader.php
File metadata and controls
160 lines (153 loc) · 5.83 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
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
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
@import url('https://fonts.googleapis.com/css2?family=Victor+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Victor+Mono:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
html {
background-color: #F0F0F0;
font-size: 9pt;
}
a { color: #0067E6;}
a:visited { color: #3743DD;}
a:hover { color: #F57000;}
body {
font-family: "Victor Mono", 'Courier New', Courier, monospace;
padding-top: 20px;
}
div.main {
background-color: #fff;
margin: 0px auto;
max-width: 120ch;
padding: 20px 50px 20px 50px;
margin-bottom: 40px;
}
table {
width: 100%;
}
footer {
margin-bottom: 40px;
vertical-align: top;
}
p.notice {
border: 2px solid #EA4335;
color: #EA4335;
padding: 10px;
}
p.disclaimer {
border: 1px solid #ffbe0b;
color: #997207;
background-color: #ffbe0b4D;
margin: 0 auto;
padding: 10px;
max-width: 90%;
text-align: center;
font-size: 10pt;
}
table {
font-size: 10pt;
}
table a:link {
text-decoration: none;
}
h1 {
font-family: "Inter", 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif ;
font-weight: 900;
}
p {
font-family: "Inter", 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif ;
font-size: medium;
text-align: center;
}
div.drive {
width: 700px;
float: right;
text-align: right;
font-size: 9pt;
}
table tr:hover {
font-weight: 800;
}
table a[href$=".iso"],table a[href$=".ISO"] {
background: url('http://img.icons8.com/officel/13/cd.png') no-repeat;
background-position: left 4px;
vertical-align: middle;
padding-left: 20px;
}
table a[href$=".7z"],table a[href$=".zip"] {
background: url('http://img.icons8.com/tiny-color/13/archive-folder.png') no-repeat;
background-position: left 4px;
vertical-align: middle;
padding-left: 20px;
}
table a[href$=".7z"],table a[href$=".zip"] ,table a[href$=".rar"] ,table a[href$=".RAR"]{
background: url('http://img.icons8.com/tiny-color/13/archive-folder.png') no-repeat;
background-position: left 4px;
vertical-align: middle;
padding-left: 20px;
}
table a[href$=".txt"],table a[href$=".t"] {
background: url('http://img.icons8.com/forma-thin/13/document.png') no-repeat;
background-position: left 4px;
vertical-align: middle;
padding-left: 20px;
}
table a[href$=".md5.txt"],table a[href$=".md5.t"],table a[href$=".sha256.t"],table a[href$=".sha1.t"] ,table a[href$="md5sum.txt"],table a[href$=".crc32.t"]{
background: url('http://img.icons8.com/small/13/hashtag.png') no-repeat;
background-position: left 4px;
vertical-align: middle;
padding-left: 20px;
}
table a[href$=".pdf"] {
background: url('http://img.icons8.com/officexs/13/pdf-2.png') no-repeat;
background-position: left 4px;
vertical-align: middle;
padding-left: 20px;
}
table a[href$=".exe"], table a[href$="Win11_23H2_English_x64.iso"] {
background: url('http://img.icons8.com/external-tal-revivo-color-tal-revivo/13/external-microsoft-corporation-an-american-multinational-technology-company-logo-color-tal-revivo.png') no-repeat;
background-position: left 4px;
vertical-align: middle;
padding-left: 20px;
}
table a[href$="/"] {
background: url('http://img.icons8.com/color/13/folder-invoices--v1.png') no-repeat;
background-position: left 4px;
vertical-align: middle;
padding-left: 20px;
}
table a[href$=".img"], table a[href$=".ima"] {
background: url('http://img.icons8.com/external-xnimrodx-lineal-color-xnimrodx/13/external-floppy-disk-computer-xnimrodx-lineal-color-xnimrodx.png') no-repeat;
background-position: left 4px;
vertical-align: middle;
padding-left: 20px;
}
table a[href$=".ps1"] {
background: url('http://img.icons8.com/external-tal-revivo-color-tal-revivo/13/external-powershell-a-task-based-command-line-shell-and-scripting-language-logo-color-tal-revivo.png') no-repeat;
background-position: left 4px;
vertical-align: middle;
padding-left: 20px;
}
table tr td {
padding-top: 5px;
}
</style>
<script src="https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/fancybox/fancybox.umd.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/[email protected]/dist/fancybox/fancybox.css"/>
<link rel="author" href="/humans.txt" />
<script defer data-project="67e48dddb96982443769bff1" src="https://cdn.jsdelivr.net/gh/litlyx/litlyx-js/browser/litlyx.js"></script>
</head>
<body>
<div class="main">
<div class="drive">
<img width="16" height="16" src="https://img.icons8.com/external-flat-chattapat-/16/external-data-computer-hardware-flat-chattapat-.png" alt="external-data-computer-hardware-flat-chattapat-"/>
<span style="margin-right: 10px;">/dev/sdc1</span>
<strong>Used:</strong> <span style="margin-right: 10px;"><?php echo shell_exec("df -h | grep sdc1 | awk '{print $3}' | tr -d '\n'"); ?></span>
<strong>Avail:</strong> <span style="margin-right: 10px;"><?php echo shell_exec("df -h | grep sdc1 | awk '{print $2}' | tr -d '\n'"); ?></span>
<strong>Free:</strong> <span style="margin-right: 20px;"><?php echo shell_exec("df -h | grep sdc1 | awk '{print $4}' | tr -d '\n'"); ?></span>
<progress max="100" high="80" value="<?php echo shell_exec("df -h | grep sdc1 | awk '{print $5}'| sed 's/%//g' | tr -d '\n'"); ?>"></progress>
</div>
<h1>My Server Files</h1>