Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BackdoorSecureGuardian #105

Open
Paper-Dragon opened this issue Jun 26, 2024 · 0 comments
Open

BackdoorSecureGuardian #105

Paper-Dragon opened this issue Jun 26, 2024 · 0 comments

Comments

@Paper-Dragon
Copy link
Owner

项目名称BackdoorSecureGuardian
写一个Django服务器,
有一个post的接口,用于接收客户机传送来的数据 /slave-track

  • 在配置里新增私钥,公钥,客户机数据进行加密,服务器进行解密。解密失败则返回状态
  • 使用 pycryptodome进行加密解密
  • 接收数据并进行保存到sqlite中,如果成功则返回json数据,status是successful。
  • 数据结构是 uuid, hostname , lan ip, wan ip, time(同步时间)精确到毫秒, need link(默认是关掉)。
  • 如果有新的数据来,uuid一致,则更新这个记录。如果成功则返回json数据,status是successful。message是保存成功。
    有一个get接口,需要参数uuid,
  • 使用了私钥公钥保护
  • 接收数据校验并且根据uuid参数对数据库里的数据进行查询。
  • 返回json数据,包含need link字段。如果成功则返回json数据,status是successful。

有一个web界面,管理展示和删除数据。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant