mirror of
https://github.com/hak5/nano-tetra-modules.git
synced 2025-10-29 16:58:09 +00:00
Modules fixes (#9)
This commit is contained in:
@@ -6,5 +6,5 @@
|
||||
"tetra"
|
||||
],
|
||||
"title": "SSLsplit",
|
||||
"version": "1.0"
|
||||
"version": "1.1"
|
||||
}
|
||||
@@ -9,6 +9,7 @@ MYTIME=`date +%s`
|
||||
killall sslsplit
|
||||
|
||||
echo '1' > /proc/sys/net/ipv4/ip_forward
|
||||
iptables-save > /pineapple/modules/SSLsplit/rules/saved
|
||||
iptables -X
|
||||
iptables -F
|
||||
iptables -t nat -F
|
||||
|
||||
@@ -11,6 +11,7 @@ killall sslsplit
|
||||
if [ "$1" = "start" ]; then
|
||||
|
||||
echo '1' > /proc/sys/net/ipv4/ip_forward
|
||||
iptables-save > /pineapple/modules/SSLsplit/rules/saved
|
||||
iptables -X
|
||||
iptables -F
|
||||
iptables -t nat -F
|
||||
@@ -37,5 +38,6 @@ elif [ "$1" = "stop" ]; then
|
||||
iptables -P INPUT ACCEPT
|
||||
iptables -P FORWARD ACCEPT
|
||||
iptables -P OUTPUT ACCEPT
|
||||
|
||||
|
||||
iptables-restore < /pineapple/modules/SSLsplit/rules/saved
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user