Maintenance for a few modules (#42)

This commit is contained in:
WM
2018-08-27 02:32:32 +02:00
committed by Sebastian Kinne
parent 13b3c40d76
commit a5d7d19cd5
161 changed files with 16954 additions and 10056 deletions

View File

@@ -14,6 +14,7 @@ NBTNS=`uci get responder.settings.NBTNS`
FINGERPRINT=`uci get responder.settings.fingerprint`
WPAD=`uci get responder.settings.wpad`
FORCEWPADAUTH=`uci get responder.settings.forceWpadAuth`
PROXYAUTH=`uci get responder.settings.proxyAuth`
FORCELMDOWNGRADE=`uci get responder.settings.forceLmDowngrade`
VERBOSE=`uci get responder.settings.verbose`
ANALYSE=`uci get responder.settings.analyse`
@@ -33,6 +34,7 @@ if [ "$NBTNS" -ne 0 ]; then OPTIONS="${OPTIONS} --NBTNSdomain"; fi
if [ "$FINGERPRINT" -ne 0 ]; then OPTIONS="${OPTIONS} --fingerprint"; fi
if [ "$WPAD" -ne 0 ]; then OPTIONS="${OPTIONS} --wpad"; fi
if [ "$FORCEWPADAUTH" -ne 0 ]; then OPTIONS="${OPTIONS} --ForceWpadAuth"; fi
if [ "$PROXYAUTH" -ne 0 ]; then OPTIONS="${OPTIONS} --ProxyAuth"; fi
if [ "$FORCELMDOWNGRADE" -ne 0 ]; then OPTIONS="${OPTIONS} --lm"; fi
if [ "$VERBOSE" -ne 0 ]; then OPTIONS="${OPTIONS} --verbose"; fi
if [ "$ANALYSE" -ne 0 ]; then OPTIONS="${OPTIONS} --analyze"; fi

View File

@@ -48,9 +48,9 @@ if [ "$1" = "install" ]; then
uci commit responder.module.installed
elif [ "$1" = "remove" ]; then
opkg remove python-logging
opkg remove python-openssl
rm -rf /etc/config/responder
opkg remove python-logging
opkg remove python-openssl
rm -rf /etc/config/responder
fi
rm /tmp/Responder.progress

View File

@@ -14,6 +14,7 @@ NBTNS=`uci get responder.settings.NBTNS`
FINGERPRINT=`uci get responder.settings.fingerprint`
WPAD=`uci get responder.settings.wpad`
FORCEWPADAUTH=`uci get responder.settings.forceWpadAuth`
PROXYAUTH=`uci get responder.settings.proxyAuth`
FORCELMDOWNGRADE=`uci get responder.settings.forceLmDowngrade`
VERBOSE=`uci get responder.settings.verbose`
ANALYSE=`uci get responder.settings.analyse`
@@ -27,6 +28,7 @@ if [ "$1" = "start" ]; then
if [ "$FINGERPRINT" -ne 0 ]; then OPTIONS="${OPTIONS} --fingerprint"; fi
if [ "$WPAD" -ne 0 ]; then OPTIONS="${OPTIONS} --wpad"; fi
if [ "$FORCEWPADAUTH" -ne 0 ]; then OPTIONS="${OPTIONS} --ForceWpadAuth"; fi
if [ "$PROXYAUTH" -ne 0 ]; then OPTIONS="${OPTIONS} --ProxyAuth"; fi
if [ "$FORCELMDOWNGRADE" -ne 0 ]; then OPTIONS="${OPTIONS} --lm"; fi
if [ "$VERBOSE" -ne 0 ]; then OPTIONS="${OPTIONS} --verbose"; fi
if [ "$ANALYSE" -ne 0 ]; then OPTIONS="${OPTIONS} --analyze"; fi
@@ -35,7 +37,6 @@ if [ "$1" = "start" ]; then
elif [ "$1" = "stop" ]; then
pgrep -f Responder.py | xargs kill -9
cp /pineapple/modules/Responder/dep/responder/logs/Responder-Session.log /pineapple/modules/Responder/log/responder_${MYTIME}.log
echo '' > /pineapple/modules/Responder/dep/responder/logs/Responder-Session.log
cp /pineapple/modules/Responder/dep/responder/logs/Responder-Session.log /pineapple/modules/Responder/log/responder_${MYTIME}.log
echo '' > /pineapple/modules/Responder/dep/responder/logs/Responder-Session.log
fi