1
mirror of https://github.com/carlospolop/PEASS-ng synced 2024-11-24 01:26:22 +01:00

:fix: fix linPEAS builder

Update search regex due to API change
This commit is contained in:
Nicolas GRELLETY 2023-07-23 00:14:26 +02:00
parent 0d75c0085a
commit e7bfabe082
No known key found for this signature in database
GPG Key ID: C8565A774AA7A740

View File

@ -353,7 +353,7 @@ class LinpeasBuilder:
def __get_gtfobins_lists(self) -> tuple:
r = requests.get("https://github.com/GTFOBins/GTFOBins.github.io/tree/master/_gtfobins")
bins = re.findall(r'/GTFOBins/GTFOBins.github.io/blob/master/_gtfobins/([\w_ \-]+).md', r.text)
bins = re.findall(r'_gtfobins/([\w_ \-]+).md', r.text)
sudoVB = []
suidVB = []