https://github.com/realaravinth/amnesia
C2 conponent of the Amnesia spyware suite
https://github.com/realaravinth/amnesia
acitx-web
Last synced: 9 days ago
JSON representation
C2 conponent of the Amnesia spyware suite
- Host: GitHub
- URL: https://github.com/realaravinth/amnesia
- Owner: realaravinth
- License: gpl-2.0
- Created: 2020-08-21T15:18:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-26T09:25:39.000Z (over 4 years ago)
- Last Synced: 2025-04-13T16:16:16.655Z (9 days ago)
- Topics: acitx-web
- Language: Rust
- Homepage:
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://heroku.com/deploy)
[](https://travis-ci.com/realaravinth/amnesia)
[](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
# Amnesiaa very forgetful static-file echo server written in Rust
## Build dependencies
- [Cargo](https://github.com/rust-lang/cargo#compiling-from-source)## Installation
`$ git clone https://github.com/realaravinth/amnesia`
`$ cd amnesia && cargo build --release`
## Initializing
` $ target/release/amnesia`
The server by default listens on `PORT 3000`, this can be changed by
setting `$PORT` environment variable and passing it like so:`$ target/release/amnesia $PORT`
## Usage
The server accepts `multipart/form-data` at `/archive` and will serve
the received data at `/fetch`.- ##### Uploading
+ With curl`$ curl --location --request POST localhost:3000/archive/' \
--form 'name=@/path/to/file'`