pentesting-vnc

pentesting-vnc is a skill for Claude Code, Codex from xalgorix/xalgorix. It costs 98 tokens per session (1,889 once invoked), scanned A, original, Apache-2.0.

A security-testing guide for VNC, a system that displays and controls a remote desktop. VNC commonly uses ports 5900 and 5901, with some web access on 5800 and 5801.

In plain words
What is it for?
Use it during an authorized assessment to identify VNC, inspect its security options, test authentication, and check for known RealVNC bypasses.
Why use it?
A VNC server with no authentication, weak passwords, or an old bypass can expose full desktop control. The guide helps confirm whether remote access is properly protected.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it during an authorized assessment to identify VNC, inspect its security options, test authentication, and check for known RealVNC bypasses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xalgorix/xalgorix/pentesting-vnc
About the project

xalgorix/xalgorix is a self-hosted AI penetration-testing tool in which an LLM agent performs reconnaissance, looks for vulnerabilities, and coordinates exploitation, while a separate verifier re-tests findings before reporting them. It is for security teams, ethical hackers, and bug bounty work using a private, bring-your-own-LLM setup. The catalogue skills extend the agent's pentesting workflow.

xalgorix/xalgorix · 1,531 stars · on GitHub · xalgorix.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xalgorix/xalgorix --skill pentesting-vnc
Clone the repo
git clone --depth 1 https://github.com/xalgorix/xalgorix

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pentesting-vnc

README.md
[![agentmods](https://agentmods.dev/badge/skills/xalgorix/xalgorix/pentesting-vnc/github.svg)](https://agentmods.dev/skills/xalgorix/xalgorix/pentesting-vnc)
Your own site
<a href="https://agentmods.dev/skills/xalgorix/xalgorix/pentesting-vnc"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/pentesting-vnc/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pentesting-vnc

Your own site · 80×15
<a href="https://agentmods.dev/skills/xalgorix/xalgorix/pentesting-vnc"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/pentesting-vnc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,889 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00098 $0.01889
Opus 5.5 $0.00039 $0.00756
Sonnet 5.5 $0.00020 $0.00378
Haiku 4.5 $0.00010 $0.00189

Measured 7d ago against content hash d08b307c7127, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pentesting-vnc scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

internal/tools/skills/data/network-services-pentesting/pentesting-vnc/SKILL.md · 185 lines

How it starts

The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pentesting VNC (port 5900/5901)

When to Use

  • During authorized assessments when a VNC port is open (5800/5801 web, 5900/5901 RFB, or 5900+display)
  • When testing for unauthenticated ("None" auth) VNC access to a desktop
  • When testing for the RealVNC authentication bypass
  • When you recover a ~/.vnc/passwd file and need to decrypt the stored password
  • When validating weak/default VNC passwords via brute force

Quick Enumeration

# RFB version, auth types, and known bypasses
nmap -sV --script vnc-info,realvnc-auth-bypass,vnc-title -p <PORT> <IP>
# vnc-info reports the RFB protocol version and supported security types
# vnc-title grabs the desktop title; realvnc-auth-bypass flags the bypass

In the Metasploit console (msfconsole); omit the displayed prompts:

# Check for "None" (no authentication) security type
msf> use auxiliary/scanner/vnc/vnc_none_auth

# Shodan-style discovery
# port:5900 RFB

Critical: Checks Most Often Missed

  1. None / no authentication — many VNC servers expose security type "None", granting full desktop control with zero credentials. Confirm with vnc_none_auth and connect directly.
  2. RealVNC auth bypass — older RealVNC versions accept a null/insecure security type negotiation, bypassing the password entirely. Flagged by realvnc-auth-bypass.
  3. Weak 3DES-stored password — ~/.vnc/passwd stores the VNC password encrypted with a fixed, long-reversed 3DES key. If you can read the file, you can recover the cleartext with vncpwd.
  4. 8-character password truncation — VNC passwords are limited to 8 characters, making them weak to brute force; mind the limit when supplying a wordlist.
  5. Web client (5800/5801) — a Java/HTTP VNC client may be exposed separately from the RFB port and can leak version/host info.

How to CONFIRM: no-auth is confirmed when auxiliary/scanner/vnc/vnc_none_auth reports the host accepts the None type, or vncviewer <IP>::5901 connects without prompting for a password. A bypass is confirmed when realvnc-auth-bypass returns VULNERABLE.

Read the full file on GitHub · 185 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 185 lines · 98 tokens per session scan A d08b307c7127

Subscribe to this mod's changes

pentesting-vnc is a skill published in the GitHub repository xalgorix/xalgorix (1,531 stars, last pushed yesterday), licensed Apache-2.0. It adds 98 tokens to every session and 1,889 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-23.

Related

pentesting-vnc compared with skills from other repositories

pentesting-vnc next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pentesting-vncxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A98Claude Code, Codex
cis-aws-foundations-2.8CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A22Claude Code, Codex
cis-aws-foundations-4.3CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A18Claude Code, Codex
cis-aws-foundations-6.5CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A23Claude Code, Codex
cis-aws-foundations-2.1.1CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A19Claude Code, Codex
cis-aws-foundations-2.15CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A23Claude Code, Codex
cis-aws-foundations-4.1CyberStrikeus/CyberStrikeSkill3.8kyesterdayAGPL-3.0A18Claude Code, Codex