revsheller
Hosted reverse and forward shell relay for CTFs, labs and authorized testing.
사용해야 할까요
품질 및 안전성
발견 사항 (3)
- HIGH
- MEDIUMtunnel_create에서
- INFOtunnel_create에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"revsheller": {
"url": "https://revsheller.com/mcp"
}
}
}원격 엔드포인트
https://revsheller.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (11)
🟡create_session(mode, target_host, target_port, custom_subdomain)
Create a shell relay session for your own authorized lab or CTF target. Reverse mode (default) returns a one-liner to run on the target so it connects back; forward mode dials target_host:target_port (public internet only). Then use run_command / send_input / read_output. Counts against your concurrent session limit.
입력 스키마
{
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"reverse",
"forward"
],
"default": "reverse",
"description": "reverse: target connects back to the relay. forward: the relay connects out to target_host:target_port."
},
"target_host": {
"type": "string",
"description": "Forward mode only: public hostname or IP of the target."
},
"target_port": {
"type": "integer",
"minimum": 1,
"maximum": 65535,
"description": "Forward mode only: target TCP port."
},
"custom_subdomain": {
"type": "string",
"description": "Optional reserved subdomain you own (Pro Plus)."
}
},
"required": [],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_target_command(session_id, variant, type, encoding)
Regenerate the command to run on the target for an existing reverse session. Default type 'auto' picks whatever the target has (python, curl, bash...). The command embeds the session's target token: treat it as a secret and only run it on a machine you are authorized to test.
입력 스키마
{
"type": "object",
"properties": {
"session_id": {
"type": "string",
"description": "Session id returned by create_session or list_sessions.",
"minLength": 1,
"maxLength": 32
},
"variant": {
"type": "string",
"enum": [
"posix",
"windows"
],
"default": "posix",
"description": "Target OS family."
},
"type": {
"type": "string",
"default": "auto",
"description": "Payload type (see the web UI list), e.g. auto, python_ws, bash_curl, powershell_ws."
},
"encoding": {
"type": "string",
"default": "none",
"description": "Optional encoding such as base64 (aes256 is not available over MCP)."
}
},
"required": [
"session_id"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢session_status(session_id)
Connection state of a session: whether the target is connected, whether a browser operator is watching, the last status message, and the current output cursor. Read-only. Poll this after running the target command.
입력 스키마
{
"type": "object",
"properties": {
"session_id": {
"type": "string",
"description": "Session id returned by create_session or list_sessions.",
"minLength": 1,
"maxLength": 32
}
},
"required": [
"session_id"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🔴send_input(session_id, data, append_newline)
Type raw text into the session's shell (a newline is appended by default). Use for interactive programs, Ctrl-C (\u0003) or anything run_command cannot express. Returns the output cursor from just before the write; pass it to read_output to see the response. The target must be connected.
입력 스키마
{
"type": "object",
"properties": {
"session_id": {
"type": "string",
"description": "Session id returned by create_session or list_sessions.",
"minLength": 1,
"maxLength": 32
},
"data": {
"type": "string",
"minLength": 1,
"maxLength": 16384,
"description": "Text to type. Ctrl-C is \"\\u0003\"."
},
"append_newline": {
"type": "boolean",
"default": true,
"description": "Append a newline (press Enter)."
}
},
"required": [
"session_id",
"data"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢read_output(session_id, cursor, wait_ms, max_bytes, strip_ansi)
Read terminal output after a cursor (from send_input, run_command or an earlier read). Without a cursor it returns the oldest retained output (256 KiB ring). Optionally long-polls up to wait_ms. Read-only: does not keep the session alive. If dropped_bytes > 0 or reset is true, output was lost. If more is true, call again with the returned cursor.
입력 스키마
{
"type": "object",
"properties": {
"session_id": {
"type": "string",
"description": "Session id returned by create_session or list_sessions.",
"minLength": 1,
"maxLength": 32
},
"cursor": {
"type": "string",
"maxLength": 64,
"description": "Cursor from a previous result."
},
"wait_ms": {
"type": "integer",
"minimum": 0,
"maximum": 25000,
"default": 0,
"description": "Long-poll up to this long for new output."
},
"max_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 65536,
"default": 16384
},
"strip_ansi": {
"type": "boolean",
"default": true,
"description": "Remove ANSI escape sequences and normalise line endings."
}
},
"required": [
"session_id"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🔴run_command(session_id, command, shell, timeout_ms, idle_ms, ...)
Run one command in the session's shell and wait for it to finish, returning its output and exit code. Works by typing the command followed by a completion marker, so the shell must be at a prompt (not inside a pager, REPL or heredoc) and the shell type must match. If it does not finish within timeout_ms, completed is false: continue with read_output using the returned cursor, or interrupt with send_input "\u0003". Run one command at a time per session. shell 'raw' types the text as-is and returns after idle_ms of silence.
입력 스키마
{
"type": "object",
"properties": {
"session_id": {
"type": "string",
"description": "Session id returned by create_session or list_sessions.",
"minLength": 1,
"maxLength": 32
},
"command": {
"type": "string",
"minLength": 1,
"maxLength": 16000
},
"shell": {
"type": "string",
"enum": [
"posix",
"powershell",
"cmd",
"raw"
],
"default": "posix",
"description": "Shell running on the target."
},
"timeout_ms": {
"type": "integer",
"minimum": 1000,
"maximum": 55000,
"default": 15000
},
"idle_ms": {
"type": "integer",
"minimum": 0,
"maximum": 30000,
"default": 2000,
"description": "raw shell only: finish after this much silence."
},
"max_bytes": {
"type": "integer",
"minimum": 1,
"maximum": 65536,
"default": 16384,
"description": "Cap on returned output (the tail is kept)."
},
"strip_ansi": {
"type": "boolean",
"default": true
}
},
"required": [
"session_id",
"command"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢list_sessions
List your live sessions (created from the web UI, API or MCP).
입력 스키마
{
"type": "object",
"properties": {},
"required": [],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🔴close_session(session_id)
Tear down a session: disconnects the target and the browser operator and frees a session slot. Cannot be undone.
입력 스키마
{
"type": "object",
"properties": {
"session_id": {
"type": "string",
"description": "Session id returned by create_session or list_sessions.",
"minLength": 1,
"maxLength": 32
}
},
"required": [
"session_id"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🔴tunnel_create(port, name)
Create an HTTP tunnel: a public https URL that will forward to a web server on the user's own machine. Returns the URL, the expiry and the exact command the USER must run on their machine to connect it. The command contains the placeholder rsh_YOUR_KEY: tell the user to replace it with their own API key from the account page; never ask for or handle the key yourself. The URL serves nothing until that command is running. Counts against the tunnel limit; call tunnel_delete when done.
입력 스키마
{
"type": "object",
"properties": {
"port": {
"type": "integer",
"minimum": 1,
"maximum": 65535,
"default": 3000,
"description": "Local port of the user's web server (goes into the command)."
},
"name": {
"type": "string",
"maxLength": 32,
"description": "Optional reserved name you own (Pro / Pro Plus): gives <name>.<tunnel domain>."
}
},
"required": [],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢tunnel_list
List your HTTP tunnels with their public URL, whether a client is connected (online), expiry, and this month's bandwidth use against the cap.
입력 스키마
{
"type": "object",
"properties": {},
"required": [],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🔴tunnel_delete(tunnel_id)
Close an HTTP tunnel: disconnects its client, stops serving the URL and frees a tunnel slot. Cannot be undone (random URLs are never reused).
입력 스키마
{
"type": "object",
"properties": {
"tunnel_id": {
"type": "string",
"description": "Tunnel id returned by tunnel_create or tunnel_list (e.g. tn-abc123xyz0).",
"minLength": 1,
"maxLength": 63
}
},
"required": [
"tunnel_id"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}커뮤니티
증거