Skip to main content
Glama

payload_one_liner

Generate reverse shell one-liner commands with customizable IP, port, and shell type for penetration testing.

Instructions

Generate reverse shell one-liner commands.

Args: lhost: Your IP address for callback lport: Port for callback (default: 4444) shell_type: Type of shell - bash, python, nc, php, powershell, perl, ruby, or 'all'

Returns: One-liner command(s) ready to copy-paste

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lhostYes
lportNo
shell_typeNoall

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations provided, so description carries full burden. It accurately describes output (command(s) ready to copy-paste) and input (lhost, etc.). No destructive behavior is implied, but effort to disclose limitations or side effects is minimal. Adequate but could mention that commands may require a listener.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Extremely concise and well-structured. Three clear lines for args plus a return line. Every sentence adds value. No fluff, no repetition. Ideal for quick understanding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given low complexity and presence of output schema (implied by 'Returns'), the description is largely complete. It covers all parameters and return value. Could briefly warn about legal use or mention that a listener is required, but not essential for a generation tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so description provides all param meaning. It adds value by describing lhost as 'Your IP address', lport with default, and shell_type with explicit list of options. However, it lacks format details (e.g., IP validation, port range) and does not cover all param semantics fully.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool generates reverse shell one-liner commands, specifying the action and resource. It distinguishes itself from siblings by its focus on one-liners, but does not explicitly differentiate from similar tools like reverse_shell_command. Still, purpose is clear and specific.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool over alternatives. The description does not mention prerequisites, context, or when not to use it. Given many sibling tools for payloads and reverse shells, this is a gap.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zebbern/zebbern-kali-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server