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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CredKing — 使用 AWS Lambda 进行 IP 轮换的密码喷洒 | Kitploit
工具/GitHubGitHub/ustayready/credking
密码攻击脚本与自动化渗透测试云安全身份与访问管理 (IAM)身份验证
GitHubustayready/credking

CredKing

使用 AWS Lambda 进行 IP 轮换的密码喷洒

查看仓库
6689828年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CredKing

  • 概览
    • 优点
  • 基本用法
  • 插件用法
    • Gmail
    • Okta
  • 安装
  • 开发
    • 插件特定参数

概览

使用 AWS Lambda 在多个区域轻松发起密码喷洒攻击,每次请求都会轮换 IP 地址。

由以下机构提供:

Black Hills Information Security

优点

  • 完全支持所有 AWS Lambda 区域
  • 多线程处理
  • 生成用户名/密码对
  • 轻松添加新插件
  • 自动创建执行角色和 Lambda 函数

基本用法

usage: credking.py [-h] --plugin PLUGIN [--threads THREADS] --userfile USERFILE --passwordfile PASSWORDFILE --access_key ACCESS_KEY --secret_access_key SECRET_ACCESS_KEY [--useragentfile USERAGENTFILE]

root@kitploit:~
Arguments:
  -h, --help                            show this help message and exit
  --plugin PLUGIN                       spraying plugin
  --threads THREADS                     thread count (default: 1)
  --userfile USERFILE                   username file
  --passwordfile PASSWORDFILE           password file
  --access_key ACCESS_KEY               aws access key
  --secret_access_key SECRET_ACCESS_KEY aws secret access key
  --useragentfile                       useragent file

插件用法

Gmail

Gmail 插件不需要任何额外参数。

Okta

Okta 插件新增了一个必需的参数,名为 oktadomain。

usage: credking.py <usual arugments> --oktadomain org.okta.com

安装

Ubuntu 16.04

你可以使用 Python 3 通过以下命令自动安装并运行:

root@kitploit:~
$ git clone https://github.com/ustayready/CredKing
$ cd CredKing
~/CredKing$ python3 credking.py

请注意,需要 Python 3。

欢迎提交错误报告、功能请求和补丁。

开发

你可以通过以下方式创建新插件:

root@kitploit:~
$ cd plugins
$ mkdir newplugin
$ cd newplugin
$ touch __init__.py
$ touch newplugin.py

接下来,确保在你的 newplugin.py 中包含 lambda 处理函数:

root@kitploit:~
def lambda_handler(event, context):
	return your_function(event['username'], event['password'])

CredKing 会生成一个部署 zip 文件,Lambda 函数在创建时会接收该文件。因此,CredKing 需要将依赖直接安装到 newplugin 文件夹中。你可以通过以下方式完成:

root@kitploit:~
$ pip install <pre-req> -t .

插件特定参数

无需修改 credking.py 即可指定插件特定参数,只需将其作为 --argumentname value 传递即可。

如果你的插件需要插件特定参数,可以在插件目录的 __init__.py 文件中实现一个 validate 函数,该函数会接收一个包含所有可选参数的字典。

以下是 okta 插件的 __init__.py 中使用的参数验证示例。

root@kitploit:~
def validate(args):
    if 'oktadomain' in args.keys():
        return True,None
    else:
        error = "Missing oktadomain argument, specify as --oktadomain org.okta.com"
        return False,error

okta.py 中的 lambda_handler 函数随后按如下方式访问 oktadomain 参数。

root@kitploit:~
def lambda_handler(event, context):
	domain = event['args']['oktadomain']
	return okta_authenticate(domain, event['username'], event['password'], event['useragent'])

就这样,祝使用愉快!

下载工具