This commit is contained in:
flash 2015-03-08 04:59:12 +01:00
parent 03468c7f11
commit d8fc51e0ca
6 changed files with 23 additions and 1 deletions

1
main/.htaccess Normal file
View file

@ -0,0 +1 @@
# Empty .htaccess to make git realise this directory exists

9
main/git/.htaccess Normal file
View file

@ -0,0 +1,9 @@
Options -Indexes
<Files "passwd">
Require all denied
</Files>
<Files "git.php">
Require all denied
</Files>

10
main/git/git.php Normal file
View file

@ -0,0 +1,10 @@
<?php
$userFile = file_get_contents('passwd');
$usersTemp = explode("\r\n", $userFile);
$users = array();
foreach($usersTemp as $user) {
$users[] = explode(":", $userFile);
}
print_r($users);

2
main/git/index.php Normal file
View file

@ -0,0 +1,2 @@
<?php
require_once 'git.php';

1
main/git/passwd Normal file
View file

@ -0,0 +1 @@
flashwave:ThisIsHorribleIKnowYouMayKillMeLater

View file

@ -1 +0,0 @@
fgdhfhhdhhdf