mirror of
https://github.com/hak5/nano-tetra-modules.git
synced 2025-10-29 16:58:09 +00:00
Ensure the SSLsplit log directory exists (#18)
This commit is contained in:
committed by
Sebastian Kinne
parent
5d005e4ba2
commit
59e27d303e
@@ -8,6 +8,10 @@ MYTIME=`date +%s`
|
||||
|
||||
killall sslsplit
|
||||
|
||||
if [ ! -d /pineapple/modules/SSLsplit/log ]; then
|
||||
mkdir /pineapple/modules/SSLsplit/log
|
||||
fi
|
||||
|
||||
if [ "$1" = "start" ]; then
|
||||
|
||||
echo '1' > /proc/sys/net/ipv4/ip_forward
|
||||
|
||||
Reference in New Issue
Block a user