mirror of
https://github.com/UzJu/Cloud-Bucket-Leak-Detection-Tools.git
synced 2025-11-05 10:44:04 +00:00
Update aliyunOss.py
更新变量名
This commit is contained in:
parent
1664e0c259
commit
d8c10a0177
@ -43,7 +43,7 @@ class OssBucketExploitFromSDK:
|
||||
def __init__(self, target, location):
|
||||
self.target = target
|
||||
self.location = location
|
||||
auth = oss2.Auth(conf.AK, conf.SECRET)
|
||||
auth = oss2.Auth(conf.AliyunAccessKey_ID, conf.AliyunAccessKey_Secret)
|
||||
self.bucket = oss2.Bucket(auth, f'http://{location}.aliyuncs.com', self.target)
|
||||
self.logger = logging.getLogger("mainModule.AliyunOss.Exploit.module")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user