mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-22 06:13:55 -07:00
stdin mode
This commit is contained in:
parent
7de88f2353
commit
2b8090f173
2 changed files with 4 additions and 5 deletions
6
configure
vendored
6
configure
vendored
|
@ -17,12 +17,10 @@ if [ "$1" = "-h" -o "$1" = "--help" ]; then
|
||||||
echo " --help this here"
|
echo " --help this here"
|
||||||
echo
|
echo
|
||||||
echo If the CC environment variable is set, this is used as the compiler for the configure tests. The default is \"gcc\" otherwise.
|
echo If the CC environment variable is set, this is used as the compiler for the configure tests. The default is \"gcc\" otherwise.
|
||||||
echo You can also set PKG_CONFIG if necessary.
|
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test -z "$CC" && CC=gcc
|
test -z "$CC" && CC=gcc
|
||||||
test -z "$PKG_CONFIG" && PKG_CONFIG=pkg-config
|
|
||||||
|
|
||||||
FHS=""
|
FHS=""
|
||||||
SIXFOUR=""
|
SIXFOUR=""
|
||||||
|
@ -1307,9 +1305,9 @@ echo "Checking for smbclient (libsmbclient/libsmbclient.h) ..."
|
||||||
|
|
||||||
if [ "X" = "X$XHYDRA_SUPPORT" ]; then
|
if [ "X" = "X$XHYDRA_SUPPORT" ]; then
|
||||||
echo "Checking for GUI req's (pkg-config/gtk+-2.0) ..."
|
echo "Checking for GUI req's (pkg-config/gtk+-2.0) ..."
|
||||||
XHYDRA_SUPPORT=`$PKG_CONFIG --help > /dev/null 2>&1 || echo disabled`
|
XHYDRA_SUPPORT=`pkg-config --help > /dev/null 2>&1 || echo disabled`
|
||||||
if [ "X" = "X$XHYDRA_SUPPORT" ]; then
|
if [ "X" = "X$XHYDRA_SUPPORT" ]; then
|
||||||
XHYDRA_SUPPORT=`$PKG_CONFIG --modversion gtk+-2.0 2> /dev/null`
|
XHYDRA_SUPPORT=`pkg-config --modversion gtk+-2.0 2> /dev/null`
|
||||||
else
|
else
|
||||||
XHYDRA_SUPPORT=""
|
XHYDRA_SUPPORT=""
|
||||||
fi
|
fi
|
||||||
|
|
3
hydra.h
3
hydra.h
|
@ -206,7 +206,8 @@ typedef struct {
|
||||||
char *server;
|
char *server;
|
||||||
char *service;
|
char *service;
|
||||||
char bfg;
|
char bfg;
|
||||||
int8_t rainy;
|
int32_t read_stdin;
|
||||||
|
int32_t stdin_lines;
|
||||||
int32_t skip_redo;
|
int32_t skip_redo;
|
||||||
} hydra_option;
|
} hydra_option;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue