Updated ngrep payload. (#25)

pull/26/head
StampeRnator 2017-11-21 11:11:11 +01:00 committed by Sebastian Kinne
parent 1579f80efc
commit 916e810873
2 changed files with 13 additions and 7 deletions

View File

@ -4,6 +4,7 @@
NGREP_OPTIONS=("-wiql" "user|pass" "port" "21")
CONDITION=""
WCNUM=3
BUTTON_WAIT="5s"
LOOT_DIR="/mnt/loot/ngrep"
LOG_FILE="${LOOT_DIR}/ngrep-${RANDOM}.log"
@ -45,6 +46,7 @@ function run() {
do
NO_LED=true BUTTON && {
checkLog && {
BUTTON $BUTTON_WAIT && {
LED FINISH
kill $npid
@ -52,6 +54,7 @@ function run() {
LED OFF
halt
}
} || {
LED FAIL
sleep 3

View File

@ -1,9 +1,12 @@
# ngrep payload
Credits: Hak5Darren, Sebkinne
Small Edit: SebSeifert
# Description
Does packet sniffing stuff
If the Button is pressed you have x seconds to push the button one more time. If pressed the payload ends and cleans up. Else it keeps running.
## Options
BUTTON_WAIT = The seconds you can wait until the button must be pressed to end the payload.