FooCrypt, A Tale Of Cynical Cyclical Encryption

mFooKey C.L.I. SunOS

View mFooKey

The mFooKey KORN Shell Script is a simple script which you are authorized to modify / copy to suit the End Users needs in automating the creation of FooKey’s from any file type.

The mFooKey KORN SHell Script uses GIF images stored in the FooCrypt Package Directory to source the binary data for the creation of a FooKey.

The FooKeys are stored in the [ FooCrypt Home ] directory for your OS.

View mFooKey KORN Shell Script

mFooKey will be updated in the 3rd quarter of 2019 to include command line options

/bin/more /opt/FooCrypt/Scripts/mFooKey

-> /bin/more /opt/FooCrypt/Scripts/mFooKey

#!/bin/ksh
#:# START:mFooKey,FooCrypt.X.Y.Z.Core.Linux
#:#
#:# Install suggestions :
#:#
#:# Darwin : /Volumes/FooCrypt.#SharedVersion#.Core.Darwin/FooCrypt.app/Contents/Resources/Scripts
#:# Linux : /opt/FooCrypt/Scripts
#:#
#:# Modify to suit needs
#:#
#:# By Default, mFooKey strips ASCII characters 32-126 from all GIF files located under
#:#
#:# Darwin : /Volumes/FooCrypt.#SharedVersion#.Core.Darwin/FooCrypt.app/Contents/Resources/Scripts/Data/Images
#:# Linux : /opt/FooCrypt/Scripts/Data/Images
#:#
#:#
#:# © Mark A. Lane 1980 – 2019, All Rights Reserved.
#:# © FooCrypt 1980 – 2019, All Rights Reserved.
#:# © FooCrypt, A Tale of Cynical Cyclical Encryption. 1980 – 2019, All Rights Reserved.
#:# © Cryptopocalypse 1980 – 2019, All Rights Reserved.
#:#
#:# Software License – License for `FooCrypt, A Tale Of Cynical Cyclical Encryption.`
#:#
#:# License Summary
#:#
#:# Cannot modify source-code for any purpose (cannot create derivative works)
#:# Support provided
#:# License does not expire.
#:# Commercial use allowed
#:#
#:# `FooCrypt, A Tale Of Cynical Cyclical Encryption.` – Terms and conditions
#:#
#:# You are permitted to load the FooCrypt, A Tale Of Cynical Cyclical Encryption. software (for example a PC, laptop, mobile or tablet) under your control. You are responsible for ensuring your device meets the minimum requirements of the FooCrypt, A Tale Of Cynical Cyclical Encryption. software.
#:#
#:# You are not permitted to:
#:#
#:# – Edit, alter, modify, adapt, translate or otherwise change the whole or any part of the Software nor permit the whole or any part of the Software to be combined with or become incorporated in any other software, nor decompile, disassemble or reverse engineer the Software or attempt to do any such things
#:# – Reproduce, copy, distribute, resell or otherwise use the Software for any commercial purpose
#:# – Allow any third party to use the Software on behalf of or for the benefit of any third party
#:# – Use the Software in any way which breaches any applicable local, national or international law
#:# – use the Software for any purpose that Cryptopocalypse considers is a breach of this EULA agreement
#:#
#:# Intellectual Property and Ownership
#:#
#:# Cryptopocalypse shall at all times retain ownership of the Software as originally downloaded by you and all subsequent downloads of the Software by you. The Software (and the copyright, and other intellectual property rights of whatever nature in the Software, including any modifications made thereto) are and shall remain the property of Cryptopocalypse.
#:#
#:# Cryptopocalypse reserves the right to grant licences to use the Software to third parties.
#:#

export PATH=/sbin:/usr/sbin:/bin:/usr/bin
export FooKeyPassword=FooCrypt
export Size=24250
export OS=$( uname -s )
case ${OS} in
Darwin)
export FooCrypt=/Volumes/FooCrypt.#SharedVersion#.Core.Darwin/FooCrypt.app/Contents/Resources/FooCrypt
export Images=/Volumes/FooCrypt.#SharedVersion#.Core.Darwin/FooCrypt.app/Contents/Resources/Scripts/Data/Images
export FooKey=${HOME}/Library/Caches/net.Cryptopocalypse.FooCrypt/.FooKey
;;
*)
export FooCrypt=/opt/FooCrypt/FooCrypt
export Images=/opt/FooCrypt/Scripts/Data/Images
export FooKey=${HOME}/FooCrypt/.FooKey
;;
esac

find “${Images}” -type f -name “*gif” | while read File
do
Y=$(( $( strings -n 1 ${File} | wc -c | awk ‘{print $1}’ ) – $( strings -n 1 ${File} | wc -l | awk ‘{print $1}’ ) ))
X=$(( ${Y} – 50000 ))
print “${Y} : ${File}”
until [ ${X} -gt $(( ${Y} – ${Size} )) ]
do
time ${FooCrypt} -C 485,${X},${Size} -a FooCrypt-aes256 -m md5 -F ${File}
B=$( echo ${RANDOM} |cut -c1-4 )
X=$(( ${X} + ${B} ))
done
done