Merge pull request #666 from Yisus7u7/master

Add more files to GitHub pages
This commit is contained in:
van Hauser 2021-06-17 16:13:18 +02:00 committed by GitHub
commit 5b98a23140
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 53 additions and 5 deletions

View file

@ -1,3 +1,6 @@
![image](https://opengraph.githubassets.com/91871daab983cd69e18846c4f5c40a547e91638b3fe6064d81d9bb4574d95e73/vanhauser-thc/thc-hydra)
H Y D R A
@ -52,12 +55,12 @@ Your help in writing, enhancing or fixing modules is highly appreciated!! :-)
WHERE TO GET
------------
You can always find the newest release/production version of hydra at its
project page at https://github.com/vanhauser-thc/thc-hydra/releases
project page at [https://github.com/vanhauser-thc/thc-hydra/releases](https://github.com/vanhauser-thc/thc-hydra/releases)
If you are interested in the current development state, the public development
repository is at Github:
svn co https://github.com/vanhauser-thc/thc-hydra
svn co [https://github.com/vanhauser-thc/thc-hydra](https://github.com/vanhauser-thc/thc-hydra)
or
git clone https://github.com/vanhauser-thc/thc-hydra
git clone [https://github.com/vanhauser-thc/thc-hydra](https://github.com/vanhauser-thc/thc-hydra)
Use the development version at your own risk. It contains new features and
new bugs. Things might not work!
@ -73,8 +76,11 @@ make
make install
```
`Note`: To compile hydra on Android (termux) [follow this articule](https://vanhauser-thc.github.io/thc-hydra/docs/android)
If you want the ssh module, you have to setup libssh (not libssh2!) on your
system, get it from http://www.libssh.org, for ssh v1 support you also need
system, get it from [http://www.libssh.org](http://www.libssh.org), for ssh v1 support you also need
to add "-DWITH_SSH1=On" option in the cmake command line.
IMPORTANT: If you compile on MacOS then you must do this - do not install libssh via brew!

View file

@ -1,2 +1,2 @@
title: "thc-hydra"
theme: jekyll-theme-midnight
theme: jekyll-theme-slate

42
docs/android/index.md Normal file
View file

@ -0,0 +1,42 @@
## thc-hydra
### How to compile hydra on Android
Hydra can run on Android without root permissions,
this is thanks to [Termux](https://termux.com/), A powerful emulator
of terminal with an ecosystem of packages.
To compile hydra on Android, you will need to download
[Termux](https://termux.com/).
I note that termux no longer provides support
for Android devices less than or equal to Android 6,
therefore your cell phone must be Android 7 or higher.
After installing termux, enter the following commands
at your terminal:
```
# Update package list
pkg update && pkg upgrade
# Installing dependencies
pkg install -y x11-repo
pkg install -y clang make openssl openssl-tool wget openssh coreutils gtk2 gtk3
# Compiling hydra
./configure --prefix=$PREFIX
make && make install
```
then you can use hydra in the termux terminal
To use xhydra (GUI), you will need to install a graphical output in termux, you can be guided from this article:
[https://wiki.termux.com/wiki/Graphical_Environment](https://wiki.termux.com/wiki/Graphical_Environment)
If you have never used a GUI on Android or are not able to configure it,
you can use these projects from the termux community:
- [openbox by adi1090x](https://github.com/adi1090x/termux-desktop)
- [lxqt by yisus](https://github.com/Yisus7u7/termux-desktop-lxqt)
- [xfce4 by yisus](https://github.com/Yisus7u7/termux-desktop-xfce)