Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
auth — PlaceOS authentication service and API gatekeeper. | Kitploit
工具/GitHubGitHub/placeos/auth
Authentication & AuthorizationCloud Infrastructure SecurityEncryption/Decryption ToolsIdentity & Access Management (IAM)API Security
GitHubplaceos/auth

auth

PlaceOS authentication service and API gatekeeper.

查看仓库
211个月前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

PlaceOS 认证

环境变量

root@kitploit:~
# If a sentry Data Source Name is configured
SENTRY_DSN=https://<key>@<organization>.ingest.sentry.io/<project>

# A shared secret for encrypting cookies
SECRET_KEY_BASE=84b04ea4259542f365

# JWT Private key
JWT_SECRET=Base64 Encoded RSA PRIVATE KEY

# Database name and host
RETHINKDB_DB=place_development
RETHINKDB_HOST=rethink
RETHINKDB_PORT=
RETHINKDB_USER=
RETHINKDB_PASSWORD=

# Rails environment to load
RAILS_ENV=production

# Disable forced SSL
COAUTH_NO_SSL=true

# Serving static files (true if set to anything)
RAILS_SERVE_STATIC_FILES=

认证流程

服务端到服务端

使用客户端凭据流程

  1. POST /auth/oauth/token

请求体如下:

root@kitploit:~
{
  "grant_type"    : "password",
  "username"      : "[email protected]",
  "password"      : "sekret"
}

这将返回:

root@kitploit:~
{
  "access_token": "19adad999683f5b450c460726aa",
  "token_type": "bearer",
  "expires_in": 7200
}

原生应用认证

  1. 登录
    • POST /auth/signin(或 SSO 登录)
  2. 使用 PKCE 请求授权码
    • GET /auth/oauth/authorize?response_type=code&client_id=THE_ID&redirect_uri=THE_URL&scope=public&code_challenge=43_CHAR_CHALLENGE_CODE&code_challenge_method=S256
    • 返回 303 重定向,其 location 中包含:?code=RETURNED_CODE
  3. 获取令牌
    • POST /auth/oauth/token?client_id=THE_ID&client_secret=THE_SECRET&code=RETURNED_CODE&grant_type=authorization_code&redirect_uri=THE_URL&code_verifier=SHA256(43_CHAR_CHALLENGE_CODE)

这将返回:

root@kitploit:~
{
  "access_token": "de6780bc506a0446309bd9362820ba8aed28aa506c71eedbe1c5c4f9dd350e54",
  "token_type": "Bearer",
  "expires_in": 7200,
  "refresh_token": "8257e65c97202ed1726cf9571600918f3bffb2544b26e00a61df9897668c33a1"
 }

吊销刷新令牌

root@kitploit:~
POST /auth/oauth/revoke?client_id=<client_id>&client_secret=<secret>
token=<refresh-token>
下载工具