Advertisement
Aluf

How to compile xHydra (Hydra GUI) on windows

Apr 11th, 2015
1,643
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. ##################################################################################################################################
  2. # By Aluf #
  3. # If you have any doubts regarding carding or website hacking or Brute forcing or Gmail hacking or fb or twitter or ask fm or # #with Host shits and all or anything #
  4. # Leave a message at http://hackerclub.chatango.com/ #
  5. # Visit http://0xa.li #
  6. # Pm me for anything. #
  7. ##################################################################################################################################
  8.  
  9.  
  10. I received several comments saying that i am distributing Malware because some antivirus engines are detecting hydra/pw-inspector as Hacktool.Hydra and that’s not a false positive it is a hack tool, i never did or will harm anyone.. and i even got a take down notice (the exe for some reason was detected by them as PHP) but my provider heard my side of the story and no further actions were taken.
  11.  
  12. For that and because i will be compiling the newer versions just occasionally but not very often so i thought of teaching you how to compile it yourself instead of downloading the binaries from me or anyone else.
  13.  
  14.  
  15.  
  16. First download and install Cygwin
  17.  
  18. Don’t do a default install, You have to install packages that Hydra depends on.
  19. Here is the list of the dependencies
  20.  
  21. make
  22. idn-devel
  23. libncurses-devel
  24. libpcre-devel
  25. libpq-devel
  26. libapr1-devel
  27. libaprutil1-devel
  28. mysqlclient-devel
  29. libssh2-devel
  30. pkg-config
  31. libgtk2.0-devel
  32. libgtk2.0_0
  33. binutil
  34. xorg-server
  35. xinit
  36. gnutls-devel
  37. libgnutls28
  38.  
  39. Copy paste the names one by one into the search box
  40.  
  41.  
  42. Click the “skip” to make it install that package
  43.  
  44.  
  45. That would be enough for a basic install of hydra but you should add SSL and SSH support and here is how.
  46.  
  47. Download the Light version of OpenSSL and install it somewhere then copy libeay32.dll to C:\Cygwin\bin
  48.  
  49. And download libssh to be able to support SSH.
  50.  
  51. Install it into the C:\Cygwin\ folder, or install it somewhere else and copy the bin, include, lib folders to C:\Cygwin\
  52.  
  53. Go to C:\cygwin\usr\i686-pc-mingw32\sys-root\mingw\bin and copy libgcc_s_dw2-1.dll and libz-1.dll to C:\Cygwin\bin – And rename libz-1.dll to libz.dll
  54.  
  55. And that’s it we are ready to compile it!
  56.  
  57. Download Hydra http://www.thc.org/releases/hydra-7.6.tar.gz to C:\cygwin\home\%username%
  58.  
  59. Launch the Cygwin Terminal then unpack the archive: tar xf hydra-7.6.tar.gz
  60. Enter the folder: cd hydra-7.6
  61. Configure it: ./configure
  62. Make it happen!: make && make install
  63.  
  64. Finally to make it run. Copy hydra.exe, pw-inspector, xhyrda.exe to C:\Cygwin
  65. And instead of having to manually run Cygwin-X manually each time you have to run xHydra i made this startup file save it as launch.bat and put it in C:\Cygwin too
  66.  
  67. @@echo off
  68. setlocal
  69. SET PATH=%PATH%;bin
  70. SET DISPLAY=:0
  71. C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe
  72. echo Press any key to launch Hydra
  73. @@pause
  74. xhydra.exe
  75.  
  76. It adds the bin folder (containing the dll files it needs) to the path environment variable.
  77. Prepares DISPLAY to make it connect to Cygwin-X.
  78. Runs Cygwin-X server.
  79. Then launch xHydra.
  80.  
  81. And viola!! Hydra as GUI
  82.  
  83.  
  84. Enjoy!
  85.  
  86. And if you have any questions or problems comment or reach me at http://hackerclub.chatango.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement