Skip to content

catdeal3r/metafora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metafora

version language

Abstract

Rust implementation of DarkPrism.

Hosts files on the web using these steps:

  1. Encrypt with AES from user-defined password
  2. Split into smaller chunks
  3. Upload smaller chunks, while retaning the identifiers
  4. Create a file listing the identifiers in order of the file
  5. Upload that, then serve the identifier of that to the user

User can then input that identifier and encryption key back into metafora for it to download the file.

Roadmap

  • Upload files, unzipped and unencrypted
  • Print the content of the identifier's file to stdout
  • Change above to create a user-specified file and fill that with the content
  • Encrypt file
  • Decrypt file
  • Split file after encryption
  • Form file after decryption

Build

Install rust and required libraries:

Linux/*nix

First run this to install rust (if you haven't already):

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Then install libraries (dependant on OS).

Nix/NixOS:

nix develop

This will run bash and put you in the current directory with the required libraries already setup.

Note

You will have to rerun this everytime you wish to compile.

Fedora:

sudo dnf install openssl-devel make automake gcc gcc-c++

Ubuntu:

sudo apt install libssl-dev build-essential

OpenSUSE:

sudo zypper in libopenssl-devel make automake gcc gcc-c++ 

Alpine:

sudo apk add openssl-libs-static build-base

Windows

No idea. Start with OpenSSL or similar libraries.

Compiling

First make sure you've cloned the repo:

git clone https://github.com/catdeal3r/metafora

Or, if you already have, run this inside of the cloned folder to update the codebase:

git reset --hard HEAD
git pull

Release

To build in release mode:

cargo build --release

The compiled binary will be located here: ./target/release/metafora

Debug

To build in debug mode:

cargo build

The compiled binary will be located here: ./target/debug/metafora

About

A encrypted file transfering program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors