zyw-200 / FirmAFL

FIRM-AFL is the first high-throughput greybox fuzzer for IoT firmware.
GNU General Public License v3.0
432 stars 90 forks source link

What's the usage of test.py file? #57

Closed Nicholas-wei closed 8 months ago

Nicholas-wei commented 10 months ago

Hello, thanks you for providing us this great tool. I have some questions about your tool, and I will be very gratitude if you can reply.

The first question is: I wonder what's the usage of "test.py” under each testcase. This file seems to be important because if I change the content of it to another legal web packet,which is not the same an before, the fuzzing process will not be successful.

The second question is: If I want to write my own 'test.py', to test some new firmware, can you give us some document or advice?

Thnk you!

Nicholas-wei commented 8 months ago

After reading the source code, I've understanded the usage of 'tets.py'. It specifies the input to make the PUT stopped and wait for the user-mode fuzzing