我正在遵循https://www.slideshare.net/htbridge/fuzzing-an-introduction-to-sulley-framework的代码。
下面是 kickfuzz.py 的代码。我遇到了 kickfuzz.py 的无效语法
from sulley import *
from requests import httpcallAX
sess=sessions.session(session_filename="audits/http.session")
target = sessions.target("192.168.175.129", 30888)
target.netmon = pedrpc.client("192.168.175.129", 26001)
target.procmon = pedrpc.client("192.168.175.129", 26002)
@ target.procmon_options = ( "proc_name" | "tvMobiliService.exe" )
target.procmon_options = \
(
"proc_name" : "tvMobiliService.exe",
"stop_commands" : ['net stop tvMobiliService'],
"start_commands" : ['net start tvMobiliService'],
)
sess.add_target(target)
sess.connect(sess.root, s_get("HTTP"))
sess.fuzz()
文件 "C:/sulley_build/sulley/kickfuzz.py",第 8 行 @target.procmon_options = ("proc_name" | "tvMobiliService.exe") ^ SyntaxError: invalid syntax
进程以退出代码 1 结束