Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Ephemera

Ephemera is a self-destructing unencrypted data transfer protocol with an implementation in php.

Protocol

  • A tab-delimited key-value text file is stored somewhere outside of the web root (if it does not exist, it is created when a key-value is added for the first time).
  • When a user passes a special set of two parameters to the script, in this case $_GET["key"] and $_GET["value"] it saves the key value pair in the text file (in this case designed to be above the web root).
  • When a user loads the script with a single $_GET[] variable (the key), e.g. /?username, the script reads the file and looks for a match.
    • If found, it will delete the entry from the file, and display it to the user.
    • If not found it will display an error such as "Cannot retrieve this value because it does not exist or has already been requested and can only be requested once."

Screenshot from 2025-08-20 11-44-24

Usage Examples

*Ensure that you always host the script with SSL. It will not check this. If you do not, you will be vulnerable to man-in-the-middle attacks.

  • Transfer a password to a remote recipient securely. Confirm with the recipient separately.

About

Ephemeral is a self-destructing unencrypted data transfer protocol and implementation in php

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages