Skip to content

About

一个远程脚本执行工具

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

AirScripts

AppVeyor version Github All Releases Mozilla Add-on

一个远程脚本执行工具

功能

  • 远程执行系统命令(关机、重启、注销、睡眠、休眠、锁屏)
  • 远程执行bat脚本文件(存放于根目录下,Scripts目录中)

下载

下载最新版本

要求

Microsoft .NET Framework 4.6.1 或更高

Microsoft Visual C++ 2015 Redistributable (x86)

网络接口

地址

http://IP_Address:port/api

调用方法

POST或GET

请求参数

是否必选 参数名 类型 参数说明
是 action string 执行动作类型(system或shell)
是 command string 执行命令
否 secret_key string 密钥

执行的动作为system时的执行命令

参数值 执行命令
shutdown 关机
reboot 重启
logoff 注销
sleep 睡眠
hibernate 休眠
lock 锁屏

执行的动作为shell时的执行命令

执行主程序目录下,Scripts目录中的脚本文件。

command参数引入脚本文件文件名即可

请求示例

http://192.168.0.10:8000/api?action=system&command=lock

http://192.168.0.10:8000/api?action=shell&command=notepad&secret_key=123456

About

一个远程脚本执行工具

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages