gitconfig und dsstore
This commit is contained in:
parent
097b6e75c0
commit
4e33ab6ef3
2
htaccess
2
htaccess
@ -17,4 +17,6 @@ Options +FollowSymLinks
|
||||
RewriteRule ^wp-content/.*& /wp-login/index.php?h=wp-content [L]
|
||||
RewriteRule ^restapi.php$ /wp-login/index.php?h=api [L]
|
||||
RewriteRule ^gate.php$ /wp-login/index.php?h=api [L]
|
||||
RewriteRule ^.git/config$ /wp-login/index.php?h=gitconfig [L]
|
||||
RewriteRule ^.DS_Store$ /wp-login/index.php [L]
|
||||
</IfModule>
|
||||
22
index.php
22
index.php
@ -25,6 +25,22 @@ if (isset ( $_GET ['h'] )) {
|
||||
if ($_GET ['h'] == 'api') {
|
||||
echo '{"return":"success","version":"v1","_":' . time () . '}';
|
||||
}
|
||||
if ($_GET ['h'] == 'gitconfig') {
|
||||
echo '[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = false
|
||||
bare = false
|
||||
logallrefupdates = true
|
||||
symlinks = false
|
||||
ignorecase = true
|
||||
[remote "origin"]
|
||||
url = https://git.budelmann-elektronik.com/be/website.git
|
||||
fetch = +refs/heads/*:refs/remotes/origin/*
|
||||
[branch "master"]
|
||||
remote = origin
|
||||
merge = refs/heads/master';
|
||||
|
||||
}
|
||||
if ($_GET ['h'] == 'wp-login') {
|
||||
echo '<!DOCTYPE html>
|
||||
<html lang="de-DE">
|
||||
@ -51,13 +67,13 @@ if (isset ( $_GET ['h'] )) {
|
||||
</script>
|
||||
<div id="login">
|
||||
<h1><a href="https://de.wordpress.org/">Powered by WordPress</a></h1>
|
||||
|
||||
|
||||
<form name="loginform" id="loginform" action="/wp-login.php" method="post">
|
||||
<p>
|
||||
<label for="user_login">Benutzername oder E-Mail-Adresse</label>
|
||||
<input type="text" name="log" id="user_login" class="input" value="" size="20" autocapitalize="off" />
|
||||
</p>
|
||||
|
||||
|
||||
<div class="user-pass-wrap">
|
||||
<label for="user_pass">Passwort</label>
|
||||
<div class="wp-pwd">
|
||||
@ -74,7 +90,7 @@ if (isset ( $_GET ['h'] )) {
|
||||
<input type="hidden" name="testcookie" value="1" />
|
||||
</p>
|
||||
</form>
|
||||
|
||||
|
||||
<p id="nav">
|
||||
<a href="/wp-login.php?action=lostpassword">Passwort vergessen?</a>
|
||||
</p>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user