aboutsummaryrefslogtreecommitdiffstats
path: root/jsaccess
diff options
context:
space:
mode:
Diffstat (limited to 'jsaccess')
-rwxr-xr-xjsaccess/encrypt.sh1
-rw-r--r--jsaccess/jsa/files/index.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/jsaccess/encrypt.sh b/jsaccess/encrypt.sh
index 47721fd..3102936 100755
--- a/jsaccess/encrypt.sh
+++ b/jsaccess/encrypt.sh
@@ -25,6 +25,7 @@ dir="jsa/files/$dirhash"
file=`echo -n ${dirhash}${myfilename} |openssl rmd160 |cut -d' ' -f2`
echo $dir
mkdir -p $dir
+touch $dir/index.html
base64 -w0 $myfile > $tmp
echo -n $pass |openssl enc -e -a -aes-256-cbc -in $tmp -out $dir/$file -pass stdin ||exit $?
diff --git a/jsaccess/jsa/files/index.html b/jsaccess/jsa/files/index.html
new file mode 100644
index 0000000..d47b0f4
--- /dev/null
+++ b/jsaccess/jsa/files/index.html
@@ -0,0 +1 @@
+The monster has emptied me !