You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

guifrontend

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

guifrontend

A frontend client for the GUI data collection framework.

0.1.2
pipPyPI
Maintainers
1

GUI数据采集框架 - 前端

功能

  • 连接后端WebSocket服务
  • 定期截图并发送给后端
  • 执行后端返回的PyAutoGUI代码

安装

pip install -r requirements.txt

配置

编辑 config/config.yaml:

backend:
  host: "127.0.0.1"  # 后端IP地址
  port: 8000
frontend:
  id: "frontend_001"
  screenshot_interval: 2.0

运行

python run_frontend.py --config config/config.yaml

通信协议

发送给后端:

{"type": "screenshot", "screenshot": "base64_image"}

接收自后端:

{"type": "execute_action", "pyautogui_code": "pyautogui.click(100, 200)"}

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