Git Product home page Git Product logo

fuzzing-imagemagick's People

Contributors

lcatro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fuzzing-imagemagick's Issues

求助报错

感觉很奇怪,按照教程做的,也有二进制文件,就是一直报错
使用的命令
afl-fuzz -i ../../../afl-2.52b/testcases/images/png/ -o fuzzing_output -t 300000 -m 200 ./magick convert @@ /dev/null

下是报错的显示与图片

Hmm, looks like the target binary terminated before we could complete a
handshake with the injected code. There are two probable explanations:

- The current memory limit (200 MB) is too restrictive, causing an OOM
  fault in the dynamic linker. This can be fixed with the -m option. A
  simple way to confirm the diagnosis may be:

  ( ulimit -Sv $[199 << 10]; /path/to/fuzzed_app )

  Tip: you can use http://jwilk.net/software/recidivm to quickly
  estimate the required amount of virtual memory for the binary.

- Less likely, there is a horrible bug in the fuzzer. If other options
  fail, poke <[email protected]> for troubleshooting tips.

[-] PROGRAM ABORT : Fork server handshake failed
Location : init_forkserver(), afl-fuzz.c:2253

vul-2019-07-18-14-57-18

找不到二进制文件

大佬好,我在对源码编译完成之后找不到目标文件,也就是那个二进制文件,翻了各个文件夹。。。按照原文说的步骤做了一遍

【疑似错误】 -t 300000

afl-fuzz -i ../../fuzzdata/samples/png -o fuzzing_output -t 300000 -m 200 ./magick convert @@ /dev/null
既然-t单位是ms,所以-t 300000 是300s吧?

Fuzzdata 问题

大佬好,我看fuzzdata里有些非常大的文件.用这么大的文件做seed input合适吗?在这些文件上的fuzzing速度很慢,AFL文档里也不推荐用大文件.大佬当时是通过这些文件找到bug的吗?

错误:无法使用afl-g++编译

您好!
我在ImageMagick中设置编译器为afl的时候,可以成功设置CC=afl-gcc(afl-clang),但在设置CXX=afl-g++(afl-clang++)时报错无法成功。
出错如下图:
afl-g++
根据其他Issues,这应该是导致afl-fuzz过程中无法成功fuzzing。

[-] PROGRAM ABORT : Program './magick' is a shell script
         Location : check_binary(), afl-fuzz.c:6957

初步Google后,部分论坛指出可能和cpp,g++环境有关,但install时无法成功安装。

而在相关日志config.log中,该报错处的日志详情为乱码,无法显示字符,无从得知details。
config

afl-gcc成功如下图:
afl-gcc

请问问题原因何在,如何能解决这个问题?期望作者大佬的解答!

相关环境如下:
Ubuntu:Linux ubuntu 5.13.0-40-generic(更新至当前最新状态)
ImageMagick:7.1.0-20
AFL:2.57b

大佬好,按照你的步骤去做,结果出了些问题

我在虚拟机ubantu 16.04LTS运行这步的时候,它提示物 magick 是个shell文件

afl-fuzz -i ../../fuzzdata/samples/png -o fuzzing_output -t 300000 -m 200 ./magick convert @@ /dev/null

然后我去网上查了下 shell文件转换成 binary文件时也没找到什么好的方案
希望大佬告诉我下应该怎么解决
我的afl是2.51b版本
ImageMagick是今天的版本
具体图片如下:
default

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.