Update README
Include json changes
This commit is contained in:
17
README.md
17
README.md
@@ -9,7 +9,7 @@ Dependencies: `express` `body-parser` `@fortawesome/fontawesome-free` `chai` `mo
|
||||
## Checklist
|
||||
|
||||
- [x] Folder Traversal
|
||||
- [ ] Filesystem viewing
|
||||
- [X] File Downloads
|
||||
- [ ] Upload
|
||||
- [ ] Auth
|
||||
|
||||
@@ -23,20 +23,21 @@ Requests:
|
||||
|
||||
```json
|
||||
{
|
||||
loc: "<valid location>"
|
||||
'loc': "<valid location>"
|
||||
}
|
||||
```
|
||||
|
||||
Responses (Only for directory traversals):
|
||||
|
||||
```json
|
||||
{
|
||||
loc: "<location>",
|
||||
back: "<location>|null",
|
||||
contents:[
|
||||
'loc': "<location>",
|
||||
'back': "<location|null>",
|
||||
'contents':[
|
||||
{
|
||||
name:"<filename>",
|
||||
path:"<location>",
|
||||
isDir: "<true|false>"
|
||||
'name':"<filename>",
|
||||
'path':"<location>",
|
||||
'isDir': "<true|false>"
|
||||
},
|
||||
...
|
||||
]
|
||||
|
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"dirname":"./sandbox/",
|
||||
"sqlFileName":"test.db",
|
||||
"showHidden":false,
|
||||
"authToUpload":false
|
||||
"dbpath":null,
|
||||
"showHidden":false
|
||||
}
|
Reference in New Issue
Block a user