Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Amulab/advul
/ functions
Functions
22 in github.com/Amulab/advul
⨍
Functions
22
◇
Types & classes
5
↓ 3 callers
Function
ntlm_info
(target_ip, method='rpc')
lib/utils.py:62
↓ 3 callers
Method
run_multi
如果没有指定域控进行攻击那么就利用dns查询所有域控ip,对这些域控进行攻击 如果指定了域控列表,就对列表内的域控进行攻击
lib/runner.py:36
↓ 2 callers
Function
check_pac
(data)
exploits/cve_2021_42287.py:183
↓ 2 callers
Function
get_pac
(target: Target, kdc=None)
exploits/cve_2021_42287.py:21
↓ 2 callers
Method
run
虚函数,实现检测逻辑
lib/runner.py:23
↓ 1 callers
Function
get_all_dcs
(target: Target)
lib/utils.py:14
↓ 1 callers
Function
has_33679
(user, domain, kdcHost)
exploits/cve_2022_33679.py:24
↓ 1 callers
Method
run
检测原理:利用一个【机器账户】的身份去域控上将自己的dnsHostName属性修改为与原来不同的值, 如果能够修改成功,表示存在CVE-2022-26923 如果返回错误码19,表示该服务器已打补丁 如
exploits/cve_2022_26923.py:26
↓ 1 callers
Method
run
(self, target_ip=None)
exploits/cve_2022_33679.py:95
↓ 1 callers
Function
target_validator
@target_validator 用于验证参数是否满足必要条件,must_specify_attrs为一个嵌套数组,该数组内允许str、 tuple两种数据类型,原数组内所有属性满足条件为且,若存在嵌套数组,则满足条件为或,如: ['domain', 'username'
lib/utils.py:30
↓ 1 callers
Function
zerologon
(target_ip, target_name, rpc_transport, auth_method, max_attempts)
exploits/cve_2020_1472.py:46
Method
__init__
cve-2022-26923漏洞检测 必要条件: 1. 一个域内存在的机器用户(非禁用状态) 2. 机器用户的密码或者hash 3. 域控ip
exploits/cve_2022_26923.py:12
Method
__init__
33679漏洞检测 必要条件: 1. 一个域内存在的用户(非禁用状态) 2. 域名 3. 域控ip python依赖:
exploits/cve_2022_33679.py:79
Method
__init__
(self, target: Target, opts)
exploits/cve_2020_1472.py:123
Method
__init__
33679漏洞检测 必要条件: 1. 一个域内存在的用户(非禁用状态) 2. 域名 3. 域控ip python依赖:
exploits/cve_2021_42287.py:202
Method
__init__
(self, target: Target, required_params=None)
lib/runner.py:13
Method
_run
(self, target_ip=None)
lib/runner.py:30
Function
add_add_argument_group
(parser: argparse.ArgumentParser)
exploits/cve_2020_1472.py:38
Method
exploit
TODO 漏洞利用逻辑实现
lib/runner.py:58
Function
multi_run
(fn, targets, max_worker=10)
lib/utils.py:55
Method
run
(self, target_ip=None)
exploits/cve_2020_1472.py:128
Method
run
(self, target_ip=None)
exploits/cve_2021_42287.py:218