diff --git a/TheBattleCar/README.md b/TheBattleCar/README.md new file mode 100644 index 0000000..7946fd9 --- /dev/null +++ b/TheBattleCar/README.md @@ -0,0 +1,2 @@ +python app.py +鐧婚檰 127.0.0.1:8000/login diff --git a/TheBattleCar/__pycache__/models.cpython-312.pyc b/TheBattleCar/__pycache__/models.cpython-312.pyc new file mode 100644 index 0000000..014ed8f Binary files /dev/null and b/TheBattleCar/__pycache__/models.cpython-312.pyc differ diff --git a/TheBattleCar/app.log b/TheBattleCar/app.log new file mode 100644 index 0000000..180c57d --- /dev/null +++ b/TheBattleCar/app.log @@ -0,0 +1,1330 @@ +2024-10-28 22:29:57,445 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://10.128.54.153:8000 +2024-10-28 22:29:57,445 - INFO - Press CTRL+C to quit +2024-10-28 22:29:57,490 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:29:59,616 - WARNING - * Debugger is active! +2024-10-28 22:29:59,635 - INFO - * Debugger PIN: 266-144-430 +2024-10-28 22:30:26,650 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://10.128.54.153:8000 +2024-10-28 22:30:26,650 - INFO - Press CTRL+C to quit +2024-10-28 22:30:26,684 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:30:28,432 - WARNING - * Debugger is active! +2024-10-28 22:30:28,443 - INFO - * Debugger PIN: 266-144-430 +2024-10-28 22:30:43,459 - INFO - 127.0.0.1 - - [28/Oct/2024 22:30:43] "GET /commander HTTP/1.1" 302 - +2024-10-28 22:30:43,479 - INFO - Handling login request +2024-10-28 22:30:43,483 - INFO - 127.0.0.1 - - [28/Oct/2024 22:30:43] "GET /login?next=/commander HTTP/1.1" 200 - +2024-10-28 22:30:49,231 - INFO - Handling login request +2024-10-28 22:30:49,238 - INFO - 127.0.0.1 - - [28/Oct/2024 22:30:49] "GET /login HTTP/1.1" 200 - +2024-10-28 22:30:52,028 - INFO - Handling login request +2024-10-28 22:30:52,032 - INFO - User admin logged in with role 指挥者 +2024-10-28 22:30:52,035 - INFO - 127.0.0.1 - - [28/Oct/2024 22:30:52] "POST /login HTTP/1.1" 302 - +2024-10-28 22:30:52,064 - INFO - Accessing commander page +2024-10-28 22:30:52,274 - INFO - 127.0.0.1 - - [28/Oct/2024 22:30:52] "GET /commander HTTP/1.1" 200 - +2024-10-28 22:30:52,274 - INFO - * Detected change in 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_3.12.2032.0_x64__qbz5n2kfra8p0\\Lib\\encodings\\unicode_escape.py', reloading +2024-10-28 22:30:52,388 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:30:52,394 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:30:52,464 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:30:52,953 - INFO - 127.0.0.1 - - [28/Oct/2024 22:30:52] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-28 22:30:53,004 - INFO - 127.0.0.1 - - [28/Oct/2024 22:30:53] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-28 22:30:53,262 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:30:55,220 - WARNING - * Debugger is active! +2024-10-28 22:30:55,232 - INFO - * Debugger PIN: 266-144-430 +2024-10-28 22:30:55,370 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:30:55,664 - INFO - 127.0.0.1 - - [28/Oct/2024 22:30:55] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-28 22:31:01,288 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:31:01,288 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:01] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-28 22:31:05,044 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:05] "GET /commander HTTP/1.1" 302 - +2024-10-28 22:31:05,066 - INFO - Handling login request +2024-10-28 22:31:05,069 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:05] "GET /login?next=/commander HTTP/1.1" 200 - +2024-10-28 22:31:08,675 - INFO - Handling login request +2024-10-28 22:31:08,675 - INFO - User admin logged in with role 指挥者 +2024-10-28 22:31:08,675 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:08] "POST /login?next=/commander HTTP/1.1" 302 - +2024-10-28 22:31:08,703 - INFO - Accessing commander page +2024-10-28 22:31:08,888 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:08] "GET /commander HTTP/1.1" 200 - +2024-10-28 22:31:09,054 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:31:09,054 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:09] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-28 22:31:09,083 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:31:09,086 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:09] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-28 22:31:09,108 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:31:09,113 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:09] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-28 22:31:12,697 - INFO - Handling login request +2024-10-28 22:31:12,697 - INFO - User admin logged in with role 攻击者 +2024-10-28 22:31:12,700 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:12] "POST /login?next=/commander HTTP/1.1" 302 - +2024-10-28 22:31:12,721 - INFO - Accessing attacker page +2024-10-28 22:31:12,721 - WARNING - Unauthorized access to attacker page +2024-10-28 22:31:12,721 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:12] "GET /attacker HTTP/1.1" 302 - +2024-10-28 22:31:12,749 - INFO - Handling login request +2024-10-28 22:31:12,752 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:12] "GET /login HTTP/1.1" 200 - +2024-10-28 22:31:15,441 - INFO - Handling login request +2024-10-28 22:31:15,441 - INFO - User admin logged in with role 攻击者 +2024-10-28 22:31:15,441 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:15] "POST /login HTTP/1.1" 302 - +2024-10-28 22:31:15,466 - INFO - Accessing attacker page +2024-10-28 22:31:15,466 - WARNING - Unauthorized access to attacker page +2024-10-28 22:31:15,469 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:15] "GET /attacker HTTP/1.1" 302 - +2024-10-28 22:31:15,480 - INFO - Handling login request +2024-10-28 22:31:15,480 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:15] "GET /login HTTP/1.1" 200 - +2024-10-28 22:31:18,808 - INFO - Handling login request +2024-10-28 22:31:18,810 - INFO - User admin logged in with role 攻击者 +2024-10-28 22:31:18,811 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:18] "POST /login HTTP/1.1" 302 - +2024-10-28 22:31:18,835 - INFO - Accessing attacker page +2024-10-28 22:31:18,835 - WARNING - Unauthorized access to attacker page +2024-10-28 22:31:18,835 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:18] "GET /attacker HTTP/1.1" 302 - +2024-10-28 22:31:18,861 - INFO - Handling login request +2024-10-28 22:31:18,861 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:18] "GET /login HTTP/1.1" 200 - +2024-10-28 22:31:20,984 - INFO - Handling login request +2024-10-28 22:31:20,984 - INFO - User admin logged in with role 指挥者 +2024-10-28 22:31:20,984 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:20] "POST /login HTTP/1.1" 302 - +2024-10-28 22:31:21,015 - INFO - Accessing commander page +2024-10-28 22:31:21,030 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:21] "GET /commander HTTP/1.1" 200 - +2024-10-28 22:31:21,141 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:31:21,141 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:21] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-28 22:31:21,165 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:31:21,165 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:21] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-28 22:31:21,256 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:31:21,256 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:21] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-28 22:31:27,023 - INFO - Handling login request +2024-10-28 22:31:27,024 - INFO - User admin logged in with role 攻击者 +2024-10-28 22:31:27,024 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:27] "POST /login HTTP/1.1" 302 - +2024-10-28 22:31:27,044 - INFO - Accessing attacker page +2024-10-28 22:31:27,044 - WARNING - Unauthorized access to attacker page +2024-10-28 22:31:27,044 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:27] "GET /attacker HTTP/1.1" 302 - +2024-10-28 22:31:27,061 - INFO - Handling login request +2024-10-28 22:31:27,061 - INFO - 127.0.0.1 - - [28/Oct/2024 22:31:27] "GET /login HTTP/1.1" 200 - +2024-10-28 22:32:07,524 - INFO - * Detected change in 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_3.12.2032.0_x64__qbz5n2kfra8p0\\Lib\\io.py', reloading +2024-10-28 22:32:07,784 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:32:09,683 - WARNING - * Debugger is active! +2024-10-28 22:32:09,695 - INFO - * Debugger PIN: 266-144-430 +2024-10-28 22:32:42,797 - INFO - Handling login request +2024-10-28 22:32:42,801 - INFO - User admin logged in with role 攻击者 +2024-10-28 22:32:42,802 - INFO - 127.0.0.1 - - [28/Oct/2024 22:32:42] "POST /login HTTP/1.1" 302 - +2024-10-28 22:32:42,823 - INFO - Accessing attacker page +2024-10-28 22:32:42,823 - WARNING - Unauthorized access to attacker page +2024-10-28 22:32:42,823 - INFO - 127.0.0.1 - - [28/Oct/2024 22:32:42] "GET /attacker HTTP/1.1" 302 - +2024-10-28 22:32:42,844 - INFO - Handling login request +2024-10-28 22:32:42,853 - INFO - 127.0.0.1 - - [28/Oct/2024 22:32:42] "GET /login HTTP/1.1" 200 - +2024-10-28 22:32:52,759 - INFO - Accessing attacker page +2024-10-28 22:32:52,759 - WARNING - Unauthorized access to attacker page +2024-10-28 22:32:52,760 - INFO - 127.0.0.1 - - [28/Oct/2024 22:32:52] "GET /attacker HTTP/1.1" 302 - +2024-10-28 22:32:52,766 - INFO - Handling login request +2024-10-28 22:32:52,766 - INFO - 127.0.0.1 - - [28/Oct/2024 22:32:52] "GET /login HTTP/1.1" 200 - +2024-10-28 22:33:36,686 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://10.128.54.153:8000 +2024-10-28 22:33:36,686 - INFO - Press CTRL+C to quit +2024-10-28 22:33:36,715 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:33:38,615 - WARNING - * Debugger is active! +2024-10-28 22:33:38,622 - INFO - * Debugger PIN: 266-144-430 +2024-10-28 22:33:40,011 - INFO - Handling login request +2024-10-28 22:33:40,019 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:40] "GET /login HTTP/1.1" 200 - +2024-10-28 22:33:43,183 - INFO - Handling login request +2024-10-28 22:33:43,188 - INFO - User admin logged in with role 攻击者 +2024-10-28 22:33:43,188 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:43] "POST /login HTTP/1.1" 302 - +2024-10-28 22:33:43,218 - INFO - Accessing attacker page +2024-10-28 22:33:43,218 - WARNING - Unauthorized access to attacker page +2024-10-28 22:33:43,224 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:43] "GET /attacker HTTP/1.1" 302 - +2024-10-28 22:33:43,238 - INFO - Handling login request +2024-10-28 22:33:43,241 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:43] "GET /login HTTP/1.1" 200 - +2024-10-28 22:33:45,607 - INFO - Handling login request +2024-10-28 22:33:45,607 - INFO - User admin logged in with role 指挥者 +2024-10-28 22:33:45,607 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:45] "POST /login HTTP/1.1" 302 - +2024-10-28 22:33:45,633 - INFO - Accessing commander page +2024-10-28 22:33:45,807 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:45] "GET /commander HTTP/1.1" 200 - +2024-10-28 22:33:45,926 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:33:45,942 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:33:46,059 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:33:46,423 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:46] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-28 22:33:46,547 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:46] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-28 22:33:46,669 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:46] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-28 22:33:50,789 - INFO - Handling login request +2024-10-28 22:33:50,789 - INFO - User admin logged in with role 侦查者 +2024-10-28 22:33:50,789 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:50] "POST /login HTTP/1.1" 302 - +2024-10-28 22:33:50,818 - INFO - Accessing scout page +2024-10-28 22:33:50,818 - WARNING - Unauthorized access to scout page +2024-10-28 22:33:50,818 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:50] "GET /scout HTTP/1.1" 302 - +2024-10-28 22:33:50,841 - INFO - Handling login request +2024-10-28 22:33:50,844 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:50] "GET /login HTTP/1.1" 200 - +2024-10-28 22:33:52,358 - INFO - Handling login request +2024-10-28 22:33:52,358 - INFO - User admin logged in with role 侦查者 +2024-10-28 22:33:52,358 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:52] "POST /login HTTP/1.1" 302 - +2024-10-28 22:33:52,385 - INFO - Accessing scout page +2024-10-28 22:33:52,385 - WARNING - Unauthorized access to scout page +2024-10-28 22:33:52,387 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:52] "GET /scout HTTP/1.1" 302 - +2024-10-28 22:33:52,406 - INFO - Handling login request +2024-10-28 22:33:52,407 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:52] "GET /login HTTP/1.1" 200 - +2024-10-28 22:33:53,153 - INFO - Handling login request +2024-10-28 22:33:53,153 - INFO - User admin logged in with role 侦查者 +2024-10-28 22:33:53,154 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:53] "POST /login HTTP/1.1" 302 - +2024-10-28 22:33:53,191 - INFO - Accessing scout page +2024-10-28 22:33:53,191 - WARNING - Unauthorized access to scout page +2024-10-28 22:33:53,191 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:53] "GET /scout HTTP/1.1" 302 - +2024-10-28 22:33:53,211 - INFO - Handling login request +2024-10-28 22:33:53,211 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:53] "GET /login HTTP/1.1" 200 - +2024-10-28 22:33:55,585 - INFO - Handling login request +2024-10-28 22:33:55,586 - INFO - User admin logged in with role 指挥者 +2024-10-28 22:33:55,587 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:55] "POST /login HTTP/1.1" 302 - +2024-10-28 22:33:55,610 - INFO - Accessing commander page +2024-10-28 22:33:55,629 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:55] "GET /commander HTTP/1.1" 200 - +2024-10-28 22:33:55,759 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:33:55,761 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:55] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-28 22:33:55,771 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:33:55,771 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:55] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-28 22:33:55,861 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:33:55,867 - INFO - 127.0.0.1 - - [28/Oct/2024 22:33:55] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-28 22:34:18,452 - INFO - Handling send attack request +2024-10-28 22:34:18,476 - INFO - Attack coordinate sent: 222 +2024-10-28 22:34:18,477 - INFO - 127.0.0.1 - - [28/Oct/2024 22:34:18] "POST /send_attack HTTP/1.1" 302 - +2024-10-28 22:34:18,503 - INFO - Accessing commander page +2024-10-28 22:34:18,532 - INFO - 127.0.0.1 - - [28/Oct/2024 22:34:18] "GET /commander HTTP/1.1" 200 - +2024-10-28 22:34:18,634 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:34:18,636 - INFO - 127.0.0.1 - - [28/Oct/2024 22:34:18] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-28 22:34:18,640 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:34:18,643 - INFO - 127.0.0.1 - - [28/Oct/2024 22:34:18] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-28 22:34:18,749 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:34:18,749 - INFO - 127.0.0.1 - - [28/Oct/2024 22:34:18] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-28 22:34:25,948 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:34:25,949 - INFO - 127.0.0.1 - - [28/Oct/2024 22:34:25] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-28 22:37:01,962 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://10.128.54.153:8000 +2024-10-28 22:37:01,966 - INFO - Press CTRL+C to quit +2024-10-28 22:37:01,996 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:37:03,718 - WARNING - * Debugger is active! +2024-10-28 22:37:03,730 - INFO - * Debugger PIN: 266-144-430 +2024-10-28 22:37:04,718 - INFO - * Detected change in 'E:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:37:04,718 - INFO - * Detected change in 'E:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:37:04,721 - INFO - * Detected change in 'E:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:37:05,072 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:37:10,119 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://10.128.54.153:8000 +2024-10-28 22:37:10,119 - INFO - Press CTRL+C to quit +2024-10-28 22:37:10,156 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:37:12,112 - WARNING - * Debugger is active! +2024-10-28 22:37:12,124 - INFO - * Debugger PIN: 266-144-430 +2024-10-28 22:37:26,734 - INFO - Handling login request +2024-10-28 22:37:26,739 - INFO - 127.0.0.1 - - [28/Oct/2024 22:37:26] "GET /login HTTP/1.1" 200 - +2024-10-28 22:37:29,590 - INFO - Handling login request +2024-10-28 22:37:29,596 - INFO - User admin logged in with role 侦查者 +2024-10-28 22:37:29,599 - INFO - 127.0.0.1 - - [28/Oct/2024 22:37:29] "POST /login HTTP/1.1" 302 - +2024-10-28 22:37:29,617 - INFO - Accessing scout page +2024-10-28 22:37:29,618 - WARNING - Unauthorized access to scout page +2024-10-28 22:37:29,618 - INFO - 127.0.0.1 - - [28/Oct/2024 22:37:29] "GET /scout HTTP/1.1" 302 - +2024-10-28 22:37:29,628 - INFO - Handling login request +2024-10-28 22:37:29,628 - INFO - 127.0.0.1 - - [28/Oct/2024 22:37:29] "GET /login HTTP/1.1" 200 - +2024-10-28 22:37:32,249 - INFO - Handling login request +2024-10-28 22:37:32,249 - INFO - User admin logged in with role 指挥者 +2024-10-28 22:37:32,249 - INFO - 127.0.0.1 - - [28/Oct/2024 22:37:32] "POST /login HTTP/1.1" 302 - +2024-10-28 22:37:32,274 - INFO - Accessing commander page +2024-10-28 22:37:32,442 - INFO - 127.0.0.1 - - [28/Oct/2024 22:37:32] "GET /commander HTTP/1.1" 200 - +2024-10-28 22:37:32,561 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:37:32,586 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:37:32,650 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:37:33,053 - INFO - 127.0.0.1 - - [28/Oct/2024 22:37:33] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 200 - +2024-10-28 22:37:33,181 - INFO - 127.0.0.1 - - [28/Oct/2024 22:37:33] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 200 - +2024-10-28 22:37:33,294 - INFO - 127.0.0.1 - - [28/Oct/2024 22:37:33] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 200 - +2024-10-28 22:39:57,236 - INFO - * Detected change in 'E:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:39:57,242 - INFO - * Detected change in 'E:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:39:57,242 - INFO - * Detected change in 'E:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:39:57,522 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:40:02,092 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://10.128.54.153:8000 +2024-10-28 22:40:02,092 - INFO - Press CTRL+C to quit +2024-10-28 22:40:02,127 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:40:04,074 - WARNING - * Debugger is active! +2024-10-28 22:40:04,085 - INFO - * Debugger PIN: 266-144-430 +2024-10-28 22:40:05,591 - INFO - Handling login request +2024-10-28 22:40:05,599 - INFO - 127.0.0.1 - - [28/Oct/2024 22:40:05] "GET /login HTTP/1.1" 200 - +2024-10-28 22:40:07,060 - INFO - Handling login request +2024-10-28 22:40:07,239 - WARNING - Invalid credentials +2024-10-28 22:40:07,241 - INFO - 127.0.0.1 - - [28/Oct/2024 22:40:07] "POST /login HTTP/1.1" 200 - +2024-10-28 22:40:11,798 - INFO - Handling login request +2024-10-28 22:40:11,799 - INFO - 127.0.0.1 - - [28/Oct/2024 22:40:11] "GET /login HTTP/1.1" 200 - +2024-10-28 22:40:13,641 - INFO - Handling login request +2024-10-28 22:40:13,658 - WARNING - Invalid credentials +2024-10-28 22:40:13,659 - INFO - 127.0.0.1 - - [28/Oct/2024 22:40:13] "POST /login HTTP/1.1" 200 - +2024-10-28 22:40:14,638 - INFO - Handling login request +2024-10-28 22:40:14,638 - INFO - 127.0.0.1 - - [28/Oct/2024 22:40:14] "GET /login HTTP/1.1" 200 - +2024-10-28 22:40:16,744 - INFO - Handling login request +2024-10-28 22:40:16,760 - WARNING - Invalid credentials +2024-10-28 22:40:16,763 - INFO - 127.0.0.1 - - [28/Oct/2024 22:40:16] "POST /login HTTP/1.1" 200 - +2024-10-28 22:42:54,269 - INFO - * Detected change in 'E:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:42:54,273 - INFO - * Detected change in 'E:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:42:54,274 - INFO - * Detected change in 'E:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:42:54,765 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:42:56,766 - WARNING - * Debugger is active! +2024-10-28 22:42:56,778 - INFO - * Debugger PIN: 266-144-430 +2024-10-28 22:43:02,665 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://10.128.54.153:8000 +2024-10-28 22:43:02,665 - INFO - Press CTRL+C to quit +2024-10-28 22:43:02,701 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:43:04,722 - WARNING - * Debugger is active! +2024-10-28 22:43:04,736 - INFO - * Debugger PIN: 266-144-430 +2024-10-28 22:43:06,421 - INFO - Handling login request +2024-10-28 22:43:06,568 - INFO - User admin logged in with role 指挥者 +2024-10-28 22:43:06,584 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:06] "POST /login HTTP/1.1" 302 - +2024-10-28 22:43:06,615 - INFO - Accessing commander page +2024-10-28 22:43:06,631 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:06] "GET /commander HTTP/1.1" 200 - +2024-10-28 22:43:06,710 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:43:06,710 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:43:06,847 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:43:07,245 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:07] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 200 - +2024-10-28 22:43:07,262 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:07] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 200 - +2024-10-28 22:43:07,458 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:07] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 200 - +2024-10-28 22:43:08,801 - INFO - Handling login request +2024-10-28 22:43:08,817 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:08] "GET /login HTTP/1.1" 200 - +2024-10-28 22:43:11,646 - INFO - Handling login request +2024-10-28 22:43:11,662 - INFO - User admin logged in with role 指挥者 +2024-10-28 22:43:11,662 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:11] "POST /login HTTP/1.1" 302 - +2024-10-28 22:43:11,708 - INFO - Accessing commander page +2024-10-28 22:43:11,716 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:11] "GET /commander HTTP/1.1" 200 - +2024-10-28 22:43:11,820 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:43:11,820 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:11] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-28 22:43:11,835 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:43:11,835 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:11] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-28 22:43:11,917 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:43:11,919 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:11] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-28 22:43:16,520 - INFO - Handling login request +2024-10-28 22:43:16,537 - INFO - User admin logged in with role 指挥者 +2024-10-28 22:43:16,537 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:16] "POST /login HTTP/1.1" 302 - +2024-10-28 22:43:16,579 - INFO - Accessing commander page +2024-10-28 22:43:16,581 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:16] "GET /commander HTTP/1.1" 200 - +2024-10-28 22:43:16,692 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:43:16,692 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:16] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-28 22:43:16,698 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:43:16,699 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:16] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-28 22:43:16,772 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:43:16,779 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:16] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-28 22:43:19,387 - INFO - Handling login request +2024-10-28 22:43:19,406 - INFO - User admin logged in with role 指挥者 +2024-10-28 22:43:19,406 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:19] "POST /login HTTP/1.1" 302 - +2024-10-28 22:43:19,446 - INFO - Accessing commander page +2024-10-28 22:43:19,449 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:19] "GET /commander HTTP/1.1" 200 - +2024-10-28 22:43:19,585 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:43:19,590 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:19] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-28 22:43:19,597 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:43:19,597 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:19] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-28 22:43:19,676 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:43:19,676 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:19] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-28 22:43:25,334 - INFO - Handling login request +2024-10-28 22:43:25,351 - INFO - User scout logged in with role 侦查者 +2024-10-28 22:43:25,355 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:25] "POST /login HTTP/1.1" 302 - +2024-10-28 22:43:25,401 - INFO - Accessing scout page +2024-10-28 22:43:25,401 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:25] "GET /scout HTTP/1.1" 200 - +2024-10-28 22:43:34,953 - INFO - Handling login request +2024-10-28 22:43:34,969 - INFO - User attacker logged in with role 攻击者 +2024-10-28 22:43:34,971 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:34] "POST /login HTTP/1.1" 302 - +2024-10-28 22:43:35,012 - INFO - Accessing attacker page +2024-10-28 22:43:35,025 - INFO - 127.0.0.1 - - [28/Oct/2024 22:43:35] "GET /attacker HTTP/1.1" 200 - +2024-10-28 22:44:14,631 - INFO - Handling login request +2024-10-28 22:44:14,650 - INFO - User scout logged in with role 侦查者 +2024-10-28 22:44:14,650 - INFO - 127.0.0.1 - - [28/Oct/2024 22:44:14] "POST /login HTTP/1.1" 302 - +2024-10-28 22:44:14,689 - INFO - Accessing scout page +2024-10-28 22:44:14,692 - INFO - 127.0.0.1 - - [28/Oct/2024 22:44:14] "GET /scout HTTP/1.1" 200 - +2024-10-28 22:44:21,108 - INFO - Handling send message request +2024-10-28 22:44:21,111 - INFO - 127.0.0.1 - - [28/Oct/2024 22:44:21] "GET /send_message HTTP/1.1" 200 - +2024-10-28 22:44:53,349 - INFO - Handling login request +2024-10-28 22:44:53,368 - INFO - User admin logged in with role 指挥者 +2024-10-28 22:44:53,370 - INFO - 127.0.0.1 - - [28/Oct/2024 22:44:53] "POST /login HTTP/1.1" 302 - +2024-10-28 22:44:53,409 - INFO - Accessing commander page +2024-10-28 22:44:53,414 - INFO - 127.0.0.1 - - [28/Oct/2024 22:44:53] "GET /commander HTTP/1.1" 200 - +2024-10-28 22:44:53,522 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:44:53,533 - INFO - 127.0.0.1 - - [28/Oct/2024 22:44:53] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-28 22:44:53,534 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:44:53,536 - INFO - 127.0.0.1 - - [28/Oct/2024 22:44:53] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-28 22:44:53,639 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:44:53,647 - INFO - 127.0.0.1 - - [28/Oct/2024 22:44:53] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-28 22:45:07,482 - INFO - Handling login request +2024-10-28 22:45:07,500 - INFO - User attacker logged in with role 攻击者 +2024-10-28 22:45:07,502 - INFO - 127.0.0.1 - - [28/Oct/2024 22:45:07] "POST /login HTTP/1.1" 302 - +2024-10-28 22:45:07,543 - INFO - Accessing attacker page +2024-10-28 22:45:07,547 - INFO - 127.0.0.1 - - [28/Oct/2024 22:45:07] "GET /attacker HTTP/1.1" 200 - +2024-10-28 22:45:13,171 - INFO - Handling execute attack request for ID: 4 +2024-10-28 22:45:13,175 - INFO - Attack executed for ID: 4 +2024-10-28 22:45:13,175 - INFO - 127.0.0.1 - - [28/Oct/2024 22:45:13] "POST /execute_attack/4 HTTP/1.1" 302 - +2024-10-28 22:45:13,225 - INFO - Accessing attacker page +2024-10-28 22:45:13,227 - INFO - 127.0.0.1 - - [28/Oct/2024 22:45:13] "GET /attacker HTTP/1.1" 200 - +2024-10-28 22:45:17,973 - INFO - Handling login request +2024-10-28 22:45:17,996 - INFO - User admin logged in with role 指挥者 +2024-10-28 22:45:17,998 - INFO - 127.0.0.1 - - [28/Oct/2024 22:45:17] "POST /login HTTP/1.1" 302 - +2024-10-28 22:45:18,029 - INFO - Accessing commander page +2024-10-28 22:45:18,034 - INFO - 127.0.0.1 - - [28/Oct/2024 22:45:18] "GET /commander HTTP/1.1" 200 - +2024-10-28 22:45:18,155 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:45:18,155 - INFO - 127.0.0.1 - - [28/Oct/2024 22:45:18] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-28 22:45:18,172 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:45:18,172 - INFO - 127.0.0.1 - - [28/Oct/2024 22:45:18] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-28 22:45:18,228 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:45:18,232 - INFO - 127.0.0.1 - - [28/Oct/2024 22:45:18] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-28 22:46:16,716 - INFO - Handling login request +2024-10-28 22:46:16,721 - INFO - 127.0.0.1 - - [28/Oct/2024 22:46:16] "GET /login HTTP/1.1" 200 - +2024-10-28 22:46:18,305 - INFO - 127.0.0.1 - - [28/Oct/2024 22:46:18] "GET /favicon.ico HTTP/1.1" 404 - +2024-10-28 22:46:31,891 - INFO - 127.0.0.1 - - [28/Oct/2024 22:46:31] "GET /view_logs HTTP/1.1" 302 - +2024-10-28 22:46:31,914 - INFO - Handling login request +2024-10-28 22:46:31,914 - INFO - 127.0.0.1 - - [28/Oct/2024 22:46:31] "GET /login?next=/view_logs HTTP/1.1" 200 - +2024-10-28 22:46:45,710 - INFO - Handling login request +2024-10-28 22:46:45,734 - INFO - User admin logged in with role 指挥者 +2024-10-28 22:46:45,734 - INFO - 127.0.0.1 - - [28/Oct/2024 22:46:45] "POST /login?next=/view_logs HTTP/1.1" 302 - +2024-10-28 22:46:45,768 - INFO - Accessing commander page +2024-10-28 22:46:45,768 - INFO - 127.0.0.1 - - [28/Oct/2024 22:46:45] "GET /commander HTTP/1.1" 200 - +2024-10-28 22:46:45,879 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:46:45,879 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:46:45,879 - INFO - 127.0.0.1 - - [28/Oct/2024 22:46:45] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-28 22:46:45,879 - INFO - 127.0.0.1 - - [28/Oct/2024 22:46:45] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-28 22:46:45,992 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:46:45,992 - INFO - 127.0.0.1 - - [28/Oct/2024 22:46:45] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-28 22:46:55,150 - INFO - 127.0.0.1 - - [28/Oct/2024 22:46:55] "GET /commander/view_logs HTTP/1.1" 404 - +2024-10-28 22:47:37,404 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\werkzeug\\routing\\map.py', reloading +2024-10-28 22:47:37,503 - INFO - 127.0.0.1 - - [28/Oct/2024 22:47:37] "GET /view_logs HTTP/1.1" 500 - +2024-10-28 22:47:37,591 - INFO - 127.0.0.1 - - [28/Oct/2024 22:47:37] "GET /view_logs?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 200 - +2024-10-28 22:47:37,614 - INFO - 127.0.0.1 - - [28/Oct/2024 22:47:37] "GET /view_logs?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 200 - +2024-10-28 22:47:37,809 - INFO - 127.0.0.1 - - [28/Oct/2024 22:47:37] "GET /view_logs?__debugger__=yes&cmd=resource&f=console.png&s=abx8odaX3rKMJwcIElt9 HTTP/1.1" 200 - +2024-10-28 22:47:37,944 - INFO - 127.0.0.1 - - [28/Oct/2024 22:47:37] "GET /view_logs?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 200 - +2024-10-28 22:47:38,290 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:47:40,573 - WARNING - * Debugger is active! +2024-10-28 22:47:40,589 - INFO - * Debugger PIN: 266-144-430 +2024-10-28 22:51:20,421 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:51:20,421 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:51:20,426 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:51:20,909 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:51:43,637 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://10.128.54.153:8000 +2024-10-28 22:51:43,637 - INFO - Press CTRL+C to quit +2024-10-28 22:51:43,674 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:51:45,697 - WARNING - * Debugger is active! +2024-10-28 22:51:45,708 - INFO - * Debugger PIN: 266-144-430 +2024-10-28 22:51:49,775 - INFO - Handling login request +2024-10-28 22:51:49,781 - INFO - 127.0.0.1 - - [28/Oct/2024 22:51:49] "GET /login HTTP/1.1" 200 - +2024-10-28 22:51:52,836 - INFO - Handling login request +2024-10-28 22:51:53,014 - INFO - User admin logged in with role 指挥者 +2024-10-28 22:51:53,019 - INFO - 127.0.0.1 - - [28/Oct/2024 22:51:53] "POST /login HTTP/1.1" 302 - +2024-10-28 22:51:53,055 - INFO - Accessing commander page +2024-10-28 22:51:53,073 - INFO - 127.0.0.1 - - [28/Oct/2024 22:51:53] "GET /commander HTTP/1.1" 200 - +2024-10-28 22:51:53,191 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:51:53,213 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:51:53,279 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:51:53,802 - INFO - 127.0.0.1 - - [28/Oct/2024 22:51:53] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-28 22:51:53,830 - INFO - 127.0.0.1 - - [28/Oct/2024 22:51:53] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-28 22:51:53,954 - INFO - 127.0.0.1 - - [28/Oct/2024 22:51:53] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-28 22:51:57,166 - INFO - Handling send attack request +2024-10-28 22:51:57,170 - INFO - Attack coordinate sent: 333 +2024-10-28 22:51:57,171 - INFO - 127.0.0.1 - - [28/Oct/2024 22:51:57] "POST /send_attack HTTP/1.1" 302 - +2024-10-28 22:51:57,205 - INFO - Accessing commander page +2024-10-28 22:51:57,209 - INFO - 127.0.0.1 - - [28/Oct/2024 22:51:57] "GET /commander HTTP/1.1" 200 - +2024-10-28 22:51:57,284 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-28 22:51:57,285 - INFO - 127.0.0.1 - - [28/Oct/2024 22:51:57] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-28 22:51:57,291 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-28 22:51:57,291 - INFO - 127.0.0.1 - - [28/Oct/2024 22:51:57] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-28 22:51:57,390 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-28 22:51:57,393 - INFO - 127.0.0.1 - - [28/Oct/2024 22:51:57] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-28 22:52:01,340 - INFO - 127.0.0.1 - - [28/Oct/2024 22:52:01] "GET /view_logs HTTP/1.1" 200 - +2024-10-28 22:52:48,075 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:52:48,082 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:52:48,083 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:52:49,076 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:52:51,041 - WARNING - * Debugger is active! +2024-10-28 22:52:51,050 - INFO - * Debugger PIN: 266-144-430 +2024-10-28 22:52:58,531 - INFO - Index route accessed +2024-10-28 22:52:58,531 - INFO - 127.0.0.1 - - [28/Oct/2024 22:52:58] "GET / HTTP/1.1" 200 - +2024-10-28 22:53:03,459 - INFO - Handling login request +2024-10-28 22:53:03,464 - INFO - 127.0.0.1 - - [28/Oct/2024 22:53:03] "GET /login HTTP/1.1" 200 - +2024-10-28 22:53:06,867 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:53:06,875 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-28 22:53:07,402 - INFO - * Restarting with watchdog (windowsapi) +2024-10-28 22:53:09,649 - WARNING - * Debugger is active! +2024-10-28 22:53:09,663 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 08:33:33,262 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://10.128.54.153:8000 +2024-10-30 08:33:33,264 - INFO - Press CTRL+C to quit +2024-10-30 08:33:33,280 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 08:33:34,080 - WARNING - * Debugger is active! +2024-10-30 08:33:34,084 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 08:33:39,633 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\MySQLdb\\cursors.py', reloading +2024-10-30 08:33:39,633 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\MySQLdb\\connections.py', reloading +2024-10-30 08:33:39,647 - INFO - 127.0.0.1 - - [30/Oct/2024 08:33:39] "GET /login HTTP/1.1" 500 - +2024-10-30 08:33:39,947 - INFO - 127.0.0.1 - - [30/Oct/2024 08:33:39] "GET /login?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 200 - +2024-10-30 08:33:39,953 - INFO - 127.0.0.1 - - [30/Oct/2024 08:33:39] "GET /login?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 200 - +2024-10-30 08:33:40,217 - INFO - 127.0.0.1 - - [30/Oct/2024 08:33:40] "GET /login?__debugger__=yes&cmd=resource&f=console.png&s=g5Bt9T56K8N0Wkux9k09 HTTP/1.1" 200 - +2024-10-30 08:33:40,381 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 08:33:41,203 - WARNING - * Debugger is active! +2024-10-30 08:33:41,207 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 08:33:41,365 - INFO - 127.0.0.1 - - [30/Oct/2024 08:33:41] "GET /login?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 200 - +2024-10-30 08:36:50,450 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://10.128.54.153:8000 +2024-10-30 08:36:50,450 - INFO - Press CTRL+C to quit +2024-10-30 08:36:50,461 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 08:36:51,232 - WARNING - * Debugger is active! +2024-10-30 08:36:51,237 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 08:36:54,580 - INFO - * Detected change in 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_3.12.2032.0_x64__qbz5n2kfra8p0\\Lib\\_strptime.py', reloading +2024-10-30 08:36:54,580 - INFO - Handling login request +2024-10-30 08:36:54,642 - INFO - 127.0.0.1 - - [30/Oct/2024 08:36:54] "GET /login HTTP/1.1" 200 - +2024-10-30 08:36:54,823 - INFO - 127.0.0.1 - - [30/Oct/2024 08:36:54] "GET /favicon.ico HTTP/1.1" 404 - +2024-10-30 08:36:55,464 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 08:36:56,171 - WARNING - * Debugger is active! +2024-10-30 08:36:56,175 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 08:36:58,211 - INFO - Handling login request +2024-10-30 08:36:58,280 - INFO - User admin logged in with role 指挥者 +2024-10-30 08:36:58,280 - INFO - 127.0.0.1 - - [30/Oct/2024 08:36:58] "POST /login HTTP/1.1" 302 - +2024-10-30 08:36:58,299 - INFO - Accessing commander page +2024-10-30 08:36:58,309 - INFO - * Detected change in 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_3.12.2032.0_x64__qbz5n2kfra8p0\\Lib\\encodings\\unicode_escape.py', reloading +2024-10-30 08:36:58,309 - INFO - 127.0.0.1 - - [30/Oct/2024 08:36:58] "GET /commander HTTP/1.1" 200 - +2024-10-30 08:36:58,349 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-30 08:36:58,356 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-30 08:36:58,389 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-30 08:36:58,523 - INFO - 127.0.0.1 - - [30/Oct/2024 08:36:58] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-30 08:36:58,558 - INFO - 127.0.0.1 - - [30/Oct/2024 08:36:58] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-30 08:36:58,617 - INFO - 127.0.0.1 - - [30/Oct/2024 08:36:58] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-30 08:36:59,341 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 08:37:00,125 - WARNING - * Debugger is active! +2024-10-30 08:37:00,130 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 08:37:03,492 - INFO - Handling login request +2024-10-30 08:37:03,554 - INFO - User scout logged in with role 侦查者 +2024-10-30 08:37:03,557 - INFO - 127.0.0.1 - - [30/Oct/2024 08:37:03] "POST /login HTTP/1.1" 302 - +2024-10-30 08:37:03,571 - INFO - Accessing scout page +2024-10-30 08:37:03,577 - INFO - 127.0.0.1 - - [30/Oct/2024 08:37:03] "GET /scout HTTP/1.1" 200 - +2024-10-30 08:37:04,860 - INFO - Handling send message request +2024-10-30 08:37:04,864 - INFO - 127.0.0.1 - - [30/Oct/2024 08:37:04] "GET /send_message HTTP/1.1" 200 - +2024-10-30 08:37:15,534 - INFO - Accessing commander page +2024-10-30 08:37:15,536 - WARNING - Unauthorized access to commander page +2024-10-30 08:37:15,538 - INFO - 127.0.0.1 - - [30/Oct/2024 08:37:15] "GET /commander HTTP/1.1" 302 - +2024-10-30 08:37:15,547 - INFO - Handling login request +2024-10-30 08:37:15,555 - INFO - 127.0.0.1 - - [30/Oct/2024 08:37:15] "GET /login HTTP/1.1" 200 - +2024-10-30 08:37:28,544 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-30 08:37:28,544 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-30 08:37:28,544 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-30 08:37:28,903 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 08:37:29,662 - WARNING - * Debugger is active! +2024-10-30 08:37:29,667 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 08:49:25,983 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 08:49:25,983 - INFO - Press CTRL+C to quit +2024-10-30 08:49:25,996 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 08:49:26,747 - WARNING - * Debugger is active! +2024-10-30 08:49:26,754 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 08:49:30,986 - INFO - Index route accessed +2024-10-30 08:49:30,986 - INFO - 192.168.146.189 - - [30/Oct/2024 08:49:30] "GET / HTTP/1.1" 200 - +2024-10-30 08:49:31,510 - INFO - 192.168.146.189 - - [30/Oct/2024 08:49:31] "GET /favicon.ico HTTP/1.1" 404 - +2024-10-30 08:49:43,073 - INFO - Handling login request +2024-10-30 08:49:43,137 - INFO - 192.168.146.189 - - [30/Oct/2024 08:49:43] "GET /login HTTP/1.1" 200 - +2024-10-30 08:49:56,531 - INFO - Handling login request +2024-10-30 08:49:56,550 - INFO - User scout logged in with role 侦查者 +2024-10-30 08:49:56,550 - INFO - 192.168.146.189 - - [30/Oct/2024 08:49:56] "POST /login HTTP/1.1" 302 - +2024-10-30 08:49:56,577 - INFO - Accessing scout page +2024-10-30 08:49:56,584 - INFO - 192.168.146.189 - - [30/Oct/2024 08:49:56] "GET /scout HTTP/1.1" 200 - +2024-10-30 08:52:27,106 - INFO - Handling login request +2024-10-30 08:52:27,118 - INFO - 192.168.146.90 - - [30/Oct/2024 08:52:27] "GET /login HTTP/1.1" 200 - +2024-10-30 08:52:27,987 - INFO - 192.168.146.90 - - [30/Oct/2024 08:52:27] "GET /favicon.ico HTTP/1.1" 404 - +2024-10-30 08:52:28,607 - INFO - Index route accessed +2024-10-30 08:52:28,607 - INFO - 192.168.146.160 - - [30/Oct/2024 08:52:28] "GET / HTTP/1.1" 200 - +2024-10-30 08:52:29,133 - INFO - 192.168.146.160 - - [30/Oct/2024 08:52:29] "GET /favicon.ico HTTP/1.1" 404 - +2024-10-30 08:52:39,533 - INFO - Handling login request +2024-10-30 08:52:39,543 - INFO - 192.168.146.160 - - [30/Oct/2024 08:52:39] "GET /login HTTP/1.1" 200 - +2024-10-30 08:52:58,635 - INFO - Handling login request +2024-10-30 08:52:58,646 - INFO - User attacker logged in with role 攻击者 +2024-10-30 08:52:58,648 - INFO - 192.168.146.160 - - [30/Oct/2024 08:52:58] "POST /login HTTP/1.1" 302 - +2024-10-30 08:52:58,739 - INFO - Accessing attacker page +2024-10-30 08:52:58,744 - INFO - 192.168.146.160 - - [30/Oct/2024 08:52:58] "GET /attacker HTTP/1.1" 200 - +2024-10-30 08:53:08,588 - INFO - Handling execute attack request for ID: 5 +2024-10-30 08:53:08,597 - INFO - Attack executed for ID: 5 +2024-10-30 08:53:08,600 - INFO - 192.168.146.160 - - [30/Oct/2024 08:53:08] "POST /execute_attack/5 HTTP/1.1" 302 - +2024-10-30 08:53:09,859 - INFO - Accessing attacker page +2024-10-30 08:53:09,864 - INFO - 192.168.146.160 - - [30/Oct/2024 08:53:09] "GET /attacker HTTP/1.1" 200 - +2024-10-30 08:53:18,692 - INFO - Handling login request +2024-10-30 08:53:18,700 - INFO - User admin logged in with role 指挥者 +2024-10-30 08:53:18,702 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:18] "POST /login HTTP/1.1" 302 - +2024-10-30 08:53:18,723 - INFO - Accessing commander page +2024-10-30 08:53:18,730 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:18] "GET /commander HTTP/1.1" 200 - +2024-10-30 08:53:18,806 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-30 08:53:18,807 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-30 08:53:18,808 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-30 08:53:19,021 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:19] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 200 - +2024-10-30 08:53:19,076 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:19] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 200 - +2024-10-30 08:53:19,094 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:19] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 200 - +2024-10-30 08:53:29,710 - INFO - Handling send attack request +2024-10-30 08:53:29,714 - INFO - Attack coordinate sent: 444 +2024-10-30 08:53:29,715 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:29] "POST /send_attack HTTP/1.1" 302 - +2024-10-30 08:53:29,738 - INFO - Accessing commander page +2024-10-30 08:53:29,740 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:29] "GET /commander HTTP/1.1" 200 - +2024-10-30 08:53:29,828 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-30 08:53:29,839 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:29] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-30 08:53:29,834 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-30 08:53:29,847 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:29] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-30 08:53:29,835 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-30 08:53:29,853 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:29] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-30 08:53:42,587 - INFO - Accessing attacker page +2024-10-30 08:53:42,591 - INFO - 192.168.146.160 - - [30/Oct/2024 08:53:42] "GET /attacker HTTP/1.1" 200 - +2024-10-30 08:53:45,786 - INFO - Handling execute attack request for ID: 6 +2024-10-30 08:53:45,789 - INFO - Attack executed for ID: 6 +2024-10-30 08:53:45,791 - INFO - 192.168.146.160 - - [30/Oct/2024 08:53:45] "POST /execute_attack/6 HTTP/1.1" 302 - +2024-10-30 08:53:45,817 - INFO - Accessing attacker page +2024-10-30 08:53:45,820 - INFO - 192.168.146.160 - - [30/Oct/2024 08:53:45] "GET /attacker HTTP/1.1" 200 - +2024-10-30 08:53:48,527 - INFO - Accessing commander page +2024-10-30 08:53:48,530 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:48] "GET /commander HTTP/1.1" 200 - +2024-10-30 08:53:48,582 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-30 08:53:48,592 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:48] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-30 08:53:48,595 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-30 08:53:48,604 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:48] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-30 08:53:48,595 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-30 08:53:48,611 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:48] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-30 08:53:56,516 - INFO - Accessing commander page +2024-10-30 08:53:56,521 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:56] "GET /commander HTTP/1.1" 200 - +2024-10-30 08:53:56,575 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-30 08:53:56,585 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:56] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-30 08:53:56,589 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-30 08:53:56,598 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:56] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-30 08:53:56,600 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-30 08:53:56,608 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:56] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-30 08:53:57,895 - INFO - Accessing commander page +2024-10-30 08:53:57,899 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:57] "GET /commander HTTP/1.1" 200 - +2024-10-30 08:53:57,940 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-30 08:53:57,949 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:57] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-30 08:53:57,968 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-30 08:53:57,979 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:57] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-30 08:53:57,973 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-30 08:53:57,987 - INFO - 192.168.146.90 - - [30/Oct/2024 08:53:57] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-30 08:54:00,236 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-30 08:54:00,246 - INFO - 192.168.146.90 - - [30/Oct/2024 08:54:00] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-30 08:55:36,701 - INFO - Accessing scout page +2024-10-30 08:55:36,705 - WARNING - Unauthorized access to scout page +2024-10-30 08:55:36,705 - INFO - 192.168.146.160 - - [30/Oct/2024 08:55:36] "GET /scout HTTP/1.1" 302 - +2024-10-30 08:55:36,722 - INFO - Handling login request +2024-10-30 08:55:36,729 - INFO - 192.168.146.160 - - [30/Oct/2024 08:55:36] "GET /login HTTP/1.1" 200 - +2024-10-30 09:02:10,778 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:02:10,778 - INFO - Press CTRL+C to quit +2024-10-30 09:02:10,793 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:02:11,481 - WARNING - * Debugger is active! +2024-10-30 09:02:11,485 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:02:19,433 - INFO - Handling login request +2024-10-30 09:02:19,497 - INFO - 192.168.146.189 - - [30/Oct/2024 09:02:19] "GET /login HTTP/1.1" 200 - +2024-10-30 09:02:24,103 - INFO - Handling login request +2024-10-30 09:02:24,126 - INFO - User scout logged in with role 侦查者 +2024-10-30 09:02:24,126 - INFO - 192.168.146.189 - - [30/Oct/2024 09:02:24] "POST /login HTTP/1.1" 302 - +2024-10-30 09:02:24,145 - INFO - Accessing scout page +2024-10-30 09:02:24,149 - INFO - 192.168.146.189 - - [30/Oct/2024 09:02:24] "GET /scout HTTP/1.1" 200 - +2024-10-30 09:03:05,519 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\__init__.py', reloading +2024-10-30 09:03:05,534 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\schema.py', reloading +2024-10-30 09:03:05,540 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\sql\\schema.py', reloading +2024-10-30 09:03:05,622 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\sql\\base.py', reloading +2024-10-30 09:03:05,640 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\event\\__init__.py', reloading +2024-10-30 09:03:05,640 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\util\\__init__.py', reloading +2024-10-30 09:03:05,658 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\util\\_collections.py', reloading +2024-10-30 09:03:05,670 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\util\\_py_collections.py', reloading +2024-10-30 09:03:05,676 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\util\\typing.py', reloading +2024-10-30 09:03:05,690 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\event\\registry.py', reloading +2024-10-30 09:03:05,701 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\sql\\__init__.py', reloading +2024-10-30 09:03:05,842 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:03:06,653 - WARNING - * Debugger is active! +2024-10-30 09:03:06,662 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:06:02,983 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:06:02,983 - INFO - Press CTRL+C to quit +2024-10-30 09:06:03,000 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:06:03,686 - WARNING - * Debugger is active! +2024-10-30 09:06:03,686 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:06:18,397 - INFO - Handling login request +2024-10-30 09:06:18,459 - INFO - User scout logged in with role 侦查者 +2024-10-30 09:06:18,461 - INFO - 192.168.146.189 - - [30/Oct/2024 09:06:18] "POST /login HTTP/1.1" 302 - +2024-10-30 09:06:18,478 - INFO - Accessing scout page +2024-10-30 09:06:18,478 - INFO - 192.168.146.189 - - [30/Oct/2024 09:06:18] "GET /scout HTTP/1.1" 200 - +2024-10-30 09:06:49,680 - INFO - Handling login request +2024-10-30 09:06:49,690 - INFO - User scout logged in with role 侦查者 +2024-10-30 09:06:49,692 - INFO - 127.0.0.1 - - [30/Oct/2024 09:06:49] "POST /login HTTP/1.1" 302 - +2024-10-30 09:06:49,706 - INFO - Accessing scout page +2024-10-30 09:06:49,707 - INFO - 127.0.0.1 - - [30/Oct/2024 09:06:49] "GET /scout HTTP/1.1" 200 - +2024-10-30 09:10:57,165 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\系统解构\\系统解构\\解构\\client.py', reloading +2024-10-30 09:10:57,165 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\系统解构\\系统解构\\解构\\server.py', reloading +2024-10-30 09:10:57,165 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\系统解构\\系统解构\\解构\\wsgi.py', reloading +2024-10-30 09:10:57,168 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\系统解构\\系统解构\\解构\\辅助资料\\test.py', reloading +2024-10-30 09:10:57,168 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\系统解构\\系统解构\\解构\\辅助资料\\test2.py', reloading +2024-10-30 09:10:57,168 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\系统解构\\系统解构\\解构\\辅助资料\\GC\\app.py', reloading +2024-10-30 09:10:57,168 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\系统解构\\系统解构\\解构\\辅助资料\\GC\\demo.py', reloading +2024-10-30 09:10:57,168 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\系统解构\\系统解构\\解构\\辅助资料\\GC\\GC Service.zip', reloading +2024-10-30 09:10:57,168 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\系统解构\\系统解构\\解构\\辅助资料\\QR\\app.py', reloading +2024-10-30 09:10:57,168 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\系统解构\\系统解构\\解构\\辅助资料\\QR\\demo.py', reloading +2024-10-30 09:10:57,168 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\系统解构\\系统解构\\解构\\辅助资料\\QR\\QR Service.zip', reloading +2024-10-30 09:10:57,168 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\系统解构\\系统解构\\解构\\辅助资料\\TheBattleCar\\app.py', reloading +2024-10-30 09:10:58,251 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:10:58,943 - WARNING - * Debugger is active! +2024-10-30 09:10:58,947 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:11:15,524 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\markupsafe\\__init__.py', reloading +2024-10-30 09:11:16,431 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:11:17,151 - WARNING - * Debugger is active! +2024-10-30 09:11:17,155 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:16:52,468 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-30 09:16:52,468 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-30 09:16:52,468 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-30 09:16:52,557 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:17:30,511 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:17:30,511 - INFO - Press CTRL+C to quit +2024-10-30 09:17:30,523 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:17:31,365 - WARNING - * Debugger is active! +2024-10-30 09:17:31,370 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:18:09,845 - INFO - Handling login request +2024-10-30 09:18:09,922 - INFO - 127.0.0.1 - - [30/Oct/2024 09:18:09] "GET /login HTTP/1.1" 200 - +2024-10-30 09:18:14,215 - INFO - Handling login request +2024-10-30 09:18:14,225 - INFO - User scout logged in with role 侦查者 +2024-10-30 09:18:14,227 - INFO - 127.0.0.1 - - [30/Oct/2024 09:18:14] "POST /login HTTP/1.1" 302 - +2024-10-30 09:18:14,240 - INFO - Accessing scout page +2024-10-30 09:18:14,244 - INFO - 127.0.0.1 - - [30/Oct/2024 09:18:14] "GET /scout HTTP/1.1" 200 - +2024-10-30 09:20:44,907 - INFO - Handling login request +2024-10-30 09:20:44,916 - INFO - 127.0.0.1 - - [30/Oct/2024 09:20:44] "GET /login HTTP/1.1" 200 - +2024-10-30 09:20:47,344 - INFO - Handling login request +2024-10-30 09:20:47,353 - INFO - 127.0.0.1 - - [30/Oct/2024 09:20:47] "GET /login HTTP/1.1" 200 - +2024-10-30 09:21:04,440 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:21:04,440 - INFO - Press CTRL+C to quit +2024-10-30 09:21:04,453 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:21:05,201 - WARNING - * Debugger is active! +2024-10-30 09:21:05,209 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:21:08,154 - INFO - Handling login request +2024-10-30 09:21:08,216 - INFO - 127.0.0.1 - - [30/Oct/2024 09:21:08] "GET /login HTTP/1.1" 200 - +2024-10-30 09:21:09,223 - INFO - Handling login request +2024-10-30 09:21:09,231 - INFO - 127.0.0.1 - - [30/Oct/2024 09:21:09] "GET /login HTTP/1.1" 200 - +2024-10-30 09:21:09,799 - INFO - Handling login request +2024-10-30 09:21:09,809 - INFO - 127.0.0.1 - - [30/Oct/2024 09:21:09] "GET /login HTTP/1.1" 200 - +2024-10-30 09:21:24,025 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:21:24,025 - INFO - Press CTRL+C to quit +2024-10-30 09:21:24,036 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:21:24,877 - WARNING - * Debugger is active! +2024-10-30 09:21:24,879 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:21:27,665 - INFO - Handling login request +2024-10-30 09:21:27,732 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\werkzeug\\routing\\map.py', reloading +2024-10-30 09:21:27,763 - INFO - 127.0.0.1 - - [30/Oct/2024 09:21:27] "GET /login HTTP/1.1" 500 - +2024-10-30 09:21:27,948 - INFO - 127.0.0.1 - - [30/Oct/2024 09:21:27] "GET /login?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 304 - +2024-10-30 09:21:27,981 - INFO - 127.0.0.1 - - [30/Oct/2024 09:21:27] "GET /login?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 304 - +2024-10-30 09:21:28,097 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:21:28,932 - WARNING - * Debugger is active! +2024-10-30 09:21:28,938 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:21:29,094 - INFO - 127.0.0.1 - - [30/Oct/2024 09:21:29] "GET /login?__debugger__=yes&cmd=resource&f=console.png&s=DPokyupeHXuLGf3wRG8I HTTP/1.1" 200 - +2024-10-30 09:21:29,106 - INFO - 127.0.0.1 - - [30/Oct/2024 09:21:29] "GET /login?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 - +2024-10-30 09:22:09,776 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:22:09,777 - INFO - Press CTRL+C to quit +2024-10-30 09:22:09,790 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:22:10,584 - WARNING - * Debugger is active! +2024-10-30 09:22:10,590 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:22:12,504 - INFO - Handling login request +2024-10-30 09:22:12,570 - INFO - 127.0.0.1 - - [30/Oct/2024 09:22:12] "GET /login HTTP/1.1" 200 - +2024-10-30 09:22:12,734 - INFO - 127.0.0.1 - - [30/Oct/2024 09:22:12] "GET /static/login.css HTTP/1.1" 200 - +2024-10-30 09:22:28,212 - INFO - Handling login request +2024-10-30 09:22:28,223 - INFO - User scout logged in with role 侦查者 +2024-10-30 09:22:28,225 - INFO - 127.0.0.1 - - [30/Oct/2024 09:22:28] "POST /login HTTP/1.1" 302 - +2024-10-30 09:22:28,239 - INFO - Accessing scout page +2024-10-30 09:22:28,244 - INFO - 127.0.0.1 - - [30/Oct/2024 09:22:28] "GET /scout HTTP/1.1" 200 - +2024-10-30 09:24:53,109 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\MySQLdb\\__init__.py', reloading +2024-10-30 09:24:53,863 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:24:54,666 - WARNING - * Debugger is active! +2024-10-30 09:24:54,670 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:29:33,778 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:29:33,778 - INFO - Press CTRL+C to quit +2024-10-30 09:29:33,791 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:29:34,609 - WARNING - * Debugger is active! +2024-10-30 09:29:34,613 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:29:41,052 - INFO - 127.0.0.1 - - [30/Oct/2024 09:29:41] "GET /login HTTP/1.1" 200 - +2024-10-30 09:29:41,213 - INFO - 127.0.0.1 - - [30/Oct/2024 09:29:41] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:29:44,753 - INFO - 127.0.0.1 - - [30/Oct/2024 09:29:44] "POST /login HTTP/1.1" 500 - +2024-10-30 09:29:44,791 - INFO - 127.0.0.1 - - [30/Oct/2024 09:29:44] "GET /login?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 304 - +2024-10-30 09:29:44,813 - INFO - 127.0.0.1 - - [30/Oct/2024 09:29:44] "GET /login?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 304 - +2024-10-30 09:29:44,859 - INFO - 127.0.0.1 - - [30/Oct/2024 09:29:44] "GET /login?__debugger__=yes&cmd=resource&f=console.png&s=Lioqzn3RvChRmkOG5Tzk HTTP/1.1" 200 - +2024-10-30 09:29:44,937 - INFO - 127.0.0.1 - - [30/Oct/2024 09:29:44] "GET /login?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 - +2024-10-30 09:29:59,748 - INFO - 127.0.0.1 - - [30/Oct/2024 09:29:59] "POST /login HTTP/1.1" 500 - +2024-10-30 09:29:59,786 - INFO - 127.0.0.1 - - [30/Oct/2024 09:29:59] "GET /login?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 304 - +2024-10-30 09:29:59,804 - INFO - 127.0.0.1 - - [30/Oct/2024 09:29:59] "GET /login?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 304 - +2024-10-30 09:29:59,877 - INFO - 127.0.0.1 - - [30/Oct/2024 09:29:59] "GET /login?__debugger__=yes&cmd=resource&f=console.png&s=Lioqzn3RvChRmkOG5Tzk HTTP/1.1" 304 - +2024-10-30 09:31:27,797 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:31:27,797 - INFO - Press CTRL+C to quit +2024-10-30 09:31:27,809 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:31:28,670 - WARNING - * Debugger is active! +2024-10-30 09:31:28,676 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:31:29,475 - INFO - 127.0.0.1 - - [30/Oct/2024 09:31:29] "GET /login HTTP/1.1" 200 - +2024-10-30 09:31:29,635 - INFO - 127.0.0.1 - - [30/Oct/2024 09:31:29] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:31:32,205 - INFO - 127.0.0.1 - - [30/Oct/2024 09:31:32] "POST /login HTTP/1.1" 500 - +2024-10-30 09:31:32,243 - INFO - 127.0.0.1 - - [30/Oct/2024 09:31:32] "GET /login?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 304 - +2024-10-30 09:31:32,260 - INFO - 127.0.0.1 - - [30/Oct/2024 09:31:32] "GET /login?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 304 - +2024-10-30 09:31:32,310 - INFO - 127.0.0.1 - - [30/Oct/2024 09:31:32] "GET /login?__debugger__=yes&cmd=resource&f=console.png&s=FrQjQ1tNn08L9sq9sSCX HTTP/1.1" 200 - +2024-10-30 09:31:32,381 - INFO - 127.0.0.1 - - [30/Oct/2024 09:31:32] "GET /login?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 304 - +2024-10-30 09:34:12,867 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:34:12,867 - INFO - Press CTRL+C to quit +2024-10-30 09:34:12,881 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:34:13,778 - WARNING - * Debugger is active! +2024-10-30 09:34:13,783 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:34:24,098 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:24] "POST /login HTTP/1.1" 302 - +2024-10-30 09:34:24,106 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:24] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:34:24,116 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:24] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:34:24,274 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:24] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:34:26,312 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:26] "POST /login HTTP/1.1" 302 - +2024-10-30 09:34:26,322 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:26] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:34:26,334 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:26] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:34:26,369 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:26] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:34:27,313 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:27] "POST /login HTTP/1.1" 302 - +2024-10-30 09:34:27,322 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:27] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:34:27,330 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:27] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:34:27,368 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:27] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:34:27,934 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:27] "POST /login HTTP/1.1" 302 - +2024-10-30 09:34:27,948 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:27] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:34:27,956 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:27] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:34:27,988 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:27] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:34:33,075 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:33] "POST /login HTTP/1.1" 302 - +2024-10-30 09:34:33,085 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:33] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:34:33,092 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:33] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:34:33,128 - INFO - 127.0.0.1 - - [30/Oct/2024 09:34:33] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:35:55,047 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:35:55,047 - INFO - Press CTRL+C to quit +2024-10-30 09:35:55,062 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:35:55,868 - WARNING - * Debugger is active! +2024-10-30 09:35:55,871 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:35:57,001 - INFO - 127.0.0.1 - - [30/Oct/2024 09:35:57] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:35:57,168 - INFO - 127.0.0.1 - - [30/Oct/2024 09:35:57] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:36:06,654 - INFO - 127.0.0.1 - - [30/Oct/2024 09:36:06] "POST /login HTTP/1.1" 302 - +2024-10-30 09:36:06,663 - INFO - 127.0.0.1 - - [30/Oct/2024 09:36:06] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:36:06,670 - INFO - 127.0.0.1 - - [30/Oct/2024 09:36:06] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:36:06,708 - INFO - 127.0.0.1 - - [30/Oct/2024 09:36:06] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:36:21,670 - INFO - 127.0.0.1 - - [30/Oct/2024 09:36:21] "POST /login HTTP/1.1" 302 - +2024-10-30 09:36:21,679 - INFO - Accessing commander page +2024-10-30 09:36:21,761 - INFO - 127.0.0.1 - - [30/Oct/2024 09:36:21] "GET /commander HTTP/1.1" 500 - +2024-10-30 09:36:21,802 - INFO - 127.0.0.1 - - [30/Oct/2024 09:36:21] "GET /commander?__debugger__=yes&cmd=resource&f=style.css HTTP/1.1" 304 - +2024-10-30 09:36:21,821 - INFO - 127.0.0.1 - - [30/Oct/2024 09:36:21] "GET /commander?__debugger__=yes&cmd=resource&f=debugger.js HTTP/1.1" 304 - +2024-10-30 09:36:21,852 - INFO - 127.0.0.1 - - [30/Oct/2024 09:36:21] "GET /commander?__debugger__=yes&cmd=resource&f=console.png&s=9rJtHFS9bkwHvtfAp00R HTTP/1.1" 200 - +2024-10-30 09:36:21,928 - INFO - 127.0.0.1 - - [30/Oct/2024 09:36:21] "GET /commander?__debugger__=yes&cmd=resource&f=console.png HTTP/1.1" 200 - +2024-10-30 09:37:56,103 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:37:56,103 - INFO - Press CTRL+C to quit +2024-10-30 09:37:56,114 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:37:56,920 - WARNING - * Debugger is active! +2024-10-30 09:37:56,924 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:37:58,864 - INFO - 127.0.0.1 - - [30/Oct/2024 09:37:58] "GET /commander HTTP/1.1" 200 - +2024-10-30 09:38:00,230 - INFO - Index route accessed +2024-10-30 09:38:00,230 - INFO - 127.0.0.1 - - [30/Oct/2024 09:38:00] "GET / HTTP/1.1" 200 - +2024-10-30 09:38:05,944 - INFO - 127.0.0.1 - - [30/Oct/2024 09:38:05] "GET /login HTTP/1.1" 200 - +2024-10-30 09:38:05,945 - INFO - * Detected change in 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_3.12.2032.0_x64__qbz5n2kfra8p0\\Lib\\encodings\\unicode_escape.py', reloading +2024-10-30 09:38:06,091 - INFO - 127.0.0.1 - - [30/Oct/2024 09:38:06] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:38:06,304 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:38:07,168 - WARNING - * Debugger is active! +2024-10-30 09:38:07,174 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:38:08,401 - INFO - 127.0.0.1 - - [30/Oct/2024 09:38:08] "POST /login HTTP/1.1" 302 - +2024-10-30 09:38:08,411 - INFO - 127.0.0.1 - - [30/Oct/2024 09:38:08] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:38:08,429 - INFO - 127.0.0.1 - - [30/Oct/2024 09:38:08] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:38:08,595 - INFO - 127.0.0.1 - - [30/Oct/2024 09:38:08] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:38:10,766 - INFO - 127.0.0.1 - - [30/Oct/2024 09:38:10] "POST /login HTTP/1.1" 302 - +2024-10-30 09:38:10,774 - INFO - 127.0.0.1 - - [30/Oct/2024 09:38:10] "GET /commander HTTP/1.1" 302 - +2024-10-30 09:38:10,784 - INFO - 127.0.0.1 - - [30/Oct/2024 09:38:10] "GET /login?next=/commander HTTP/1.1" 200 - +2024-10-30 09:38:10,832 - INFO - 127.0.0.1 - - [30/Oct/2024 09:38:10] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:38:14,362 - INFO - 127.0.0.1 - - [30/Oct/2024 09:38:14] "POST /login HTTP/1.1" 302 - +2024-10-30 09:38:14,370 - INFO - 127.0.0.1 - - [30/Oct/2024 09:38:14] "GET /attacker HTTP/1.1" 302 - +2024-10-30 09:38:14,381 - INFO - 127.0.0.1 - - [30/Oct/2024 09:38:14] "GET /login?next=/attacker HTTP/1.1" 200 - +2024-10-30 09:38:14,430 - INFO - 127.0.0.1 - - [30/Oct/2024 09:38:14] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:38:32,062 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\werkzeug\\datastructures\\file_storage.py', reloading +2024-10-30 09:38:32,956 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:38:33,711 - WARNING - * Debugger is active! +2024-10-30 09:38:33,715 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:39:45,568 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:39:45,569 - INFO - Press CTRL+C to quit +2024-10-30 09:39:45,582 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:39:46,355 - WARNING - * Debugger is active! +2024-10-30 09:39:46,355 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:39:47,746 - INFO - 127.0.0.1 - - [30/Oct/2024 09:39:47] "GET /login?next=/attacker HTTP/1.1" 200 - +2024-10-30 09:39:47,892 - INFO - 127.0.0.1 - - [30/Oct/2024 09:39:47] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:39:49,371 - INFO - 127.0.0.1 - - [30/Oct/2024 09:39:49] "POST /login HTTP/1.1" 302 - +2024-10-30 09:39:49,380 - INFO - 127.0.0.1 - - [30/Oct/2024 09:39:49] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:39:49,390 - INFO - 127.0.0.1 - - [30/Oct/2024 09:39:49] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:39:49,421 - INFO - 127.0.0.1 - - [30/Oct/2024 09:39:49] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:40:29,008 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:40:29,008 - INFO - Press CTRL+C to quit +2024-10-30 09:40:29,021 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:40:29,777 - WARNING - * Debugger is active! +2024-10-30 09:40:29,783 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:40:31,128 - INFO - 127.0.0.1 - - [30/Oct/2024 09:40:31] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:40:31,279 - INFO - 127.0.0.1 - - [30/Oct/2024 09:40:31] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:40:33,407 - INFO - 127.0.0.1 - - [30/Oct/2024 09:40:33] "POST /login HTTP/1.1" 302 - +2024-10-30 09:40:33,414 - INFO - 127.0.0.1 - - [30/Oct/2024 09:40:33] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:40:33,422 - INFO - 127.0.0.1 - - [30/Oct/2024 09:40:33] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:40:33,458 - INFO - 127.0.0.1 - - [30/Oct/2024 09:40:33] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:42:39,556 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:42:39,556 - INFO - Press CTRL+C to quit +2024-10-30 09:42:39,574 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:42:40,388 - WARNING - * Debugger is active! +2024-10-30 09:42:40,392 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:42:42,219 - INFO - 127.0.0.1 - - [30/Oct/2024 09:42:42] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:42:42,365 - INFO - 127.0.0.1 - - [30/Oct/2024 09:42:42] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:42:50,993 - INFO - 127.0.0.1 - - [30/Oct/2024 09:42:50] "POST /login HTTP/1.1" 302 - +2024-10-30 09:42:51,000 - INFO - 127.0.0.1 - - [30/Oct/2024 09:42:51] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:42:51,010 - INFO - 127.0.0.1 - - [30/Oct/2024 09:42:51] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:42:51,050 - INFO - 127.0.0.1 - - [30/Oct/2024 09:42:51] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:45:03,061 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-30 09:45:03,061 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-30 09:45:03,062 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-30 09:45:04,170 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:45:04,971 - WARNING - * Debugger is active! +2024-10-30 09:45:04,971 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:45:09,115 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:45:09,116 - INFO - Press CTRL+C to quit +2024-10-30 09:45:09,128 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:45:09,976 - WARNING - * Debugger is active! +2024-10-30 09:45:09,980 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:45:10,740 - INFO - 127.0.0.1 - - [30/Oct/2024 09:45:10] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:45:10,899 - INFO - 127.0.0.1 - - [30/Oct/2024 09:45:10] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:45:12,708 - INFO - 127.0.0.1 - - [30/Oct/2024 09:45:12] "POST /login HTTP/1.1" 302 - +2024-10-30 09:45:12,711 - INFO - 127.0.0.1 - - [30/Oct/2024 09:45:12] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:45:12,724 - INFO - 127.0.0.1 - - [30/Oct/2024 09:45:12] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:45:12,760 - INFO - 127.0.0.1 - - [30/Oct/2024 09:45:12] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:45:13,400 - INFO - 127.0.0.1 - - [30/Oct/2024 09:45:13] "POST /login HTTP/1.1" 302 - +2024-10-30 09:45:13,408 - INFO - 127.0.0.1 - - [30/Oct/2024 09:45:13] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:45:13,416 - INFO - 127.0.0.1 - - [30/Oct/2024 09:45:13] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:45:13,454 - INFO - 127.0.0.1 - - [30/Oct/2024 09:45:13] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:47:08,736 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:47:08,736 - INFO - Press CTRL+C to quit +2024-10-30 09:47:08,751 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:47:09,674 - WARNING - * Debugger is active! +2024-10-30 09:47:09,680 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:47:13,200 - INFO - 127.0.0.1 - - [30/Oct/2024 09:47:13] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:47:13,383 - INFO - 127.0.0.1 - - [30/Oct/2024 09:47:13] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:47:14,548 - INFO - 127.0.0.1 - - [30/Oct/2024 09:47:14] "POST /login HTTP/1.1" 302 - +2024-10-30 09:47:14,559 - INFO - 127.0.0.1 - - [30/Oct/2024 09:47:14] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:47:14,572 - INFO - 127.0.0.1 - - [30/Oct/2024 09:47:14] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:47:14,609 - INFO - 127.0.0.1 - - [30/Oct/2024 09:47:14] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:47:15,200 - INFO - 127.0.0.1 - - [30/Oct/2024 09:47:15] "POST /login HTTP/1.1" 302 - +2024-10-30 09:47:15,210 - INFO - 127.0.0.1 - - [30/Oct/2024 09:47:15] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:47:15,221 - INFO - 127.0.0.1 - - [30/Oct/2024 09:47:15] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:47:15,262 - INFO - 127.0.0.1 - - [30/Oct/2024 09:47:15] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:47:15,527 - INFO - 127.0.0.1 - - [30/Oct/2024 09:47:15] "POST /login HTTP/1.1" 302 - +2024-10-30 09:47:15,542 - INFO - 127.0.0.1 - - [30/Oct/2024 09:47:15] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:47:15,564 - INFO - 127.0.0.1 - - [30/Oct/2024 09:47:15] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:47:15,631 - INFO - 127.0.0.1 - - [30/Oct/2024 09:47:15] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:49:18,942 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\flask\\sansio\\app.py', reloading +2024-10-30 09:49:19,103 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:49:19,920 - WARNING - * Debugger is active! +2024-10-30 09:49:19,924 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:50:38,477 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\wtforms\\validators.py', reloading +2024-10-30 09:50:39,007 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:50:39,753 - WARNING - * Debugger is active! +2024-10-30 09:50:39,764 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:51:41,478 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:51:41,478 - INFO - Press CTRL+C to quit +2024-10-30 09:51:41,491 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:51:42,359 - WARNING - * Debugger is active! +2024-10-30 09:51:42,359 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:51:45,681 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:45] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:51:45,828 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:45] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:51:49,293 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:49] "POST /login HTTP/1.1" 302 - +2024-10-30 09:51:49,300 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:49] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:51:49,308 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:49] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:51:49,345 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:49] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:51:49,690 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:49] "POST /login HTTP/1.1" 302 - +2024-10-30 09:51:49,704 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:49] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:51:49,714 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:49] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:51:49,752 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:49] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:51:50,068 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:50] "POST /login HTTP/1.1" 302 - +2024-10-30 09:51:50,078 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:50] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:51:50,086 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:50] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:51:50,137 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:50] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:51:50,403 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:50] "POST /login HTTP/1.1" 302 - +2024-10-30 09:51:50,413 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:50] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:51:50,421 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:50] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:51:50,461 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:50] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:51:50,748 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:50] "POST /login HTTP/1.1" 302 - +2024-10-30 09:51:50,757 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:50] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:51:50,765 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:50] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:51:50,801 - INFO - 127.0.0.1 - - [30/Oct/2024 09:51:50] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:52:12,855 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:52:12,856 - INFO - Press CTRL+C to quit +2024-10-30 09:52:12,869 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:52:13,674 - WARNING - * Debugger is active! +2024-10-30 09:52:13,683 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:52:14,689 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:14] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:52:14,826 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:14] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:52:15,923 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:15] "POST /login HTTP/1.1" 302 - +2024-10-30 09:52:15,928 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:15] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:52:15,939 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:15] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:52:15,974 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:15] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:52:16,484 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:16] "POST /login HTTP/1.1" 302 - +2024-10-30 09:52:16,494 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:16] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:52:16,502 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:16] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:52:16,538 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:16] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:52:16,833 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:16] "POST /login HTTP/1.1" 302 - +2024-10-30 09:52:16,844 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:16] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:52:16,857 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:16] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:52:16,893 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:16] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:52:17,160 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:17] "POST /login HTTP/1.1" 302 - +2024-10-30 09:52:17,164 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:17] "GET /scout HTTP/1.1" 302 - +2024-10-30 09:52:17,181 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:17] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:52:17,220 - INFO - 127.0.0.1 - - [30/Oct/2024 09:52:17] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:53:43,714 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\flask\\helpers.py', reloading +2024-10-30 09:53:44,047 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:53:44,851 - WARNING - * Debugger is active! +2024-10-30 09:53:44,855 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:53:53,536 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-30 09:53:53,538 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-30 09:53:53,538 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-30 09:53:54,191 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:53:54,915 - WARNING - * Debugger is active! +2024-10-30 09:53:54,925 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:53:59,473 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:53:59,473 - INFO - Press CTRL+C to quit +2024-10-30 09:53:59,483 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:54:00,291 - WARNING - * Debugger is active! +2024-10-30 09:54:00,294 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:54:02,197 - INFO - 127.0.0.1 - - [30/Oct/2024 09:54:02] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 09:54:02,336 - INFO - 127.0.0.1 - - [30/Oct/2024 09:54:02] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:54:03,332 - INFO - 127.0.0.1 - - [30/Oct/2024 09:54:03] "POST /login HTTP/1.1" 200 - +2024-10-30 09:54:11,208 - INFO - 127.0.0.1 - - [30/Oct/2024 09:54:11] "GET /send_message HTTP/1.1" 302 - +2024-10-30 09:54:11,218 - INFO - 127.0.0.1 - - [30/Oct/2024 09:54:11] "GET /login?next=/send_message HTTP/1.1" 200 - +2024-10-30 09:54:11,247 - INFO - 127.0.0.1 - - [30/Oct/2024 09:54:11] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:54:20,132 - INFO - 192.168.146.189 - - [30/Oct/2024 09:54:20] "GET /send_message HTTP/1.1" 302 - +2024-10-30 09:54:20,146 - INFO - 192.168.146.189 - - [30/Oct/2024 09:54:20] "GET /login?next=/send_message HTTP/1.1" 200 - +2024-10-30 09:54:20,178 - INFO - 192.168.146.189 - - [30/Oct/2024 09:54:20] "GET /static/login.css HTTP/1.1" 200 - +2024-10-30 09:55:37,675 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:55:37,675 - INFO - Press CTRL+C to quit +2024-10-30 09:55:37,691 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:55:38,449 - WARNING - * Debugger is active! +2024-10-30 09:55:38,456 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:55:53,603 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:55:53,603 - INFO - Press CTRL+C to quit +2024-10-30 09:55:53,619 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:55:54,437 - WARNING - * Debugger is active! +2024-10-30 09:55:54,442 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:56:07,932 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:56:07,932 - INFO - Press CTRL+C to quit +2024-10-30 09:56:07,941 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:56:08,709 - WARNING - * Debugger is active! +2024-10-30 09:56:08,714 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:56:13,445 - INFO - 192.168.146.189 - - [30/Oct/2024 09:56:13] "POST /login HTTP/1.1" 200 - +2024-10-30 09:57:05,402 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 09:57:05,402 - INFO - Press CTRL+C to quit +2024-10-30 09:57:05,414 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 09:57:06,154 - WARNING - * Debugger is active! +2024-10-30 09:57:06,160 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 09:57:10,416 - INFO - 192.168.146.189 - - [30/Oct/2024 09:57:10] "GET /login?next=/send_message HTTP/1.1" 200 - +2024-10-30 09:57:10,572 - INFO - 192.168.146.189 - - [30/Oct/2024 09:57:10] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 09:57:18,688 - INFO - 192.168.146.189 - - [30/Oct/2024 09:57:18] "POST /login HTTP/1.1" 200 - +2024-10-30 10:00:14,990 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 10:00:14,990 - INFO - Press CTRL+C to quit +2024-10-30 10:00:15,001 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 10:00:15,802 - WARNING - * Debugger is active! +2024-10-30 10:00:15,807 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 10:00:26,909 - INFO - 127.0.0.1 - - [30/Oct/2024 10:00:26] "GET /login?next=/send_message HTTP/1.1" 200 - +2024-10-30 10:00:27,079 - INFO - 127.0.0.1 - - [30/Oct/2024 10:00:27] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 10:00:28,264 - INFO - 127.0.0.1 - - [30/Oct/2024 10:00:28] "POST /login HTTP/1.1" 200 - +2024-10-30 10:00:58,116 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 10:00:58,116 - INFO - Press CTRL+C to quit +2024-10-30 10:00:58,126 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 10:00:58,866 - WARNING - * Debugger is active! +2024-10-30 10:00:58,881 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 10:01:10,793 - INFO - * Detected change in 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_3.12.2032.0_x64__qbz5n2kfra8p0\\Lib\\_strptime.py', reloading +2024-10-30 10:01:10,795 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\MySQLdb\\connections.py', reloading +2024-10-30 10:01:10,792 - INFO - Handling login request +2024-10-30 10:01:10,873 - INFO - User scout logged in with role 侦查者 +2024-10-30 10:01:10,875 - INFO - 127.0.0.1 - - [30/Oct/2024 10:01:10] "POST /login HTTP/1.1" 302 - +2024-10-30 10:01:10,890 - INFO - Accessing scout page +2024-10-30 10:01:10,893 - INFO - * Detected change in 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_3.12.2032.0_x64__qbz5n2kfra8p0\\Lib\\encodings\\unicode_escape.py', reloading +2024-10-30 10:01:10,896 - INFO - 127.0.0.1 - - [30/Oct/2024 10:01:10] "GET /scout HTTP/1.1" 200 - +2024-10-30 10:01:11,266 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 10:01:12,100 - WARNING - * Debugger is active! +2024-10-30 10:01:12,103 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 10:01:19,273 - INFO - Handling login request +2024-10-30 10:01:19,358 - INFO - 127.0.0.1 - - [30/Oct/2024 10:01:19] "GET /login?next=/scout HTTP/1.1" 200 - +2024-10-30 10:01:22,282 - INFO - Handling login request +2024-10-30 10:01:22,293 - INFO - User scout logged in with role 侦查者 +2024-10-30 10:01:22,295 - INFO - 127.0.0.1 - - [30/Oct/2024 10:01:22] "POST /login HTTP/1.1" 302 - +2024-10-30 10:01:22,309 - INFO - Accessing scout page +2024-10-30 10:01:22,312 - INFO - 127.0.0.1 - - [30/Oct/2024 10:01:22] "GET /scout HTTP/1.1" 200 - +2024-10-30 10:01:30,980 - INFO - Handling login request +2024-10-30 10:01:30,989 - INFO - User admin logged in with role 指挥者 +2024-10-30 10:01:30,989 - INFO - 127.0.0.1 - - [30/Oct/2024 10:01:30] "POST /login HTTP/1.1" 302 - +2024-10-30 10:01:31,008 - INFO - Accessing commander page +2024-10-30 10:01:31,012 - INFO - 127.0.0.1 - - [30/Oct/2024 10:01:31] "GET /commander HTTP/1.1" 200 - +2024-10-30 10:01:31,058 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-30 10:01:31,060 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-30 10:01:31,104 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-30 10:01:31,318 - INFO - 127.0.0.1 - - [30/Oct/2024 10:01:31] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-30 10:01:31,327 - INFO - 127.0.0.1 - - [30/Oct/2024 10:01:31] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-30 10:01:31,382 - INFO - 127.0.0.1 - - [30/Oct/2024 10:01:31] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-30 10:01:38,159 - INFO - Handling login request +2024-10-30 10:01:38,170 - INFO - User scout logged in with role 侦查者 +2024-10-30 10:01:38,172 - INFO - 127.0.0.1 - - [30/Oct/2024 10:01:38] "POST /login HTTP/1.1" 302 - +2024-10-30 10:01:38,188 - INFO - Accessing scout page +2024-10-30 10:01:38,190 - INFO - 127.0.0.1 - - [30/Oct/2024 10:01:38] "GET /scout HTTP/1.1" 200 - +2024-10-30 10:01:39,621 - INFO - Handling send message request +2024-10-30 10:01:39,625 - INFO - 127.0.0.1 - - [30/Oct/2024 10:01:39] "GET /send_message HTTP/1.1" 200 - +2024-10-30 10:02:14,788 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 10:02:14,788 - INFO - Press CTRL+C to quit +2024-10-30 10:02:14,804 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 10:02:15,541 - WARNING - * Debugger is active! +2024-10-30 10:02:15,547 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 10:02:19,580 - INFO - Handling login request +2024-10-30 10:02:19,644 - INFO - User scout logged in with role 侦查者 +2024-10-30 10:02:19,644 - INFO - 192.168.146.189 - - [30/Oct/2024 10:02:19] "POST /login HTTP/1.1" 302 - +2024-10-30 10:02:19,671 - INFO - Accessing scout page +2024-10-30 10:02:19,676 - INFO - 192.168.146.189 - - [30/Oct/2024 10:02:19] "GET /scout HTTP/1.1" 200 - +2024-10-30 10:04:35,436 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://10.128.54.153:8000 +2024-10-30 10:04:35,436 - INFO - Press CTRL+C to quit +2024-10-30 10:04:35,449 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 10:04:36,145 - WARNING - * Debugger is active! +2024-10-30 10:04:36,150 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 10:04:55,346 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://10.128.54.153:8000 +2024-10-30 10:04:55,346 - INFO - Press CTRL+C to quit +2024-10-30 10:04:55,356 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 10:04:56,076 - WARNING - * Debugger is active! +2024-10-30 10:04:56,077 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 10:08:18,023 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://10.128.54.153:8000 +2024-10-30 10:08:18,023 - INFO - Press CTRL+C to quit +2024-10-30 10:08:18,037 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 10:08:18,875 - WARNING - * Debugger is active! +2024-10-30 10:08:18,882 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 10:08:28,556 - INFO - Handling login request +2024-10-30 10:08:28,628 - INFO - 127.0.0.1 - - [30/Oct/2024 10:08:28] "GET /login HTTP/1.1" 200 - +2024-10-30 10:08:28,791 - INFO - 127.0.0.1 - - [30/Oct/2024 10:08:28] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 10:08:30,238 - INFO - 127.0.0.1 - - [30/Oct/2024 10:08:30] "GET /register HTTP/1.1" 200 - +2024-10-30 10:08:30,276 - INFO - 127.0.0.1 - - [30/Oct/2024 10:08:30] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 10:09:21,575 - INFO - 127.0.0.1 - - [30/Oct/2024 10:09:21] "POST /register HTTP/1.1" 200 - +2024-10-30 10:09:23,151 - INFO - Index route accessed +2024-10-30 10:09:23,151 - INFO - 127.0.0.1 - - [30/Oct/2024 10:09:23] "GET / HTTP/1.1" 200 - +2024-10-30 10:09:34,076 - INFO - Index route accessed +2024-10-30 10:09:34,076 - INFO - 127.0.0.1 - - [30/Oct/2024 10:09:34] "GET / HTTP/1.1" 200 - +2024-10-30 10:09:38,621 - INFO - Handling login request +2024-10-30 10:09:38,630 - INFO - 127.0.0.1 - - [30/Oct/2024 10:09:38] "GET /login HTTP/1.1" 200 - +2024-10-30 10:09:38,664 - INFO - 127.0.0.1 - - [30/Oct/2024 10:09:38] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 10:09:42,734 - INFO - Handling login request +2024-10-30 10:09:42,744 - INFO - User scout logged in with role 侦查者 +2024-10-30 10:09:42,747 - INFO - 127.0.0.1 - - [30/Oct/2024 10:09:42] "POST /login HTTP/1.1" 302 - +2024-10-30 10:09:42,764 - INFO - Accessing scout page +2024-10-30 10:09:42,767 - INFO - 127.0.0.1 - - [30/Oct/2024 10:09:42] "GET /scout HTTP/1.1" 200 - +2024-10-30 10:09:44,205 - INFO - Handling send message request +2024-10-30 10:09:44,209 - INFO - 127.0.0.1 - - [30/Oct/2024 10:09:44] "GET /send_message HTTP/1.1" 200 - +2024-10-30 10:10:17,821 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://10.128.54.153:8000 +2024-10-30 10:10:17,822 - INFO - Press CTRL+C to quit +2024-10-30 10:10:17,835 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 10:10:18,640 - WARNING - * Debugger is active! +2024-10-30 10:10:18,643 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 10:11:21,897 - INFO - Handling login request +2024-10-30 10:11:21,980 - INFO - 192.168.146.189 - - [30/Oct/2024 10:11:21] "GET /login HTTP/1.1" 200 - +2024-10-30 10:11:27,253 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on all addresses (0.0.0.0) + * Running on http://127.0.0.1:8000 + * Running on http://192.168.146.210:8000 +2024-10-30 10:11:27,253 - INFO - Press CTRL+C to quit +2024-10-30 10:11:27,266 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 10:11:28,042 - WARNING - * Debugger is active! +2024-10-30 10:11:28,047 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 10:11:28,892 - INFO - Handling login request +2024-10-30 10:11:28,956 - INFO - 192.168.146.189 - - [30/Oct/2024 10:11:28] "GET /login HTTP/1.1" 200 - +2024-10-30 10:11:29,106 - INFO - 192.168.146.189 - - [30/Oct/2024 10:11:29] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 10:11:35,393 - INFO - Handling login request +2024-10-30 10:11:35,408 - INFO - User scout logged in with role 侦查者 +2024-10-30 10:11:35,410 - INFO - 192.168.146.189 - - [30/Oct/2024 10:11:35] "POST /login HTTP/1.1" 302 - +2024-10-30 10:11:35,435 - INFO - Accessing scout page +2024-10-30 10:11:35,438 - INFO - 192.168.146.189 - - [30/Oct/2024 10:11:35] "GET /scout HTTP/1.1" 200 - +2024-10-30 10:11:37,314 - INFO - Handling send message request +2024-10-30 10:11:37,320 - INFO - 192.168.146.189 - - [30/Oct/2024 10:11:37] "GET /send_message HTTP/1.1" 200 - +2024-10-30 10:11:52,139 - INFO - 192.168.146.90 - - [30/Oct/2024 10:11:52] "GET /commander HTTP/1.1" 302 - +2024-10-30 10:11:53,143 - INFO - Handling login request +2024-10-30 10:11:53,164 - INFO - 192.168.146.90 - - [30/Oct/2024 10:11:53] "GET /login?next=/commander HTTP/1.1" 200 - +2024-10-30 10:11:53,221 - INFO - 192.168.146.90 - - [30/Oct/2024 10:11:53] "GET /static/login.css HTTP/1.1" 200 - +2024-10-30 10:11:56,129 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\系统解构\\系统解构\\解构\\wsgi.py', reloading +2024-10-30 10:11:56,901 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 10:11:57,634 - WARNING - * Debugger is active! +2024-10-30 10:11:57,634 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 10:11:57,683 - INFO - 192.168.146.189 - - [30/Oct/2024 10:11:57] "POST /send_message HTTP/1.1" 302 - +2024-10-30 10:11:57,697 - INFO - Handling login request +2024-10-30 10:11:57,768 - INFO - 192.168.146.189 - - [30/Oct/2024 10:11:57] "GET /login?next=/send_message HTTP/1.1" 200 - +2024-10-30 10:11:57,909 - INFO - 192.168.146.189 - - [30/Oct/2024 10:11:57] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 10:12:06,609 - INFO - 192.168.146.189 - - [30/Oct/2024 10:12:06] "GET /register HTTP/1.1" 200 - +2024-10-30 10:12:06,640 - INFO - 192.168.146.189 - - [30/Oct/2024 10:12:06] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 10:12:09,826 - INFO - Handling login request +2024-10-30 10:12:09,836 - INFO - User admin logged in with role 指挥者 +2024-10-30 10:12:09,838 - INFO - 192.168.146.90 - - [30/Oct/2024 10:12:09] "POST /login HTTP/1.1" 302 - +2024-10-30 10:12:09,868 - INFO - Accessing commander page +2024-10-30 10:12:09,870 - INFO - 192.168.146.90 - - [30/Oct/2024 10:12:09] "GET /commander HTTP/1.1" 200 - +2024-10-30 10:12:09,953 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-30 10:12:09,967 - INFO - 192.168.146.90 - - [30/Oct/2024 10:12:09] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-30 10:12:09,976 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-30 10:12:09,984 - INFO - 192.168.146.90 - - [30/Oct/2024 10:12:09] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-30 10:12:09,984 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-30 10:12:09,988 - INFO - 192.168.146.90 - - [30/Oct/2024 10:12:09] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-30 10:12:14,914 - INFO - Accessing commander page +2024-10-30 10:12:14,921 - INFO - 192.168.146.90 - - [30/Oct/2024 10:12:14] "GET /commander HTTP/1.1" 200 - +2024-10-30 10:12:14,975 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-30 10:12:14,992 - INFO - 192.168.146.90 - - [30/Oct/2024 10:12:14] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-30 10:12:15,000 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-30 10:12:15,006 - INFO - 192.168.146.90 - - [30/Oct/2024 10:12:15] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-30 10:12:15,000 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-30 10:12:15,012 - INFO - 192.168.146.90 - - [30/Oct/2024 10:12:15] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-30 10:12:29,123 - INFO - Handling login request +2024-10-30 10:12:29,128 - INFO - 192.168.146.189 - - [30/Oct/2024 10:12:29] "GET /login?next=/send_message HTTP/1.1" 200 - +2024-10-30 10:12:38,500 - INFO - Handling login request +2024-10-30 10:12:38,510 - INFO - User scout logged in with role 侦查者 +2024-10-30 10:12:38,510 - INFO - 192.168.146.189 - - [30/Oct/2024 10:12:38] "POST /login HTTP/1.1" 302 - +2024-10-30 10:12:38,528 - INFO - Accessing scout page +2024-10-30 10:12:38,528 - INFO - 192.168.146.189 - - [30/Oct/2024 10:12:38] "GET /scout HTTP/1.1" 200 - +2024-10-30 10:12:41,928 - INFO - Handling send message request +2024-10-30 10:12:41,934 - INFO - 192.168.146.189 - - [30/Oct/2024 10:12:41] "GET /send_message HTTP/1.1" 200 - +2024-10-30 10:12:52,281 - INFO - Handling send message request +2024-10-30 10:12:52,305 - INFO - Message sent: heihei, Photo URL: http://192.168.146.210:8000/uploads/bb4570a4c53446cfaa7fd9ffc56eba7a_photo_2024-10-30_10-06-28.jpg +2024-10-30 10:12:52,309 - INFO - 192.168.146.189 - - [30/Oct/2024 10:12:52] "POST /send_message HTTP/1.1" 200 - +2024-10-30 10:12:55,928 - INFO - Accessing commander page +2024-10-30 10:12:55,941 - INFO - 192.168.146.90 - - [30/Oct/2024 10:12:55] "GET /commander HTTP/1.1" 200 - +2024-10-30 10:12:55,983 - INFO - Accessing uploaded file: 145922dab6954fd8968c426200198b17_sb.jpg +2024-10-30 10:12:55,997 - INFO - 192.168.146.90 - - [30/Oct/2024 10:12:55] "GET /uploads/145922dab6954fd8968c426200198b17_sb.jpg HTTP/1.1" 304 - +2024-10-30 10:12:56,013 - INFO - Accessing uploaded file: 1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png +2024-10-30 10:12:56,027 - INFO - 192.168.146.90 - - [30/Oct/2024 10:12:56] "GET /uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png HTTP/1.1" 304 - +2024-10-30 10:12:56,022 - INFO - Accessing uploaded file: bb4570a4c53446cfaa7fd9ffc56eba7a_photo_2024-10-30_10-06-28.jpg +2024-10-30 10:12:56,035 - INFO - 192.168.146.90 - - [30/Oct/2024 10:12:56] "GET /uploads/bb4570a4c53446cfaa7fd9ffc56eba7a_photo_2024-10-30_10-06-28.jpg HTTP/1.1" 200 - +2024-10-30 10:12:56,025 - INFO - Accessing uploaded file: 2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png +2024-10-30 10:12:56,041 - INFO - 192.168.146.90 - - [30/Oct/2024 10:12:56] "GET /uploads/2d7d87c11e2f45c49a8e4ff7a699661a__20241015171033.png HTTP/1.1" 304 - +2024-10-30 10:13:06,254 - INFO - Accessing uploaded file: bb4570a4c53446cfaa7fd9ffc56eba7a_photo_2024-10-30_10-06-28.jpg +2024-10-30 10:13:06,267 - INFO - 192.168.146.90 - - [30/Oct/2024 10:13:06] "GET /uploads/bb4570a4c53446cfaa7fd9ffc56eba7a_photo_2024-10-30_10-06-28.jpg HTTP/1.1" 304 - +2024-10-30 10:13:13,865 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\models.py', reloading +2024-10-30 10:13:13,874 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\test.py', reloading +2024-10-30 10:13:13,875 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\test0.py', reloading +2024-10-30 10:13:13,897 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\__init__.py', reloading +2024-10-30 10:13:13,898 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\event\\__init__.py', reloading +2024-10-30 10:13:13,898 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\orm\\__init__.py', reloading +2024-10-30 10:13:13,898 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\flask_sqlalchemy\\model.py', reloading +2024-10-30 10:13:13,899 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\flask_sqlalchemy\\query.py', reloading +2024-10-30 10:13:13,899 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\flask_sqlalchemy\\session.py', reloading +2024-10-30 10:13:13,900 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\flask_sqlalchemy\\table.py', reloading +2024-10-30 10:13:13,903 - INFO - * Detected change in 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_3.12.2032.0_x64__qbz5n2kfra8p0\\Lib\\os.py', reloading +2024-10-30 10:13:13,906 - INFO - * Detected change in 'C:\\Program Files\\WindowsApps\\PythonSoftwareFoundation.Python.3.12_3.12.2032.0_x64__qbz5n2kfra8p0\\Lib\\_pydatetime.py', reloading +2024-10-30 10:13:13,907 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\util\\__init__.py', reloading +2024-10-30 10:13:13,907 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\inspection.py', reloading +2024-10-30 10:13:13,908 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\schema.py', reloading +2024-10-30 10:13:13,908 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\sql\\__init__.py', reloading +2024-10-30 10:13:13,909 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\sql\\base.py', reloading +2024-10-30 10:13:13,910 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\sql\\schema.py', reloading +2024-10-30 10:13:13,911 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\sql\\roles.py', reloading +2024-10-30 10:13:13,911 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\sql\\visitors.py', reloading +2024-10-30 10:13:13,911 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\sql\\elements.py', reloading +2024-10-30 10:13:13,912 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\sql\\selectable.py', reloading +2024-10-30 10:13:13,913 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\util\\typing.py', reloading +2024-10-30 10:13:13,913 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\sql\\cache_key.py', reloading +2024-10-30 10:13:13,914 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\sql\\traversals.py', reloading +2024-10-30 10:13:13,914 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\event\\registry.py', reloading +2024-10-30 10:13:13,915 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\util\\_collections.py', reloading +2024-10-30 10:13:13,916 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\util\\langhelpers.py', reloading +2024-10-30 10:13:13,917 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\util\\_py_collections.py', reloading +2024-10-30 10:13:13,917 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\sql\\annotation.py', reloading +2024-10-30 10:13:13,918 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\orm\\mapper.py', reloading +2024-10-30 10:13:13,919 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\orm\\base.py', reloading +2024-10-30 10:13:13,920 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\orm\\decl_api.py', reloading +2024-10-30 10:13:13,920 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\orm\\interfaces.py', reloading +2024-10-30 10:13:13,921 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\orm\\query.py', reloading +2024-10-30 10:13:13,921 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\orm\\scoping.py', reloading +2024-10-30 10:13:13,923 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\orm\\session.py', reloading +2024-10-30 10:13:13,924 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\orm\\state.py', reloading +2024-10-30 10:13:13,924 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\orm\\_typing.py', reloading +2024-10-30 10:13:13,925 - INFO - * Detected change in 'C:\\Users\\Lenovo\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\sqlalchemy\\log.py', reloading +2024-10-30 10:13:14,782 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 10:13:15,594 - WARNING - * Debugger is active! +2024-10-30 10:13:15,594 - INFO - * Debugger PIN: 266-144-430 +2024-10-30 10:14:18,285 - INFO - 127.0.0.1 - - [30/Oct/2024 10:14:18] "GET /register HTTP/1.1" 200 - +2024-10-30 10:14:18,458 - INFO - 127.0.0.1 - - [30/Oct/2024 10:14:18] "GET /static/login.css HTTP/1.1" 304 - +2024-10-30 10:14:26,558 - INFO - Handling login request +2024-10-30 10:14:26,618 - INFO - 127.0.0.1 - - [30/Oct/2024 10:14:26] "GET /login HTTP/1.1" 200 - +2024-10-30 10:15:11,438 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-30 10:15:11,439 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-30 10:15:11,440 - INFO - * Detected change in 'e:\\_Ufo\\0000jiegou\\TheBattleCar\\app.py', reloading +2024-10-30 10:15:11,869 - INFO - * Restarting with watchdog (windowsapi) +2024-10-30 10:15:12,710 - WARNING - * Debugger is active! +2024-10-30 10:15:12,714 - INFO - * Debugger PIN: 266-144-430 diff --git a/TheBattleCar/app.py b/TheBattleCar/app.py index e853682..5910179 100644 --- a/TheBattleCar/app.py +++ b/TheBattleCar/app.py @@ -1,131 +1,377 @@ -from flask import Flask, render_template, request, redirect, url_for, session -from flask import Flask, request, jsonify, send_from_directory import os +import uuid +import logging +from datetime import datetime +from flask import Flask, current_app, session, redirect, url_for, request, flash, render_template, jsonify, send_from_directory +from flask_sqlalchemy import SQLAlchemy +from flask_mysqldb import MySQL +import MySQLdb.cursors +from werkzeug.utils import secure_filename +from flask_login import LoginManager, UserMixin, login_user, login_required, current_user +from wtforms import Form, StringField +from wtforms.validators import Length, EqualTo, ValidationError +import pymysql +conn = pymysql.connect(host="localhost", port=3306, + user="root", password="lin556688", + database="mydatabase", charset="utf8mb4") + +# 鍒濆鍖 Flask 搴旂敤 app = Flask(__name__) -app.secret_key = 'your_secret_key' # 鐢ㄤ簬浼氳瘽绠$悊锛岃鏇挎崲涓烘洿瀹夊叏鐨勫瘑閽 -app.config['UPLOAD_FOLDER'] = 'uploads' # 璁剧疆涓婁紶鏂囦欢瀛樺偍鐩綍 +app.config['SECRET_KEY'] = 'your_secret_key' +app.secret_key = os.urandom(24) # 鐢熸垚鏇村畨鍏ㄧ殑浼氳瘽瀵嗛挜 +app.config['UPLOAD_FOLDER'] = 'uploads/' # 璁剧疆涓婁紶鏂囦欢瀛樺偍鐩綍 os.makedirs(app.config['UPLOAD_FOLDER'], exist_ok=True) # 纭繚鐩綍瀛樺湪 -# EXTERNAL_SCOUT_URL = 'http://192.168.78.178:5000/' # 澶栭儴渚︽煡鑰呴〉闈RL +# 閰嶇疆鏃ュ織 +logging.basicConfig(filename='app.log', level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s') + +# MySQL 閰嶇疆 +app.config['MYSQL_HOST'] = 'localhost' +app.config['MYSQL_USER'] = 'root' # 鏇挎崲涓轰綘鐨 MySQL 鐢ㄦ埛鍚 +app.config['MYSQL_PASSWORD'] = 'lin556688' # 鏇挎崲涓轰綘鐨 MySQL 瀵嗙爜 +app.config['MYSQL_DB'] = 'mydatabase' +app.config['MYSQL_CURSORCLASS'] = 'DictCursor' + +mysql = MySQL(app) +ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif'} + +# 閰嶇疆鏃ュ織璁板綍鍣 +logging.basicConfig(filename='app.log', level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s') +logger = logging.getLogger(__name__) + +# 鑷畾涔夋棩蹇楀鐞嗗櫒绫 +class DatabaseLogHandler(logging.Handler): + def emit(self, record): + log_entry = self.format(record) + # 鍘绘帀鏃堕棿鎴充腑鐨勬绉掗儴鍒 + timestamp = datetime.strptime(record.asctime, '%Y-%m-%d %H:%M:%S,%f').strftime('%Y-%m-%d %H:%M:%S') + cursor = mysql.connection.cursor() + cursor.execute( + "INSERT INTO logs (timestamp, level, message) VALUES (%s, %s, %s)", + (timestamp, record.levelname, log_entry) + ) + mysql.connection.commit() + cursor.close() + +# 娣诲姞鑷畾涔夋棩蹇楀鐞嗗櫒 +db_handler = DatabaseLogHandler() +db_handler.setLevel(logging.INFO) +formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(message)s') +db_handler.setFormatter(formatter) +logger.addHandler(db_handler) + +def allowed_file(filename): + return '.' in filename and \ + filename.rsplit('.', 1)[1].lower() in ALLOWED_EXTENSIONS + +# 鍒濆鍖 Flask-Login +login_manager = LoginManager() +login_manager.init_app(app) +login_manager.login_view = 'login' + +class User(UserMixin): + def __init__(self, id, username, role): + self.id = id + self.username = username + self.role = role + +@login_manager.user_loader +def load_user(user_id): + cursor = mysql.connection.cursor() + cursor.execute("SELECT * FROM users WHERE id = %s", (user_id,)) + user_data = cursor.fetchone() + cursor.close() + + if user_data: + return User(user_data['id'], user_data['username'], user_data['role']) + return None + +@app.route('/') +def index(): + current_app.logger.info("Index route accessed") + return "Welcome to the Home Page!" + +@app.route('/view_logs') +@login_required +def view_logs(): + with open('app.log', 'r') as log_file: + logs = log_file.readlines() + return render_template('logs.html', logs=logs) # 澶勭悊鏂囦欢涓婁紶 @app.route('/upload', methods=['POST']) def upload_file(): + logger.info("Handling file upload request") if 'file' not in request.files: + logger.warning("No file part in request") return jsonify({'message': 'No file part'}), 400 file = request.files['file'] if file.filename == '': + logger.warning("No selected file") return jsonify({'message': 'No selected file'}), 400 - if file: - filepath = os.path.join(app.config['UPLOAD_FOLDER'], file.filename) + if file and allowed_file(file.filename): + filename = secure_filename(f"{uuid.uuid4().hex}_{file.filename}") + filepath = os.path.join(app.config['UPLOAD_FOLDER'], filename) file.save(filepath) + logger.info(f"File uploaded successfully: {filename}") return jsonify({'message': 'File uploaded successfully', 'filepath': filepath}), 201 + else: + logger.warning("File type not allowed") + return jsonify({'message': 'File type not allowed'}), 400 - # 鎻愪緵涓婁紶鏂囦欢鐨勮闂 - - +# 鎻愪緵涓婁紶鏂囦欢鐨勮闂 @app.route('/uploads/') def uploaded_file(filename): + logger.info(f"Accessing uploaded file: {filename}") return send_from_directory(app.config['UPLOAD_FOLDER'], filename) # 鐧诲綍椤甸潰 @app.route('/login', methods=['GET', 'POST']) def login(): + logger.info("Handling login request") if request.method == 'POST': username = request.form['username'] password = request.form['password'] - # 鍦ㄨ繖閲屾坊鍔犱綘鐨勮璇侀昏緫锛堜緥濡傦紝浠庢暟鎹簱楠岃瘉鐢ㄦ埛鍚嶅拰瀵嗙爜锛 - # 鍋囪鎴戜滑鎬绘槸鎺ュ彈浠讳綍鐢ㄦ埛鍚嶅拰瀵嗙爜涓'admin'鐨勭櫥褰 - if username == 'admin' and password == 'admin': - role = request.form['role'] - session['username'] = username - session['role'] = role - if role == '渚︽煡鑰': + + cursor = mysql.connection.cursor() + cursor.execute("SELECT * FROM users WHERE username = %s AND password = %s", (username, password)) + user_data = cursor.fetchone() + cursor.close() + + if user_data: + user = User(user_data['id'], user_data['username'], user_data['role']) + login_user(user) + logger.info(f"User {username} logged in with role {user_data['role']}") + + if user_data['role'] == '渚︽煡鑰': return redirect(url_for('scout')) - elif role == '鎸囨尌鑰': + elif user_data['role'] == '鎸囨尌鑰': return redirect(url_for('commander')) - elif role == '鏀诲嚮鑰': + elif user_data['role'] == '鏀诲嚮鑰': return redirect(url_for('attacker')) else: + logger.warning("Invalid credentials") return "Invalid credentials. Please try again." + return render_template('login.html') +# 澶勭悊鏁版嵁搴撹鍙 +def con_my_sql(sql_code): + try: + conn.ping(reconnect=True) + cursor= conn.cursor(pymysql.cursors.DictCursor) + cursor.execute(sql_code) + conn.commit() + conn.close() + return cursor + except pymysql.MySQLError as err_massage: + conn.rollback() + conn.close() + return type(err_massage), err_massage + +class RegisterForm(Form): + captcha = StringField(validators=[Length(min=4,max=4,message='鏍¢獙鐮佹牸寮忛敊璇')]) + username = StringField(validators=[Length(min=3,max=10,message='鐢ㄦ埛鍚嶉暱搴﹀繀椤诲湪3鍒10涓瓧绗︿箣闂')]) + password = StringField(validators=[Length(min=6,max=20,message='瀵嗙爜闀垮害蹇呴』鍦6鍒20涓瓧绗︿箣闂')]) + password_confirm = StringField(validators=[EqualTo('password',message='涓ゆ杈撳叆鐨勫瘑鐮佷笉涓鑷')]) + def validate_captcha(self, filed): + if filed.data not in ['1111', '2222', '3333']: + raise ValidationError('鏍¢獙鐮侀敊璇') +@app.route('/register', methods=['GET', 'POST']) +def register(): + if request.method == 'GET': + return render_template('register.html') + else: + form = RegisterForm(request.form) + if form.validate(): + username = form.username.data + password = form.password.data + captcha = form.captcha.data + # 闈欐佹敞鍐岀爜杩涜瑙掕壊娉ㄥ唽 + if captcha == "1111": + role = "渚︽煡鑰" + if captcha == "2222": + role = "鎸囨尌鑰" + if captcha == "3333": + role = "鏀诲嚮鑰" + + code = "select * from users where username = '%s'" % username + cursor_ans = con_my_sql(code) + cursor_select = cursor_ans.fetchall() + + if len(cursor_select) > 0: + return '鐢ㄦ埛宸茬粡瀛樺湪 杩斿洖鐧诲綍' + else: + code = "INSERT INTO users(username, password, role) VALUES('%s', '%s', '%s')" % (username, password, role) + print(con_my_sql(code)) + return '娉ㄥ唽鎴愬姛 杩斿洖鐧诲綍' + else: + print(form.errors) + return redirect(url_for('register')) + # 渚︽煡鑰呴〉闈 @app.route('/scout') +@login_required def scout(): - if 'username' not in session or session['role'] != '渚︽煡鑰': + logger.info("Accessing scout page") + if current_user.role != '渚︽煡鑰': + logger.warning("Unauthorized access to scout page") return redirect(url_for('login')) return render_template('scout.html') - # 鎸囨尌鑰呴〉闈 @app.route('/commander') +@login_required def commander(): - if 'username' not in session or session['role'] != '鎸囨尌鑰': + logger.info("Accessing commander page") + if current_user.role != '鎸囨尌鑰': + logger.warning("Unauthorized access to commander page") + return redirect(url_for('login')) + + # 鑾峰彇鐗瑰畾鐩綍涓嬬殑鎵鏈夋枃浠跺拰鏀诲嚮鍧愭爣鐘舵 + directory = 'E:/_Ufo/0000jiegou/TheBattleCar/uploads' + media_items = [] + + try: + media_items = [f for f in os.listdir(directory) + if os.path.isfile(os.path.join(directory, f)) and allowed_file(f)] + except Exception as e: + logger.error(f"Error accessing directory: {str(e)}") + flash(f"Error accessing directory: {str(e)}") + + # 鑾峰彇鏀诲嚮鐘舵 + cursor = mysql.connection.cursor() + cursor.execute("SELECT id, coordinate, attacked, created_at FROM attacks ORDER BY created_at DESC") + attacks = cursor.fetchall() + cursor.close() + + return render_template('commander.html', media_items=media_items, attacks=attacks) + +# 鎸囨尌鑰呭彂閫佹敾鍑诲潗鏍 +@app.route('/send_attack', methods=['POST']) +@login_required +def send_attack(): + logger.info("Handling send attack request") + if current_user.role != '鎸囨尌鑰': + logger.warning("Unauthorized access to send attack") return redirect(url_for('login')) - return render_template('commander.html') + coordinate = request.form.get('coordinate') + if not coordinate: + logger.warning("No coordinate provided") + return "No coordinate provided", 400 + + # 鎻掑叆鏀诲嚮鍧愭爣鍒版暟鎹簱 + cursor = mysql.connection.cursor() + cursor.execute("INSERT INTO attacks (coordinate) VALUES (%s)", (coordinate,)) + mysql.connection.commit() + cursor.close() + logger.info(f"Attack coordinate sent: {coordinate}") + + flash('鏀诲嚮鍧愭爣宸插彂閫') + return redirect(url_for('commander')) # 鏀诲嚮鑰呴〉闈 @app.route('/attacker') +@login_required def attacker(): - if 'username' not in session or session['role'] != '鏀诲嚮鑰': + logger.info("Accessing attacker page") + if current_user.role != '鏀诲嚮鑰': + logger.warning("Unauthorized access to attacker page") + return redirect(url_for('login')) + + # 鑾峰彇鏀诲嚮鍧愭爣鍒楄〃 + cursor = mysql.connection.cursor() + cursor.execute("SELECT id, coordinate, created_at FROM attacks ORDER BY created_at DESC") + attacks = cursor.fetchall() + cursor.close() + + return render_template('attacker.html', attacks=attacks) + +# 鏀诲嚮鑰呮墽琛屾敾鍑 +@app.route('/execute_attack/', methods=['POST']) +@login_required +def execute_attack(attack_id): + logger.info(f"Handling execute attack request for ID: {attack_id}") + if current_user.role != '鏀诲嚮鑰': + logger.warning("Unauthorized access to execute attack") return redirect(url_for('login')) - return render_template('attacker.html') + cursor = mysql.connection.cursor() + cursor.execute("UPDATE attacks SET attacked = TRUE WHERE id = %s", (attack_id,)) + mysql.connection.commit() + cursor.close() + logger.info(f"Attack executed for ID: {attack_id}") + + flash(f'宸插鍧愭爣ID涓 {attack_id} 鐨勭洰鏍囧畬鎴愭墦鍑') + return redirect(url_for('attacker')) # 閫鍑虹櫥褰曪紙娓呴櫎浼氳瘽锛 @app.route('/logout') +@login_required def logout(): + logger.info("Handling logout request") session.pop('username', None) session.pop('role', None) return redirect(url_for('login')) - -from werkzeug.utils import secure_filename -import uuid - -ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif'} - - -def allowed_file(filename): - return '.' in filename and \ - filename.rsplit('.', 1)[1].lower() in ALLOWED_EXTENSIONS - - +# 鍙戦佹秷鎭 @app.route('/send_message', methods=['GET', 'POST']) +@login_required def send_message(): + logger.info("Handling send message request") if request.method == 'POST': - # 澶勭悊鐓х墖涓婁紶 - if 'photo' in request.files: - file = request.files['photo'] - if file.filename == '': - return "No selected file", 400 - if file and allowed_file(file.filename): - filename = secure_filename(f"{uuid.uuid4().hex}_{file.filename}") - filepath = os.path.join(app.config['UPLOAD_FOLDER'], filename) - file.save(filepath) - photo_url = url_for('uploaded_file', filename=filename, _external=True) - else: - return "Allowed file types are png, jpg, jpeg, gif", 400 - else: - photo_url = None - - # 澶勭悊娑堟伅鏂囨湰涓婁紶 message = request.form.get('message') if not message: + logger.warning("No message provided") return "No message provided", 400 - # 鍦ㄨ繖閲屽鐞嗘秷鎭拰鐓х墖鐨勫瓨鍌ㄦ垨杩涗竴姝ュ鐞 - # 渚嬪锛屽皢娑堟伅鍜岀収鐗嘦RL瀛樺偍鍒版暟鎹簱 + photo_url = None + if 'photo' in request.files: + file = request.files['photo'] + if file.filename != '': + if file and allowed_file(file.filename): + filename = secure_filename(f"{uuid.uuid4().hex}_{file.filename}") + filepath = os.path.join(app.config['UPLOAD_FOLDER'], filename) + file.save(filepath) + photo_url = url_for('uploaded_file', filename=filename, _external=True) + else: + logger.warning("Allowed file types are png, jpg, jpeg, gif") + return "Allowed file types are png, jpg, jpeg, gif", 400 + + # 鎻掑叆鏁版嵁鍒 MySQL + cursor = mysql.connection.cursor() + cursor.execute("INSERT INTO messages (message, photo_url) VALUES (%s, %s)", (message, photo_url)) + mysql.connection.commit() + cursor.close() + logger.info(f"Message sent: {message}, Photo URL: {photo_url}") - # 杩斿洖鎴愬姛鍝嶅簲鎴栭噸瀹氬悜 return f"Message and photo (if uploaded) have been received. Message: {message}\nPhoto URL: {photo_url if photo_url else 'N/A'}" - # 濡傛灉鏄疓ET璇锋眰锛屾覆鏌撳彂閫佹秷鎭殑琛ㄥ崟 return render_template('send_message.html') +# 鑾峰彇鎵鏈夋秷鎭 +@app.route('/messages', methods=['GET']) +@login_required +def get_messages(): + logger.info("Handling get messages request") + cursor = mysql.connection.cursor() + cursor.execute("SELECT id, message, photo_url, created_at FROM messages") + result = cursor.fetchall() + cursor.close() + + messages = [] + for row in result: + messages.append({ + 'id': row['id'], + 'message': row['message'], + 'photo_url': row['photo_url'], + 'created_at': row['created_at'] + }) + + return jsonify(messages) + if __name__ == '__main__': app.run(debug=True, host='0.0.0.0', port=8000) \ No newline at end of file diff --git a/TheBattleCar/models.py b/TheBattleCar/models.py new file mode 100644 index 0000000..aff6a9a --- /dev/null +++ b/TheBattleCar/models.py @@ -0,0 +1,9 @@ +# models.py +from flask_sqlalchemy import SQLAlchemy + +db = SQLAlchemy() + +class User(db.Model): + id = db.Column(db.Integer, primary_key=True) + username = db.Column(db.String(80), unique=True, nullable=False) + role = db.Column(db.String(20), nullable=False) # 瑙掕壊瀛楁锛屼緥濡 '鎸囨尌鑰' 鎴 '鎴愬憳' \ No newline at end of file diff --git a/TheBattleCar/static/login.css b/TheBattleCar/static/login.css new file mode 100644 index 0000000..e727d0e --- /dev/null +++ b/TheBattleCar/static/login.css @@ -0,0 +1,199 @@ +*{ + /*鍒濆鍖 娓呴櫎椤甸潰鍏冪礌鐨勫唴澶栬竟璺*/ + padding: 0; + margin: 0; + /*鐩掑瓙妯″瀷*/ + box-sizing: border-box; +} +body { + /*寮规у竷灞 璁╅〉闈㈠厓绱犲瀭鐩+姘村钩灞呬腑*/ + display: flex; + justify-content: center; + align-items: center; + /*璁╅〉闈㈠缁堝崰娴忚鍣ㄥ彲瑙嗗尯鍩熸婚珮搴*/ + height: 100vh; + /*鑳屾櫙娓愬彉鑹*/ + background: linear-gradient(#141e30,#243b55); + +} +.login{ + /*寮规у竷灞 璁╁瓙鍏冪礌绉颁负寮规ч」鐩*/ + display: flex; + /*璁╁脊鎬ч」鐩瀭鐩存帓鍒 鍘熺悊鏄敼鍙樺脊鎬х洅瀛愮殑涓昏酱鏂瑰悜 + 鐖跺厓绱犲氨鏄脊鎬х洅瀛 鐜板湪鏀瑰彉鍚庣殑涓昏酱鏂瑰悜鏄悜涓嬩簡*/ + flex-direction: column; + /*璁╁脊鎬ч」鐩湪浜ゅ弶杞存柟鍚戞按骞冲眳涓 鐜板湪涓昏酱鐨勬柟鍚戞槸鍚戜笅 + 浜ゅ弶杞寸殑鏂瑰悜鏄笌涓昏酱鍨傜洿 浜ゅ弶杞寸殑鏂瑰悜鏄悜鍙*/ + align-items: center; + width: 400px; + padding: 40px; + background-color: rgba(0, 0, 0, 0.2); + box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4); + +} + +.login h2{ + color: #fff; + margin-bottom: 30px; +} +.login .login_box { + /*鐩稿瀹氫綅*/ + position: relative; + width: 100%; +} +.login .login_box input{ + /*娓呴櫎input妗嗚嚜甯︾殑杈规鍜岃疆寤*/ + outline: none; + border: none; + width: 100%; + padding: 10px 0; + margin-bottom: 30px; + color: #fff; + font-size: 16px; + border-bottom: 1px solid #fff; + /*鑳屾櫙棰滆壊涓洪忔槑鑹*/ + background-color: transparent; +} + +.login .login_box label{ + position:absolute; + top: 0 ; + left: 0; + padding: 10px 0; + color: #fff; + /*杩欎釜灞炴х殑榛樿鍊兼槸auto 榛樿鏄繖涓厓绱犲彲浠ヨ鐐瑰嚮 + 浣嗘槸濡傛灉鎴戜滑鍐欎簡none 灏辨槸杩欎釜鍏冪礌涓嶈兘琚偣鍑伙紝灏卞ソ鍍忓畠鍙浣嗘槸涓嶈兘鐢 + 鍙湜鑰屼笉鍙強*/ + /*杩欎釜灏辨槸涓よ呯殑鍖哄埆*/ + pointer-events: none; + /*鍔犱釜杩囧害*/ + transition: all 0.5s; +} +/*: focus 閫夋嫨鍣ㄦ槸褰搃nput鑾峰緱鐒︾偣鏄Е鍙戠殑鏍峰紡 + 鏄浉閭诲厔寮熼夋嫨鍣 + 鍘绘壘涓巌nput鐩搁偦鐨勫厔寮焞abel*/ +/*锛歷alid 閫夋嫨鍣ㄦ槸鍒ゆ柇input 妗嗙殑鍐呭鏄惁鍚堟硶锛屽鏋滃悎娉曚細鎵ц涓嬮潰鐨勫睘鎬т唬鐮侊紝 + 涓嶅悎娉曞氨涓嶄細鎵ц锛屾垜浠垰寮濮嬪啓甯冨眬鐨勬椂鍊欑粰input妗嗗啓浜唕equired 鎴戜滑鍒犳帀鐪嬪姣 + 褰撴病鏈塺equired鐨勮瘽 input妗嗙殑鍊煎氨浼氳璁や负涓鐩村悎娉曪紝鎵浠ヤ竴鐩撮兘鏄笅鏂圭殑鏍峰紡锛 + 浣嗘槸瀵嗙爜涓嶄細锛屽瘑鐮佹鐨勫间负绌猴紝閭d箞杩欏彞璇濆氨涓嶅悎娉曪紝required涓嶈兘涓虹┖ + 褰撴垜浠粰瀵嗙爜妗嗗啓鐐逛笢瑗跨殑鏃跺欐墠浼氭墽琛屼互涓嬩唬鐮 + +*/ +.login .login_box input:focus + label, +.login .login_box input:valid + label{ + top: -20px; + color: #03e9f4; + font-size: 12px; +} + +.login a{ + /*overflow: hidden;*/ + position: relative; + padding: 10px 20px; + color: #03e9f4; + /*鍙栨秷a琛ㄧ幇鍘熸湁鐨勪笅鍒掔嚎*/ + text-decoration: none; + /*鍚屾牱鍔犱釜杩囨浮*/ + transition: all 0.5s; +} +.login a:hover { + color: #fff; + border-radius: 5px; + background-color: #03e9f4; + box-shadow: 0 0 5px #03e9f4,0 0 25px #03e9f4,0 0 50px #03e9f4,0 0 100px #03e9f4; +} +.login a span{ + position: absolute; +} +.login a span:first-child { + top: 0; + left: -100%; + width: 100%; + height: 2px; + /*to right 灏辨槸寰鍙宠竟 涓嬮潰鐨勫悓鐞*/ + background: linear-gradient(to right,transparent,#03e9f4); + /*鍔ㄧ敾 鍚嶇О 鏃堕暱 linear鏄寑閫熻繍鍔 infinite鏄棤闄愭杩愬姩*/ + animation: move1 1s linear infinite; + +} +.login a span:nth-child(2){ + right: 0; + top: -100%; + width: 2px; + height: 100%; + background: linear-gradient(transparent,#03e6f4); + /*杩欓噷澶氫簡涓0.25s鍏跺疄鏄欢杩熸椂闂*/ + animation: move2 1s linear 0.25s infinite; +} + +.login a span:nth-child(3){ + right: -100%; + bottom: 0; + width: 100%; + height: 2px; + background: linear-gradient(to left,transparent,#03e9f4); + + animation: move3 1s linear 0.5s infinite; +} + +.login a span:last-child{ + left: 0; + bottom: -100%; + width: 2px; + height: 100%; + background: linear-gradient(#03e9f4,transparent); + animation: move4 1s linear 0.75s infinite; +} +/*鍐欎竴涓嬪姩鐢 */ +@keyframes move1{ + 0%{ + left: -100%; + + } + 50%, + 100%{ + left: 100%; + } +} + +@keyframes move2{ + 0%{ + top: -100%; + + } + 50%, + 100%{ + top: 100%; + } +} + +@keyframes move3{ + 0%{ + right: -100%; + + } + 50%, + 100%{ + right: 100%; + } +} + +@keyframes move4{ + 0%{ + bottom: -100%; + + } + 50%, + 100%{ + bottom: 100%; + } +} + +.register-button { + display: block; + width: 100%; + height: 41px; + text-align: center; + background: #add8e6; + border: 3 solid #999; + border-radius: 5px; +} diff --git a/TheBattleCar/templates/attacker.html b/TheBattleCar/templates/attacker.html index b0e05c2..24b7d47 100644 --- a/TheBattleCar/templates/attacker.html +++ b/TheBattleCar/templates/attacker.html @@ -4,7 +4,24 @@ 鏀诲嚮鑰呯晫闈 -

