Upload files to "/"

main
CatWithAHat 2025-03-29 07:15:21 +00:00
parent c1aecbe8b2
commit 196e7669fc
2 changed files with 22 additions and 0 deletions

16
Cargo.toml 100644
View File

@ -0,0 +1,16 @@
[package]
name = "pwnWriter"
version = "0.1.1"
edition = "2021"
[dependencies]
tokio = { version = "1", features = ["full"] }
mongodb = "3.2.3"
serde = { version = "1.0", features = ["derive"] }
config = "0.13"
anyhow = "1.0"
futures = "0.3"
toml = "0.5.11"
dirs = "4.0"

6
config.toml 100644
View File

@ -0,0 +1,6 @@
[mongodb]
uri = "mongodb://localhost:27017"
database = "txtlog"
full_collection = "full_collection"
partial_collection = "partial_collection"
batch_size = 5000