From 1e3471d625161cb9a5c97c689974a266411d054b Mon Sep 17 00:00:00 2001 From: root Date: Tue, 10 Apr 2018 03:19:50 -0400 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B8=AE=E5=8A=A9=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=EF=BC=8C=E5=A2=9E=E5=8A=A0=E4=BD=BF=E7=94=A8redis?= =?UTF-8?q?=E5=AD=98=E5=82=A8=E7=BB=93=E6=9E=9C=E5=B8=AE=E5=8A=A9=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hydra.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hydra.c b/hydra.c index 20a4a0b..abce910 100755 --- a/hydra.c +++ b/hydra.c @@ -484,7 +484,8 @@ void help(int32_t ext) { PRINT_NORMAL(ext, " -C FILE colon separated \"login:pass\" format, instead of -L/-P options\n" " -M FILE list of servers to attack, one entry per line, ':' to specify port\n"); PRINT_EXTEND(ext, " -o FILE write found login/password pairs to FILE instead of stdout\n" - " -b FORMAT specify the format for the -o FILE: text(default), json, jsonv1\n" + " -b FORMAT specify the format for the -o FILE: text(default), json, jsonv1, redis\n" + " -k save result to redis, use this key\n" " -f / -F exit when a login/pass pair is found (-M: -f per host, -F global)\n"); PRINT_NORMAL(ext, " -t TASKS run TASKS number of connects in parallel per target (default: %d)\n", TASKS); PRINT_EXTEND(ext, " -T TASKS run TASKS connects in parallel overall (for -M, default: %d)\n" @@ -524,7 +525,8 @@ void help(int32_t ext) { PRINT_EXTEND(ext, " hydra -L userlist.txt -p defaultpw imap://192.168.0.1/PLAIN\n" " hydra -C defaults.txt -6 pop3s://[2001:db8::1]:143/TLS:DIGEST-MD5\n" " hydra -l admin -p password ftp://[192.168.0.0/24]/\n" - " hydra -L logins.txt -P pws.txt -M targets.txt ssh\n"); + " hydra -L logins.txt -P pws.txt -M targets.txt ssh\n" + " hydra -L logins.txt -P pws.txt -M targets.txt ssh -b redis -k key\n"); exit(-1); }