docker pull aflplusplus/aflplusplus docker run -ti -v /location/of/your/target:/src aflplusplus/aflplusplus
我这里使用的是:
1
docker run -ti --privileged=true -v /root/fuzz:/root/fuzz aflplusplus/aflplusplus
进去之后再给apt换个源
1
vim /etc/apt/sources.list
1 2 3 4 5 6 7 8 9 10
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted deb http://mirrors.aliyun.com/ubuntu/ focal universe deb http://mirrors.aliyun.com/ubuntu/ focal-updates universe deb http://mirrors.aliyun.com/ubuntu/ focal multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-updates multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted deb http://mirrors.aliyun.com/ubuntu/ focal-security universe deb http://mirrors.aliyun.com/ubuntu/ focal-security multiverse
import os import time if __name__ == '__main__': while True: file_list = os.listdir('/tmp') for file_index in file_list: if file_index.startswith('magick'): try: os.remove('/tmp/' + file_index) except: pass time.sleep(0.1)