mirror of
https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite.git
synced 2025-12-07 01:21:29 +00:00
Compare commits
1 Commits
codex/fix-
...
codex/repl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5e3c2a885 |
@@ -33,7 +33,7 @@ if __name__ == "__main__":
|
|||||||
parser.add_argument('--small', action='store_true', help='Build small version of linpeas.')
|
parser.add_argument('--small', action='store_true', help='Build small version of linpeas.')
|
||||||
parser.add_argument('--include', type=str, help='Build linpeas only with the modules indicated you can indicate section names or module IDs).')
|
parser.add_argument('--include', type=str, help='Build linpeas only with the modules indicated you can indicate section names or module IDs).')
|
||||||
parser.add_argument('--exclude', type=str, help='Exclude the given modules (you can indicate section names or module IDs).')
|
parser.add_argument('--exclude', type=str, help='Exclude the given modules (you can indicate section names or module IDs).')
|
||||||
parser.add_argument('--output', required=True, type=str, help='Parth to write the final linpeas file to.')
|
parser.add_argument('--output', required=True, type=str, help='Path to write the final linpeas file to.')
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
all_modules = args.all
|
all_modules = args.all
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ class LinpeasBuilder:
|
|||||||
for orig_url in urls:
|
for orig_url in urls:
|
||||||
tar_gz_bin_name = ""
|
tar_gz_bin_name = ""
|
||||||
if ",,," in orig_url:
|
if ",,," in orig_url:
|
||||||
tar_gz_bin_name = orig_url.split(",,,")[1]
|
tar_gz_bin_name = url.split(",,,")[1]
|
||||||
url = orig_url.split(",,,")[0]
|
url = orig_url.split(",,,")[0]
|
||||||
else:
|
else:
|
||||||
url = orig_url
|
url = orig_url
|
||||||
|
|||||||
Reference in New Issue
Block a user