Peach Tool 源码的编译

Peach 源码下载地址:

https://gitlab.com/peachtech/peach-fuzzer-community

Peach 工具下载地址:

https://sourceforge.net/projects/peachfuzz/

 Peach linux 源代码编译:

Peach linux 下安装mono

1:下载linux 版本的Peach tool

2:安装mono

  1 .Add the Mono repository to your system

  The package repository hosts the packages you need, add it with the following commands.

  Note: the packages should work on newer Ubuntu versions too but we only test the ones listed below.

  Ubuntu 20.04 (amd64, armhf, arm64, ppc64el)

sudo apt install gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
  2 Install Mono
sudo apt install mono-devel

  The package mono-devel should be installed to compile code.

  The package mono-complete should be installed to install everything - this should cover most cases of "assembly not found" errors.

  The package mono-dbg should be installed to get debugging symbols for framework libraries - allowing you to get line numbers in stack traces.

  The package referenceassemblies-pcl should be installed for PCL compilation support - this will resolve most cases of "Framework not installed: .NETPortable" errors during software compilation.

  The package ca-certificates-mono should be installed to get SSL certificates for HTTPS connections. Install this package if you run into trouble making HTTPS connections.

  The package mono-xsp4 should be installed for running ASP.NET applications.

参考文档:

https://blog.csdn.net/qq_41594050/article/details/102669341

Mono 源码编译:

源码地址

GitHub - mono/mono: Mono open source ECMA CLI, C# and .NET implementation.

问题1:

问题2:


 add #include <sys/sysmacros.h> to mono/io-layer/processes.c

similar issues arise later. Linux manpages will help you to know what you need to include.

参考文档:

https://github.com/cydhaselton/mono-android/issues/1

ubuntu14.04编译mono源码(有坑...) - 李国宝 - 博客园

 Peach Tool win10

Peach win10 源代码编译和vs工程生成:

源代码:https://gitlab.com/gitlab-org/security-products/protocol-fuzzer-ce

源代码编译

waf configure (如果configure正常,build一般成功率就比较高了。)

 

 waf build (第一次build时间会久一些)

 waf install(第一次install时间会久一些)

VS工程生成

waf pkg

This generates the installer zips. For peach, there are two zips, one for internal usage (running unit tests/integration tests) and one for external usage (uploading to the download site). The two zips land in the output/{variant}/pkg folder. Lastly, this waf command will create the local license server zip.

waf test

Runs all the unit tests. To run unit tests for a the windows x64 debug variant, you can run waf test --variant=win_x64_debug.

waf msvs2017

Creates all the .csproj files and Peach.sln file for use with Visual Studio 2017.

waf zip

Zips all the outputs from the install phase into a single artifact.

 

 

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值