restapi und gate als honeypot
This commit is contained in:
parent
b3df7aa993
commit
8ccb3d4e63
2
htaccess
2
htaccess
@ -15,4 +15,6 @@ Options +FollowSymLinks
|
|||||||
RewriteRule ^wp-admin.*$ /wp-login/index.php?h=wp-login [L]
|
RewriteRule ^wp-admin.*$ /wp-login/index.php?h=wp-login [L]
|
||||||
RewriteRule ^xmlrpc.php$ /wp-login/index.php?h=xmlrpc [L]
|
RewriteRule ^xmlrpc.php$ /wp-login/index.php?h=xmlrpc [L]
|
||||||
RewriteRule ^wp-content/.*& /wp-login/index.php?h=wp-content [L]
|
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]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
@ -22,6 +22,9 @@ if (isset ( $_GET ['h'] )) {
|
|||||||
</methodResponse>
|
</methodResponse>
|
||||||
';
|
';
|
||||||
}
|
}
|
||||||
|
if ($_GET ['h'] == 'api') {
|
||||||
|
echo '{"return":"success","version":"v1","_":' . time () . '}';
|
||||||
|
}
|
||||||
if ($_GET ['h'] == 'wp-login') {
|
if ($_GET ['h'] == 'wp-login') {
|
||||||
echo '<!DOCTYPE html>
|
echo '<!DOCTYPE html>
|
||||||
<html lang="de-DE">
|
<html lang="de-DE">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user