BOT対策

This commit is contained in:
2025-12-12 19:40:02 +09:00
parent 6d6fa82fcf
commit 47cf4f9f54
4 changed files with 84 additions and 7 deletions

View File

@@ -18,6 +18,10 @@
{$ $password = randstr() $}
{$ $passwordVerify = randstr() $}
{$ $email = randstr() $}
{$ $botUsername = randstr() $}
{$ $botPassword = randstr() $}
{$ $botPasswordVerify = randstr() $}
{$ $botEmail = randstr() $}
<table>
<tbody>
<tr>
@@ -39,6 +43,14 @@
<tr>
<td></td>
<td>
<div style="position:absolute; left:-9999px;">
<input type="text" id="{{ $botUsername }}" name="{{ $botUsername }} value="" />
<input type="password" id="{{ $botPassword }}" name="{{ $botPassword }}" value="" />
<input type="password" id="{{ $botPasswordVerify }}" name="{{ $botPasswordVerify }}" />
<input type="email" id="{{ $botEmail }}" name="{{ $botEmail }}" value="" />
</div>
<a href="/?bot=1" style="display:none"></a>
<input type="hidden" id="csrf_token" name="csrf_token" value="{{ make_csrf_token() }}" />
<button>登録</button>
</td>