c3Reg/test/msg

35 lines
1.8 KiB
Bash
Executable File

#!/bin/bash
./wincor
TEMP=/tmp/$RANDOM
printf "\t\t\t\t╔═════════════════════╗\n" | sed 's/╔/\xc9/g;s/═/\xcd/g;s/╗/\xbb/g;s/║/\xba/g;s/╚/\xc8/g;s/╝/\xbc/g' >> $TEMP
printf "\t\t\t\t║ SECRET DOCUMENT ║\n" | sed 's/╔/\xc9/g;s/═/\xcd/g;s/╗/\xbb/g;s/║/\xba/g;s/╚/\xc8/g;s/╝/\xbc/g' >> $TEMP
printf "\t\t\t\t╚═════════════════════╝\n" | sed 's/╔/\xc9/g;s/═/\xcd/g;s/╗/\xbb/g;s/║/\xba/g;s/╚/\xc8/g;s/╝/\xbc/g' >> $TEMP
printf "
\tThe following information you see below are classified as \n\t\t\t\t\xeTOP SECRET\xf.\n\n\n" >> $TEMP
printf "\t%s\n" "$(cat /dev/urandom | tr -dc 'A-Za-z0-9 ' | head -c115)" >> $TEMP
printf "\t%s\n" "$(cat /dev/urandom | tr -dc 'A-Za-z0-9 ' | head -c115)" >> $TEMP
printf "\t%s\n" "$(cat /dev/urandom | tr -dc 'A-Za-z0-9 ' | head -c115)" >> $TEMP
printf "\t%s\n" "$(cat /dev/urandom | tr -dc 'A-Za-z0-9 ' | head -c115)" >> $TEMP
printf "\t%s\n" "$(cat /dev/urandom | tr -dc 'A-Za-z0-9 ' | head -c115)" >> $TEMP
printf "\t%s\n" "$(cat /dev/urandom | tr -dc 'A-Za-z0-9 ' | head -c115)" >> $TEMP
printf "\t%s\n" "$(cat /dev/urandom | tr -dc 'A-Za-z0-9 ' | head -c115)" >> $TEMP
printf "\t%s\n" "$(cat /dev/urandom | tr -dc 'A-Za-z0-9 ' | head -c115)" >> $TEMP
printf "\t%s\n" "$(cat /dev/urandom | tr -dc 'A-Za-z0-9 ' | head -c115)" >> $TEMP
printf "\t%s\n" "$(cat /dev/urandom | tr -dc 'A-Za-z0-9 ' | head -c115)" >> $TEMP
printf "\t%s\n" "$(cat /dev/urandom | tr -dc 'A-Za-z0-9 ' | head -c115)" >> $TEMP
printf "\t%s\n" "$(cat /dev/urandom | tr -dc 'A-Za-z0-9 ' | head -c115)" >> $TEMP
printf "\t%s\n" "$(cat /dev/urandom | tr -dc 'A-Za-z0-9 ' | head -c115)" >> $TEMP
printf "\xc" >> $TEMP
cat $TEMP >> /dev/ttyUSB0
rm $TEMP