鏀诲嚮鑰呯晫闈

-

鍔熻兘寰呭疄鐜

+

鏀诲嚮鍧愭爣鍒楄〃

+ \ No newline at end of file diff --git a/TheBattleCar/templates/commander.html b/TheBattleCar/templates/commander.html index 207b6a4..ee215a7 100644 --- a/TheBattleCar/templates/commander.html +++ b/TheBattleCar/templates/commander.html @@ -4,11 +4,43 @@ 鎸囨尌鑰呯晫闈 -

鎸囨尌鑰呮煡鐪嬬収鐗

+

鎸囨尌鑰呯晫闈

+ +

鍙戦佹敾鍑诲潗鏍

+
+ + + +
+ +

鏀诲嚮鍧愭爣鐘舵

+ +

鏌ョ湅鐓х墖

+ \ No newline at end of file diff --git a/TheBattleCar/templates/login.html b/TheBattleCar/templates/login.html index 719011d..2af1b6d 100644 --- a/TheBattleCar/templates/login.html +++ b/TheBattleCar/templates/login.html @@ -1,24 +1,73 @@ - - - - - - Login - - -

Login

-
- -
- -
- -
- + + + + + + 缃戠粶淇℃伅绯荤粺鐧诲綍 + + + +
+ \ No newline at end of file diff --git a/TheBattleCar/templates/logs.html b/TheBattleCar/templates/logs.html new file mode 100644 index 0000000..b8847ab --- /dev/null +++ b/TheBattleCar/templates/logs.html @@ -0,0 +1,17 @@ + + + + + + View Logs + + +

