Skip to content

Commit

Permalink
fix linpeas
Browse files Browse the repository at this point in the history
  • Loading branch information
carlospolop committed Dec 5, 2024
1 parent 186e659 commit 1e1a8a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linPEAS/builder/src/linpeasBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def __get_gtfobins_lists(self) -> tuple:
rb = requests.get(f"https://raw.githubusercontent.com/GTFOBins/GTFOBins.github.io/master/_gtfobins/{b}.md", timeout=5)
if "sudo:" in rb.text:
if len(b) <= 3:
sudoVB.append("[^a-ZA-Z0-9]"+b+"$") # Less false possitives applied to small names
sudoVB.append("[^a-z-Z0-9]"+b+"$") # Less false possitives applied to small names
else:
sudoVB.append(b+"$")
if "suid:" in rb.text:
Expand Down

0 comments on commit 1e1a8a7

Please sign in to comment.