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
|
## 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>"
|
||||||
},
|
},
|
||||||
...
|
...
|
||||||
]
|
]
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"dirname":"./sandbox/",
|
"dirname":"./sandbox/",
|
||||||
"sqlFileName":"test.db",
|
"dbpath":null,
|
||||||
"showHidden":false,
|
"showHidden":false
|
||||||
"authToUpload":false
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user