mirror of
https://github.com/MatrixTM/MHDDoS.git
synced 2024-11-16 11:42:42 +08:00
Fix issue avoid-missing-comma found at https://codereview.doctor
This commit is contained in:
parent
b87758bd75
commit
2f888a89e0
4
start.py
4
start.py
|
@ -405,8 +405,8 @@ class HttpFlood(Thread):
|
|||
@staticmethod
|
||||
def getMethodType(method: str) -> str:
|
||||
return "GET" if {method.upper()} & {"CFB", "CFBUAM", "GET", "COOKIE", "OVH", "EVEN",
|
||||
"STRESS", "DYN", "SLOW", "PPS", "APACHE"
|
||||
"BOT"} \
|
||||
"STRESS", "DYN", "SLOW", "PPS", "APACHE",
|
||||
"BOT",} \
|
||||
else "POST" if {method.upper()} & {"POST", "XMLRPC"} \
|
||||
else "HEAD" if {method.upper()} & {"GSB", "HEAD"} \
|
||||
else "REQUESTS"
|
||||
|
|
Loading…
Reference in New Issue
Block a user