Merge pull request #477 from peass-ng/codex/update-docstring-and-fix-typo

Fix docstring and comment in linpeasBuilder
This commit is contained in:
SirBroccoli 2025-06-25 01:57:58 +02:00 committed by GitHub
commit cde725dacc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -402,9 +402,9 @@ class LinpeasBuilder:
def __replace_mark(self, mark: str, find_calls: list, join_char: str):
"""Substitude the markup with the actual code"""
self.linpeas_sh = self.linpeas_sh.replace(mark, join_char.join(find_calls)) #New line char is't needed
"""Substitute the markup with the actual code"""
self.linpeas_sh = self.linpeas_sh.replace(mark, join_char.join(find_calls)) #New line char isn't needed
def write_linpeas(self, path):
"""Write on disk the final linpeas"""