From eb345286870b74ac67c5c6d452d379db32b8ce36 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 24 May 2015 15:25:23 +0200 Subject: [PATCH] =?UTF-8?q?SHELL[init=20config=20help=20read=20write=20emp?= =?UTF-8?q?ty=20encode=20decode=20send]=20+=20cr=C3=A9ation=20du=20fichier?= =?UTF-8?q?=20help=20[stable~85]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- enigmail/bucket-file | 3 +-- enigmail/enigmail.sh | 3 ++- enigmail/source/enigmail.pyc | Bin 5197 -> 0 bytes enigmail/source/help | 49 +++++++++++++++++++++++++++++++++++ 4 files changed, 52 insertions(+), 3 deletions(-) delete mode 100644 enigmail/source/enigmail.pyc create mode 100644 enigmail/source/help diff --git a/enigmail/bucket-file b/enigmail/bucket-file index d39b545..8b13789 100644 --- a/enigmail/bucket-file +++ b/enigmail/bucket-file @@ -1,2 +1 @@ -Coucou à tous ! -] \ No newline at end of file + diff --git a/enigmail/enigmail.sh b/enigmail/enigmail.sh index 500b9f6..49b83f6 100644 --- a/enigmail/enigmail.sh +++ b/enigmail/enigmail.sh @@ -5,6 +5,7 @@ path=$(readlink -f $(dirname $0)) if [ $# -eq 1 ] then # si 1 paramètre case $1 in + 'help') cat "$path/source/help"|less;; 'init') # initialise le contenu du fichier de config echo "smtp_server = smtp.gmail.com" > "$path/.config" echo "smtp_port = 587" >> "$path/.config" @@ -12,7 +13,7 @@ then # si 1 paramètre ;; 'config') nano "$path/.config";; # ouvre en modification le fichier de config 'write') nano "$path/bucket-file";; # ouvre en modification le bucket file - 'del') echo "">"$path/bucket-file";; # vide le bucket file + 'empty') echo "">"$path/bucket-file";; # vide le bucket file # ouvre en lecture le bucket file 'read') echo "\n======================================="; cat "$path/bucket-file"; echo "\n=======================================";; 'encode') python "$path/source/encode.py";; diff --git a/enigmail/source/enigmail.pyc b/enigmail/source/enigmail.pyc deleted file mode 100644 index dc0b25ba61b26db2c6830966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g8AD|E?5qyt>Ij?xU_RHW7Ya~$dB(Y9ZkctX|yJ$QkJrG^n8|>_) z<_n59P>|VEjF$Ml3d_F;X|~ePmvlr2OJ$6C&U^z8lBi*q)(+$u3K5kgYOQWR9VJ!e zJX?V_p>K8p`MB1)?&am4@p*XRQPwy(ev^W06uEfTz|x{BoyOxPq7oP>iNVTfA2GNk#rUX(hldj zV^Otq77B!sfWykz5PPT`eyWB)Jat3Fn2{CUlz5Cwi*sx49-CGDesaoFLZuN~>}9$elehmZ9cXYeBH~Ww6~^36ZNigETG6vsQtW63J03 z4m0F@-wD&A7rr#kn<@`}!lZyPR{SPj3kF6KDXDf2tuy_#Vd8uSApUWs7nb5Yy$;Th zb~I6+OLEU4YIY6Xr1m@UMH zYWNCUj@5AMO*N1oyoZ?lClHtl;4OZU=t^EHX%*BmO1C5ryTeREtOKa({n=4&B@Q6q zlHLJ4f)xCORklgyS!|pjAcXa7i961}mPcn4w`nhaE9~?~RL1^q7CGtMNk%#b16Mu< zLqaja@WSf$1tzCNL%6B;FRHB}a&!#!->Uip!mt2`w8x_)`41;BIYJXSJeqw^fO})= zC{hcGKE;41P+9>XIxqc+BdUR065jJRy|`6Yyp73}N-#VYk0vpApY$m5X|= zdV|nb+w}RtO%(1j3d8rr#W(&H<=;!`C{8;04=H&+4X$uHqfzjE7WY`(XF+BO62U4Z zVVj_{$?8)SC$|>qo&MKk8tX6j^LUV&`_zt|M=^u+??SD9rT%{XT)k1hROe?B(rkU^ E-xy^(-2eap diff --git a/enigmail/source/help b/enigmail/source/help new file mode 100644 index 0000000..a0adb73 --- /dev/null +++ b/enigmail/source/help @@ -0,0 +1,49 @@ +ENIGMAIL + +NAME + enigmail - enigma-based encoder and decoder and mail client + +SYNOPSYS + enigmail [OPTION] + +DESCRIPTION + Encode, decode, write, read and send email. + For all the operations, the "bucket file" is the only file you write in, you read and you can empty and send its content. + + Enigmail allows you to encode messages and send them by mail with a secret key you choose. (number of hexadecimal) + Note: your key could be 1 to infinity + +OPTIONS + help + show this help page + + init + initialise the config page and the bucket file + + config + open the config page where you can enter your personal informations (smtp server and port, email address) + + read + shows the content of the bucket file + + write + open the bucket file in write mode + + empty + empty the bucket file + + encode + lets you encode the content of your bucket file to your bucket file, the data will be overwritten + + decode + lets you decode the content of your bucket file to your bucket file, the data will be overwritten + + send + open an interface to choose your receiver, your subjet and type your email password then send an email containing the content of the bucket file + +AUTHOR + Written by Adrien MARQUES. + +COPYRIGHT + License GPLv3+: GNU GPL version 3 or later . + This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.