SHELL[init config help read write empty encode decode send] + création du fichier help [stable~85]
This commit is contained in:
parent
e412c45486
commit
eb34528687
|
@ -1,2 +1 @@
|
|||
Coucou à tous !
|
||||
]
|
||||
|
||||
|
|
|
@ -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";;
|
||||
|
|
Binary file not shown.
|
@ -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 <http://gnu.org/licenses/gpl.html>.
|
||||
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
|
Loading…
Reference in New Issue