|
@@ -107,7 +107,7 @@ class JoomlaRegPrivExploit(BaseAttack.BaseAttack):
|
|
source_ttl_prob_dict = lea.Lea.fromValFreqsDict(source_ttl_dist)
|
|
source_ttl_prob_dict = lea.Lea.fromValFreqsDict(source_ttl_dist)
|
|
source_ttl_value = source_ttl_prob_dict.random()
|
|
source_ttl_value = source_ttl_prob_dict.random()
|
|
else:
|
|
else:
|
|
- source_ttl_value = Util.handle_most_used_outputs(self.statistics.process_db_query("most_used(ttlValue)"))
|
|
|
|
|
|
+ source_ttl_value = Util.handle_most_used_outputs(self.statistics.get_most_used_ttl_value())
|
|
|
|
|
|
destination_ttl_dist = self.statistics.get_ttl_distribution(ip_destination)
|
|
destination_ttl_dist = self.statistics.get_ttl_distribution(ip_destination)
|
|
if len(destination_ttl_dist) > 0:
|
|
if len(destination_ttl_dist) > 0:
|
|
@@ -115,7 +115,7 @@ class JoomlaRegPrivExploit(BaseAttack.BaseAttack):
|
|
destination_ttl_value = destination_ttl_prob_dict.random()
|
|
destination_ttl_value = destination_ttl_prob_dict.random()
|
|
else:
|
|
else:
|
|
destination_ttl_value = Util.handle_most_used_outputs(
|
|
destination_ttl_value = Util.handle_most_used_outputs(
|
|
- self.statistics.process_db_query("most_used(ttlValue)"))
|
|
|
|
|
|
+ self.statistics.get_most_used_ttl_value())
|
|
|
|
|
|
# Inject Joomla_registration_privesc
|
|
# Inject Joomla_registration_privesc
|
|
# Read joomla_registration_privesc pcap file
|
|
# Read joomla_registration_privesc pcap file
|