mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-20 05:13:51 -07:00
initial commit
This commit is contained in:
commit
6a94f708e8
122 changed files with 60195 additions and 0 deletions
20
hydra-gtk/make_xhydra.sh
Executable file
20
hydra-gtk/make_xhydra.sh
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome/lib/pkgconfig
|
||||
export PKG_CONFIG_PATH
|
||||
echo "Trying to compile xhydra now (hydra gtk gui) - dont worry if this fails, this is really optional ..."
|
||||
./configure > /dev/null 2> errors
|
||||
test -e Makefile || {
|
||||
echo "Error: configure wasnt happy. Analyse this:"
|
||||
cat errors
|
||||
exit 1
|
||||
}
|
||||
make > /dev/null 2> errors
|
||||
test -e src/xhydra || {
|
||||
echo "Error: could not compile. Analyse this:"
|
||||
cat errors
|
||||
echo
|
||||
echo 'Do not worry, as I said, xhydra is really optional. ./hydra is ready to go!'
|
||||
exit 0
|
||||
}
|
||||
cp -v src/xhydra ..
|
||||
echo "The GTK GUI is ready, type \"./xhydra\" to start"
|
Loading…
Add table
Add a link
Reference in a new issue