Application Logs

+
+        {% for log in logs %}
+            {{ log }}
+        {% endfor %}
+    
+ Back to Home + + \ No newline at end of file diff --git a/TheBattleCar/templates/register.html b/TheBattleCar/templates/register.html new file mode 100644 index 0000000..dcff0cf --- /dev/null +++ b/TheBattleCar/templates/register.html @@ -0,0 +1,33 @@ + + + + + + 缃戠粶淇℃伅绯荤粺娉ㄥ唽 + + + + + + + diff --git a/TheBattleCar/templates/scout.html b/TheBattleCar/templates/scout.html index 0bc330f..fabe602 100644 --- a/TheBattleCar/templates/scout.html +++ b/TheBattleCar/templates/scout.html @@ -7,7 +7,7 @@

Scout Page

- + \ No newline at end of file diff --git a/TheBattleCar/templates/upload.html b/TheBattleCar/templates/upload.html new file mode 100644 index 0000000..fcb9435 --- /dev/null +++ b/TheBattleCar/templates/upload.html @@ -0,0 +1,14 @@ + + + + + 涓婁紶鐓х墖 + + +

涓婁紶鐓х墖

+ + + + + + \ No newline at end of file diff --git a/TheBattleCar/test.py b/TheBattleCar/test.py new file mode 100644 index 0000000..1560569 --- /dev/null +++ b/TheBattleCar/test.py @@ -0,0 +1,6 @@ +# test.py +from models import db, User + +user = User(username='commander', role='鎸囨尌鑰') +db.session.add(user) +db.session.commit() \ No newline at end of file diff --git a/TheBattleCar/test0.py b/TheBattleCar/test0.py new file mode 100644 index 0000000..4120c78 --- /dev/null +++ b/TheBattleCar/test0.py @@ -0,0 +1,52 @@ +from flask import Flask, request, jsonify +from flask_mysqldb import MySQL +import MySQLdb.cursors + +app = Flask(__name__) + +# MySQL 閰嶇疆 +app.config['MYSQL_HOST'] = 'localhost' +app.config['MYSQL_USER'] = 'root' # 鏇挎崲涓轰綘鐨 MySQL 鐢ㄦ埛鍚 +app.config['MYSQL_PASSWORD'] = 'lin556688' # 鏇挎崲涓轰綘鐨 MySQL 瀵嗙爜 +app.config['MYSQL_DB'] = 'mydatabase' +app.config['MYSQL_CURSORCLASS'] = 'DictCursor' + +mysql = MySQL(app) + +# 娣诲姞娑堟伅鍜岀収鐗 +@app.route('/message', methods=['POST']) +def add_message(): + message = request.form['message'] + photo = request.files['photo'] + + # 璇诲彇鐓х墖鍐呭 + photo_data = photo.read() + + # 鎻掑叆鏁版嵁鍒 MySQL + cursor = mysql.connection.cursor() + cursor.execute("INSERT INTO messages (message, photo) VALUES (%s, %s)", (message, photo_data)) + mysql.connection.commit() + cursor.close() + + return jsonify({'status': 'success'}), 201 + +# 鑾峰彇鎵鏈夋秷鎭 +@app.route('/messages', methods=['GET']) +def get_messages(): + cursor = mysql.connection.cursor() + cursor.execute("SELECT id, message, created_at FROM messages") # 涓嶇洿鎺ユ煡璇㈢収鐗囦互鎻愰珮鎬ц兘 + result = cursor.fetchall() + cursor.close() + + messages = [] + for row in result: + messages.append({ + 'id': row['id'], + 'message': row['message'], + 'created_at': row['created_at'] + }) + + return jsonify(messages) + +if __name__ == '__main__': + app.run(host='0.0.0.0', port=5000) \ No newline at end of file diff --git a/TheBattleCar/uploads/145922dab6954fd8968c426200198b17_sb.jpg b/TheBattleCar/uploads/145922dab6954fd8968c426200198b17_sb.jpg new file mode 100644 index 0000000..ade3f04 Binary files /dev/null and b/TheBattleCar/uploads/145922dab6954fd8968c426200198b17_sb.jpg differ diff --git a/TheBattleCar/uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png b/TheBattleCar/uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png new file mode 100644 index 0000000..f5a4477 Binary files /dev/null and b/TheBattleCar/uploads/1eaf03ab0fdf409289d26eb2e282955c__20241022150445.png differ diff --git a/TheBattleCar/uploads/bb4570a4c53446cfaa7fd9ffc56eba7a_photo_2024-10-30_10-06-28.jpg b/TheBattleCar/uploads/bb4570a4c53446cfaa7fd9ffc56eba7a_photo_2024-10-30_10-06-28.jpg new file mode 100644 index 0000000..4d2a4a6 Binary files /dev/null and b/TheBattleCar/uploads/bb4570a4c53446cfaa7fd9ffc56eba7a_photo_2024-10-30_10-06-28.jpg differ