A Auth System, Built with PHP
Next, we will call Wee-Auth-System
: WAS
, it's same like was
(passive of is
)
WAS can finish the works like the list:
- Domain Check -- User convenition feature
- SESSION -- Prevent the CC Attack
- Card-Password -- Quick authorization
- Download with QR code -- More safety(This is TODO)
- Quickly Check API -- Check authorization more convenient
-
git clone this repo or download repo zip
-
Access index page, it will redirect you to install page
-
Just follow steps notice
-
Default user & password:
User:
adminPassword:
123456
this is a public API
, it can work with remote resource, like Github Raw
How to modify API:
- Open site root dir
- Open
check.php
- please modify
$file, $version
If you use remote resouce to control version setting, you can do like this:
$file = 'https://github.com/wibus-wee/STY-static/raw/main/.ver'; //remote resource URL
$version = file_get_contents($file); //it can't use get_curl, i don't know reason
$version= str_replace(array("\r\n", "\r", "\n"), "", $version); //replace PHP line break
else, if you want to just modify variable to control,
$version = '1.0.0'; //just like this, it works!
This is a todo option, here are the problem lead to this option can't use
- QQ old interface have a authorization check, it will return
403
- Without new interface to use
It can add a authorization in a quickly way, but only support one domain
How to create c-p:
- Open
admin
with administrator name & password - Open
Generate camilo
on index page - Put create-number in the inputBox
- Click Create Camilo and wait for reloading
Domestic consumer
, it only has add and addsite permissionsAssistant station master
, it has a full permission like administrationBanned users
, it can do nothing
-
SummuL Auth System
This is Project prototype, I redeveloped the project
i fix and optimize..
- Make API more stronger, make sure
AuthCode
can match the database - Optimize frontend, remove cartoons and music
- Optimize Check API, remove useless variable
VERSION
, add remote resource(usefile_get_contents
make sure resource can get) - Fix Check API header, make sure header is
json
- Optimize Back-end UI, more comfortable, try to rebuild.
- Make API more stronger, make sure
-
Bootstrap 5
UI
help, make ui come true more convenient.JavaScript
help, add the plugins to enhance interactivity -
Mr./Ms. Nuo
Nuo give me the first auth system, and the system give me inspiration. It's machine made stiil be used in
Wee-Auth-System