Skip to content

Commit 960d1fb

Browse files
committed
Add hwinfo.php
that's right i'm hiding it this is just in preparation to a little script i will write tomorrow/today/later/it's 1am right now
1 parent 785ea67 commit 960d1fb

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

http/php/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
screen.png

http/php/.htaccess

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
<Files ".*format.py">
22
Require all denied
33
</Files>
4+
5+
<Files "hwinfo.php">
6+
AuthType Basic
7+
AuthName global
8+
AuthUserFile /etc/httpd/conf/passwd
9+
Require valid-user
10+
</Files>
11+

http/php/hwinfo.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<html>
2+
<head>
3+
<title>literally every single piece of information about the server hardware</title>
4+
</head>
5+
<body>
6+
<span style="font-family: Consolas, Ubuntu Mono, monospace;white-space:pre"><?php
7+
echo `hwinfo`
8+
?></span>
9+
</body>
10+
</html>

0 commit comments

Comments
 (0)