|
@@ -5,6 +5,7 @@ from lea import Lea
|
|
|
from scapy.utils import RawPcapReader
|
|
|
from scapy.layers.inet import Ether
|
|
|
|
|
|
+from definitions import ROOT_DIR
|
|
|
from Attack import BaseAttack
|
|
|
from Attack.AttackParameters import Parameter as Param
|
|
|
from Attack.AttackParameters import ParameterTypes
|
|
@@ -15,7 +16,7 @@ logging.getLogger("scapy.runtime").setLevel(logging.ERROR)
|
|
|
|
|
|
|
|
|
class JoomlaRegPrivExploit(BaseAttack.BaseAttack):
|
|
|
- template_attack_pcap_path = "resources/joomla_registration_privesc.pcap"
|
|
|
+ template_attack_pcap_path = ROOT_DIR + "/../resources/joomla_registration_privesc.pcap"
|
|
|
|
|
|
http_port = 80
|
|
|
|