Skip to content
/ eslamp Public

Simple script that encrypts files, randomizes their names, and logs them for user reference or management. Powered by 7zip.

License

Notifications You must be signed in to change notification settings

xrkaz/eslamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

eslamp - Eww, Stop Looking At My Privates!

or P**n, you degenerate.


Simple script that encrypts files, randomizes their names, and logs them for user reference or management.
No more third-parties. Preserve your privacy, your own way.

This was for my personal use, but decided to upload it for others to try as well.

Powered by 7za.

What does it do?

Using 7za, it compresses (optional) your files into an archive, encrypting it (aes-256) with your password, generates a random string to place on newly created archive, and stores that archive's reference name on a text file for your convenience.

Potential use

  • Discourages employers or organization admins from snooping your files.
  • Private file-sharing.
  • Prevent hackers from accessing your files in case of server breaches. (as long as you use a strong password!)
  • Preserving your privacy.
  • Depends on your use case, but might be a good alternative to boxcryptor, cryptomator, axcrypt, or aescrypt.

Setting parameters (DO THIS FIRST)

Open eslamp.bat in your text editor of choice (i'll be using Notepad++). 2021-08-25_4-40-40

Use a password generator, like this one: https://passwordsgenerator.net
Make sure you DON'T include symbols, because it may affect batch processing. (some symbols are allowed, but it's better to be safe)

Encrypting your files

This is what it'll look like on launch.
2021-08-25_4-40-40
Enter the folder or path that contain your confidential files or file.
2021-08-25_4-46-39
Enter a reference name. This is for tracking your files. Cuz names will be randomized.
2021-08-25_4-40-40
Once encryption is done, you have the choice to randomize your archive name or not.
2021-08-25_4-40-40
A file named filelog.txt will be created that contain your reference file names. You can then proceed to keep that log or remove it. The more you encrypt files, the more logs will be stored in that text file. Think of it as a database.
2021-08-25_4-40-40

Decrypting your files

Enter dec on launch.
2021-08-25_4-40-40
Then Enter again (don't type anything on second prompt), until you reach Decryption mode.
2021-08-25_4-40-40
Make sure the file you're trying to decrypt is in the same path or directory as eslamp.bat.
2021-08-25_4-40-40

Managing your files

Just use CTRL+F to find your files. 2021-08-25 06 10 06 drive google com c4cf7359b68b 2021-08-25_4-40-40

Decrypting files as end-user

You have an encrypted file, and you want to share that encrypted file to someone. That's where key.bat comes in.

Before anything else, make sure you edit the parameters in key.bat as well.
The password in key.bat MUST be the same as eslamp.bat.

Send that encrypted file to someone, then SEPARATELY send key.bat in a secure channel (key.bat is an EXPOSED password).
You can send them alongside, but it's on your own risk. Try https://wormhole.app

Instruct the end-user to have key.bat and the encrypted file in the same directory or folder, then run it.

Oh btw, it auto-deletes. With a surprise at the end ;) Make sure you make copies.

Known bugs

  • Won't delete first log. Solution for now: remove it urself lol. I need to study more powershell.

Planned features

  • Better UI
  • Filelog querying
  • Bug fixes
  • Universal compatibility (bash)

License

WTFPL
I don't care whatever you do with it. Improve it, steal it, sell it, claim it, up to you. It's messy code anyways.

About

Simple script that encrypts files, randomizes their names, and logs them for user reference or management. Powered by 7zip.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published