Agent skill · security · aiskillstore

telnetshell

Use telnet to interact with IoT device shells for pentesting operations including device enumeration, vulnerability discovery, credential testing, and post-exploitation. Use when the user needs to interact with network-accessible shells, IoT devices, or telnet services.

Why this skill is useful

Adds a Python helper script for telnet communication that automates interaction with IoT devices, including session logging and command execution.

What it needs

Requires inetutils, pexpect, python installed locally. About 9k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

IoT Telnet Shell (telnetshell) This skill enables interaction with IoT device shells accessible via telnet for security testing and penetration testing operations. It supports unauthenticated shells, weak authentication testing, device enumeration, and post-exploitation activities. Prerequisites Python 3 with pexpect library (pip install pexpect or sudo pacman -S python-pexpect) telnet client installed on the system (sudo pacman -S inetutils on Arch) Network access to the target device's telnet port Recommended Approach: Telnet Helper Script IMPORTANT: This skill includes a Python helper script (telnethelper.py) that provides a clean, reliable interface for telnet communication. This is the RECOMMENDED method for interacting with IoT devices. Default Session Logging ALL commands run by Claude will be logged to /tmp/telnetsession.log by default. To observe what Claude is doing in real-time: This allows you to watch all telnet I/O as it happens without interfering with the connection. Why Use the Telnet Helper? The helper script solves many problems with direct telnet usage: Clean output: Automatically removes command echoes, prompts, and ANSI codes Prompt detection: Automatically detects and waits for device prompts Timeout handling: Proper timeout management with no arbitrary sleeps Easy scripting: Simple command-line interface for single commands or batch operations Session logging: All I/O logged to /tmp/telnetsession.log for observation Reliable: No issues with TTY requirements or background processes JSON output: For programmatic parsing and tool chaining Quick Start with Telnet Helper Single Command: Custom Port: With Custom Prompt (recommended for known devices): Interactive Mode: Batch Commands from File: JSON Output (for parsing): Debug Mode: Session Logging (for observation): Note: See OBSERVINGSESSIONS.md for comprehensive guide on monitoring telnet sessions. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/telnetshell

View the source on GitHub

Browse the @skills marketplace