Merge pull request #22 from katlapinka/kasiat/peach-fix-command-type

Fix parameter type in peach fuzzer get_fuzzed_command method
This commit is contained in:
Katarzyna Treder
2024-10-15 11:13:11 +02:00
committed by GitHub

View File

@@ -38,7 +38,7 @@ class PeachFuzzer:
escape_chars = '\\\n"\'&|;()`<>$! '
@classmethod
def get_fuzzed_command(cls, command_template: bytes, count: int):
def get_fuzzed_command(cls, command_template: str, count: int):
"""
Generate command with fuzzed parameter provided on command_template.
:param command_template: string with command to be executed.