我正在使用 boofuzer 编写我的模糊器,但是当我只想查看应用程序崩溃的位置时,它会显示所有数据库。如何从数据库中删除所有不必要的数据。我只希望每次崩溃都记录到数据库而不是所有数据库。我正在针对 vulnserver 进行测试
#!/usr/bin/python
from boofuzz import *
def main():
csv_log = open('fuzz_results.csv', 'wb')
fuzz_loggers = [FuzzLoggerCsv(file_handle=csv_log)] ### create a FuzzLoggerCSV object with the file handle of our csv file
session = Session(
target=Target(
connection=SocketConnection("192.168.0.28", 9999, proto='tcp')
),
#fuzz_loggers=fuzz_loggers,
crash_threshold_element=1
)
s_initialize("trun")
s_string("TRUN", fuzzable=False)
s_delim(" ", fuzzable=False, name='space-1')
s_string("FUZZ")
s_static("\r\n\r\n")
session.connect(s_get("trun"))
session.fuzz()
if __name__ == "__main__":
main()