安装slowhttptest各种问题解决方案

1、安装libssl-dev

控制台安装libssl-dev
输入apt-getinstall libssl-dev

 

出错

The followinginformation may help to resolve the situation:

The followingpackages have unmet dependencies:

 libssl-dev :Depends: libssl1.0.0 (= 1.0.1-4ubuntu5) but 1.0.1-4ubuntu5.3 is to be installed

              Recommends:libssl-doc but it is not going to be installed

E: Unable to correctproblems, you have held broken packages.

 

原因:

已安装的libssl1.0.0版本太高, 无法支持

1

2

3

4

5

6

7

8

9

$dpkg -l *libssl*

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name               Version            Description

+++-==================-==================-====================================================

un  libssl-dev         <none>             (no description available)

un  libssl-doc         <none>             (no description available)

ii  libssl1.0.0        1.0.1-4ubuntu5.3   SSL shared libraries

 

解决方案:

使用aptitude软件包管理器

1. 安装aptitude

1

$sudo apt-get install aptitude

2. 使用aptitude安装 libssl-dev, 采用建议的解决方案(libssl1.0.0版本降级)

验证libssl-dev包安装情况:

1

2

3

4

5

6

7

8

9

$dpkg -l *libssl*

Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend

|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

||/ Name               Version            Description

+++-==================-==================-====================================================

ii  libssl-dev         1.0.1-4ubuntu5     SSL development libraries, header files and document

un  libssl-doc         <none>             (no description available)

ii  libssl1.0.0        1.0.1-4ubuntu5     SSL shared libraries

 

2、安装slowhttptest

安装slowhttptest

git clonegit://github.com/shekyan/slowhttptest

进入slowhttptest文件夹
选择"在终端打开"
输入./configure
make;makeinstall

 

出现错误

1、root@kali:~/下载/slowhttptest# make

CDPATH="${ZSH_VERSION+.}:"&& cd . && /bin/bash /root/下载/slowhttptest/missingaclocal-1.15 -I m4

/root/下载/slowhttptest/missing:line 81: aclocal-1.15: command not found

WARNING: 'aclocal-1.15' is missing on yoursystem.

        You should only need it if you modified 'acinclude.m4' or

        'configure.ac' or m4 files included by 'configure.ac'.

        The 'aclocal' program is part of the GNU Automake package:

        <http://www.gnu.org/software/automake>

        It also requires GNU Autoconf, GNU m4 and Perl in order to run:

        <http://www.gnu.org/software/autoconf>

        <http://www.gnu.org/software/m4/>

        <http://www.perl.org/>

Makefile:333: recipe for target 'aclocal.m4'failed

make: *** [aclocal.m4] Error 127

 

编译过程错误,缺少aclocal-1.15 和m4等依赖包,查询发现aclocal为automake系列包含,这里先安装automake 、autoconf、m4

下载地址为:http://ftp.gnu.org/gnu/

也可以使用wget方法:

输入命令:wgethttp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz 

然后解压缩autoconf-2.69.tar.gz ,输入命令:

tar -zxvfautoconf-2.69.tar.gz 

入解压缩后的目录autoconf-2.69,配置编译环境,输入命令:

./configure

编译并安装autoconf,输入命令:

make;make install

检查是否安装成功,输入命令:

autoconf --version

同上依次安装完成

 执行如下命令:

test@test:/usr/local/src/Mesa-10.3.5$sudo autoreconf-ivf         就是这一句解决了问题

然后在slowhttptest目录下执行:make;make install 完成安装,大功告成

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
你可以在Kali Linux中直接使用以下命令来安装SlowHTTPTest工具:sudo apt-get install slowhttptestSlowHTTPTest是一种用于测试HTTP Slow Attack的工具,它可以模拟Slow Header、Slow Body和Slow Read等常见的拒绝服务攻击方式。 安装完成后,你可以使用命令slowhttptest -h来查看参数的解释和使用方法。例如,使用slowhttptest -c 5000 -u http://...可以指定目标连接数和目标URL。四种攻击模式包括slowloris、show HTTP POST、Apache range header和slow read,默认为slowloris模式。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *3* [慢速DoS攻击工具slowhttptest(网站压力测试工具)](https://blog.csdn.net/weixin_43456810/article/details/110366614)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] - *2* [HTTP Slow Attack测试工具SlowHTTPTest](https://blog.csdn.net/u014621518/article/details/77035700)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值