Windows下使用Visual Studio 2022编译masscan

下载源码

https://github.com/robertdavidgraham/masscan/releases

修改代码

编辑string_s.h,将第58行的_MSC_VER == 1900改为_MSC_VER >= 1900
ff6b9f28628a574a3fd13e77374712fd.png

更新工程

点击项目重定目标解决方案将工程更新一下
d2ba2f5f0eb4f9fb8f5a533efdd9849b.png
我这里是更新之后的状态
1052cbeaed4a9b5dc862a86b767eb294.png

编译

上面的修改之后就可以编译了,编译之后的二进制文件在bin目录
d8f40eb810025c8378fc8d9bf614ae0f.png

使用

使用示例

masscan 1.1.1.1 -p0-65535

更多用法参考:https://github.com/robertdavidgraham/masscan
_MSC_VER参考:https://github.com/microsoft/STL/wiki/Macro-_MSVC_STL_UPDATE

下载地址

masscan-1.3.2-Windows.zip
下载:https://fourdmayi.lanzouo.com/iEuVN0jxocba 密码:814m

这篇文章有用吗?

点击星号为它评分!

平均评分 5 / 5. 投票数: 1

到目前为止还没有投票!成为第一位评论此文章。

发表评论