From ef814e48af5db4d1cfe2c0d6340a8db48fc65278 Mon Sep 17 00:00:00 2001 From: Narstybits Date: Thu, 1 Jun 2023 17:57:18 -0500 Subject: [PATCH] added File encryption tool --- Obscurity/File Encryption.txt | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Obscurity/File Encryption.txt diff --git a/Obscurity/File Encryption.txt b/Obscurity/File Encryption.txt new file mode 100644 index 0000000..c6fb4c2 --- /dev/null +++ b/Obscurity/File Encryption.txt @@ -0,0 +1,38 @@ +REM This script encrypts a file of your choice on the desktop (can change path) +REM The encrypted file will be named "ENCRYPTED.enc" +REM then it removes the original file. + +REM Replace "< >" with the correct file name & choose any password you'd like. +REM Must include file type in the file name. Example (.pdf .txt .doc .mp4) + + +REM To decrypt the file and return it to its original state enter the command below +REM Must include file type in the name. Example (.pdf .txt .doc) +REM password must be the same as when you encrypted + + +REM openssl enc -aes-256-cbc -d -in ~/Desktop/ENCRYPTED.enc -out ~/Desktop/screen_recording.mp4 -pass pass: + + +REM Title: File Encryption Tool +REM Author: Narsty +REM Target: MacOS +REM Version: 1.0 +REM Category: Obscurity + +DELAY 500 +GUI space +DELAY 500 +STRING terminal +DELAY 1000 +ENTER +DELAY 500 +STRING openssl enc -aes-256-cbc -salt -in ~/Desktop/ -out ~/Desktop/ENCRYPTED.enc -pass pass: +ENTER +DELAY 500 +STRING rm ~/Desktop/ +DELAY 1000 +ENTER +DELAY 250 +GUI w +