Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nu0l authored Dec 25, 2023
1 parent 3bf8589 commit 22915b3
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,32 @@

## 新增
[+] 自定义端口号

[+] 自定义路径

[+] 新增token鉴权


## 使用
直接运行,端口号默认为58080,路径目录为当前目录,token为空

go run main.go -h
```bash
Usage of ./httpuploadexfil:
-path string
Specify the storage path (default ".")
-port string
Specify the listening port (default "58080")
-token string
Specify the header token value
```

以参数启动
go run main.go -port=18080 -path=/Volumes/ -token=your_token
```bash
[+] Server Running...
[+] Settings: Addr ':18080'; Folder '/Volumes/'; Token 'your_token'
[+] Instructions: '/' directory quick upload, '/p' directory to manually build and upload files, '/l' directory gets the current folder contents
```
token鉴权:
<img width="995" alt="image" src="https://github.com/nu0l/HTTPUploadExfil/assets/54735907/e88dfa34-9828-45f0-8151-0012a3cf93cc">

0 comments on commit 22915b3

Please sign in to comment.