aflnw icon indicating copy to clipboard operation
aflnw copied to clipboard

网络服务挂掉之后,afl没有检测到崩溃,依然继续执行fuzz

Open Cool-Y opened this issue 4 years ago • 1 comments

您这里的代码很明朗,如果无法建立tcp连接,则程序crash。

    int ret = connect(
                  server_fd, (const struct sockaddr *)&server_listen_addr,
                  sizeof(struct sockaddr)
              );
    printf("send ret %d\n", ret);
    if (ret < 0)
    {
        crash();
    }

但是我在测试过程中,发现只有系统崩溃时才会停止,如果服务挂掉(端口挂),fuzz依然继续.

Cool-Y avatar May 14 '21 14:05 Cool-Y

感谢你的反馈,因为这个repo中得代码更多是实验性质,一些细节上的问题处理得有很多欠缺,我会尝试在后续的更新中解决这个问题

LyleMi avatar May 15 '21 02:05 LyleMi