https://github.com/willitscale/super-safe-security-systems
I do NOT advise using this as an authentication library as this was written with a known vulnerability and is being used as part of a CTF.
https://github.com/willitscale/super-safe-security-systems
Last synced: 6 months ago
JSON representation
I do NOT advise using this as an authentication library as this was written with a known vulnerability and is being used as part of a CTF.
- Host: GitHub
- URL: https://github.com/willitscale/super-safe-security-systems
- Owner: willitscale
- License: apache-2.0
- Created: 2019-08-15T17:47:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-16T15:09:06.000Z (over 6 years ago)
- Last Synced: 2025-03-13T04:29:53.765Z (11 months ago)
- Language: PHP
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# SuperSafeSecuritySystemsAuthentication
### Disclaimer
This is **NOT** a library which should be used for commercial purposes or in any means to protect sensitive data as it was written with a backdoor for a CTF (Capture the Flag) hacking challenge.
### Setup
Include this by adding the following to your `composer.json`:
```javascript
{
"repositories": [
{
"url": "https://github.com/willitscale/super-safe-security-systems.git",
"type": "git"
}
],
"require": {
"super-safe-security-systems/super-safe-security-systems": "master"
}
}
```
Create a database from the dump with the following command:
```bash
mysql -u username -p < dump.sql
```
Create a database user limited to only the `secure_auth` database only with `SELECT`, `INSERT` and `UPDATE` permissions:
```sql
GRANT INSERT, SELECT, UPDATE ON secure_auth.* TO 'secure_auth' IDENTIFIED BY 'secure_password';
```