python3-compatible script - #8
Conversation
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'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. |
|
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. |
|
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. |
i wanted to run a lighter privesc checker other than LinPEAS, so i found this, and updated the script to be compatible with python3.