It could be worth going over this repo, and see if there are more methods worth implementing here as well: https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite