Update README.md

This commit is contained in:
nokonoko 2020-11-18 14:00:15 +01:00
parent 295794b714
commit d501210d95

View File

@ -116,10 +116,14 @@ define('UGUU_DB_PASS', '[stuff]'); ---> define('UGUU_DB_PASS', null);
*NOTE: The directory where the SQLite database is stored, must be writable by the web server user* *NOTE: The directory where the SQLite database is stored, must be writable by the web server user*
### Nginx/Apache ## Nginx/Apache
I won't cover settings everything up, however do NOT allow PHP scripts to be executed on your subdomain serving the files or someone will just upload a PHP shell and PwN you. I won't cover settings everything up, however do NOT allow PHP scripts to be executed on your subdomain serving the files or someone will just upload a PHP shell and PwN you.
## API
To upload using curl or make a tool you can post using:
`curl -i -F files[]=@yourfile.jpeg https://uguu.se/upload.php (JSON Response)`
## Getting help ## Getting help
Hit me up at [@nekunekus](https://twitter.com/nekunekus) or email me at neku@pomf.se Hit me up at [@nekunekus](https://twitter.com/nekunekus) or email me at neku@pomf.se