mirror of
https://codeberg.org/vlw/honeypot.git
synced 2025-11-05 12:32:42 +01:00
Baby steps that implements everything from the original [unfinished] version of this project from a bit over 2 years ago. We'll see what fun stuff we can add over time! Reviewed-on: https://codeberg.org/vlw/honeypot/pulls/1 Co-authored-by: vlw <victor@vlw.se> Co-committed-by: vlw <victor@vlw.se>
11 lines
No EOL
184 B
PHP
11 lines
No EOL
184 B
PHP
<?php
|
|
|
|
use function Honeypot\Log\save_log;
|
|
|
|
require_once VV::root("src/Log.php");
|
|
|
|
if ($_SERVER["REQUEST_METHOD"] === "POST" && !empty($_POST)) {
|
|
save_log((object) $_POST);
|
|
}
|
|
|
|
?>
|