forked from p15670423/monkey
Agent: Modify HadoopExploiter tags to be properties
This commit is contained in:
parent
76a3cb0ba0
commit
8f6df12d9c
|
@ -10,7 +10,6 @@ import posixpath
|
|||
import random
|
||||
import string
|
||||
from time import time
|
||||
from typing import Tuple
|
||||
|
||||
import requests
|
||||
|
||||
|
@ -44,11 +43,9 @@ class HadoopExploiter(WebRCE):
|
|||
# Random string's length that's used for creating unique app name
|
||||
RAN_STR_LEN = 6
|
||||
|
||||
def _exploiter_tags(self) -> Tuple[str, ...]:
|
||||
return (HADOOP_EXPLOITER_TAG, T1203_ATTACK_TECHNIQUE_TAG, T1210_ATTACK_TECHNIQUE_TAG)
|
||||
_exploiter_tags = (HADOOP_EXPLOITER_TAG, T1203_ATTACK_TECHNIQUE_TAG, T1210_ATTACK_TECHNIQUE_TAG)
|
||||
|
||||
def _propagation_tags(self) -> Tuple[str, ...]:
|
||||
return (HADOOP_EXPLOITER_TAG, T1105_ATTACK_TECHNIQUE_TAG)
|
||||
_propagation_tags = (HADOOP_EXPLOITER_TAG, T1105_ATTACK_TECHNIQUE_TAG)
|
||||
|
||||
def __init__(self):
|
||||
super(HadoopExploiter, self).__init__()
|
||||
|
|
Loading…
Reference in New Issue