赞
踩
因实验需要,需要在现有机器上安装hydra、medusa、patator等爆破工具
一、安装hydra
(参考:https://bugging.com.cn/2018/05/16/centos6-%E5%AE%89%E8%A3%85hydra/)
1.从GitHub下载安装包:https://github.com/vanhauser-thc/thc-hydra/releases
2.tar xvf 解压
3.进入解压目录: 一顿操作(1) ./configure (2)make (3)make install
期间会出现错误,根据参考文章进行修改,vim hydra-svn.c
原第85-89行内容:
- //if ((err = svn_client_create_context(&ctx, pool))) {
- if ((err = svn_client_create_context2(&ctx, NULL, pool))) {
- svn_handle_error2(err, stderr, FALSE, "hydra: ");
- return 4;
- }
修改后:
- if ((err = svn_client_create_context(&ctx, pool))) {
- //if ((err = svn_client_create_context2(&ctx, NULL, pool))) {
- svn_handle_error2(err, stderr, FALSE, "hydra: ");
- return 4;
- }
原第109/110行内容:
- //err = svn_client_list2(canonical, &revision, &revision, svn_depth_unknown, dirents, FALSE, print_dirdummy, NULL, ctx, pool);
- err = svn_client_list3(canonical, &revision, &revision, svn_depth_unknown, dirents, FALSE, FALSE, (svn_client_list_func2_t) print_dirdummy, NULL, ctx, pool);
修改后:
- err = svn_client_list2(canonical, &revision, &revision, svn_depth_unknown, dirents, FALSE, print_dirdummy, NULL, ctx, pool);
- //err = svn_client_list3(canonical, &revision, &revision, svn_depth_unknown, dirents, FALSE, FALSE, (svn_client_list_func2_t) print_dirdummy, NULL, ctx, pool);
然后再一顿操作安装即可通过。
发现目前release版本还没支持RDP协议,只好安装老版本了:
wget https://github.com/v
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。