X-Git-Url: https://jfr.im/git/uguu.git/blobdiff_plain/295794b714a3038b27fd51d400f7a8476a0a45ee..180e80182f6877e688091580d9ce3cbf3869ebed:/README.md diff --git a/README.md b/README.md index 37cdbf0..0a59c60 100644 --- a/README.md +++ b/README.md @@ -116,10 +116,16 @@ 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* -### 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. +## 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 Hit me up at [@nekunekus](https://twitter.com/nekunekus) or email me at neku@pomf.se