Fix CI failures for PR #594

This commit is contained in:
chack-agent
2026-02-13 23:44:55 +00:00
parent be3be69ba3
commit 60e2691922

View File

@@ -46,7 +46,7 @@ class LinpeasBuilder:
def build(self):
print("[+] Building variables...")
variables = self.__generate_variabless()
variables = self.__generate_variables()
self.__replace_mark(PEAS_VARIABLES_MARKUP, variables, "")
if len(re.findall(r"PSTORAGE_[a-zA-Z0-9_]+", self.linpeas_sh)) > 1: #Only add storages if there are storages (PSTORAGE_BACKUPS is always there so it doesn't count)