Skip to content

python3-compatible script - #8

Closed
rundas-r00t wants to merge 1 commit into
sleventyeleven:masterfrom
rundas-r00t:master
Closed

python3-compatible script#8
rundas-r00t wants to merge 1 commit into
sleventyeleven:masterfrom
rundas-r00t:master

Conversation

@rundas-r00t

Copy link
Copy Markdown

i wanted to run a lighter privesc checker other than LinPEAS, so i found this, and updated the script to be compatible with python3.

i wanted to run a lighter privesc checker other than LinPEAS, so i found this, and updated the script to be compatible with python3.
@sleventyeleven

Copy link
Copy Markdown
Owner

I'm a bit confused by the request and will need some more information. Is there a specific issue or error you encountered?

I added python 3 support 5 years ago based on popular demand and its still available via pip as indicated within the readme.

However, for transparency many of the checks are less likely to hit on newer systems that ship with python 3 because of shear age and system/kernel level changes.

@rundas-r00t

Copy link
Copy Markdown
Author

from what i understand linuxprivchecker.py is coded for python2. when i tried to run it, i was getting numerous errors. so i re-coded the specific script to be compatible with python3 syntax. Kali Linux doesn't play nicely with pip; a venv is required to do pip installs. Kali prefers pipx, and since i couldn't find a way to do a pipx install, and i personally hate having to use venv's, i re-coded the original script to python3. as far as i can tell, it works properly. just wanted to share what i did and if you or others find it useful, it'd be a nice addition to the repo.
cheers

@sleventyeleven

sleventyeleven commented Aug 28, 2026

Copy link
Copy Markdown
Owner

You can always branch it off and we can merge it into a python3 branch if you want to share or work on enhancements. But I don't think its worth maintaining another version of the script with just modified syntax for python3 when the pip module under the linuxprivchecker directory, and/or the base file init.py could be executed independently similar to what your trying to accomplish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants