restapi und gate als honeypot

This commit is contained in:
Sebastian Titz
2021-11-17 13:03:34 +01:00
parent b3df7aa993
commit 8ccb3d4e63
2 changed files with 5 additions and 0 deletions

View File

@@ -22,6 +22,9 @@ if (isset ( $_GET ['h'] )) {
</methodResponse>
';
}
if ($_GET ['h'] == 'api') {
echo '{"return":"success","version":"v1","_":' . time () . '}';
}
if ($_GET ['h'] == 'wp-login') {
echo '<!DOCTYPE html>
<html lang="de-DE">