Update README

Include json changes
This commit is contained in:
2019-05-24 14:46:30 +05:30
parent a87092d3e8
commit 8c60c7bc0d
2 changed files with 11 additions and 11 deletions

View File

@@ -9,7 +9,7 @@ Dependencies: `express` `body-parser` `@fortawesome/fontawesome-free` `chai` `mo
## Checklist ## Checklist
- [x] Folder Traversal - [x] Folder Traversal
- [ ] Filesystem viewing - [X] File Downloads
- [ ] Upload - [ ] Upload
- [ ] Auth - [ ] Auth
@@ -23,20 +23,21 @@ Requests:
```json ```json
{ {
loc: "<valid location>" 'loc': "<valid location>"
} }
``` ```
Responses (Only for directory traversals): Responses (Only for directory traversals):
```json ```json
{ {
loc: "<location>", 'loc': "<location>",
back: "<location>|null", 'back': "<location|null>",
contents:[ 'contents':[
{ {
name:"<filename>", 'name':"<filename>",
path:"<location>", 'path':"<location>",
isDir: "<true|false>" 'isDir': "<true|false>"
}, },
... ...
] ]

View File

@@ -1,6 +1,5 @@
{ {
"dirname":"./sandbox/", "dirname":"./sandbox/",
"sqlFileName":"test.db", "dbpath":null,
"showHidden":false, "showHidden":false
"authToUpload":false
} }