From d8c10a0177f60c1923aaa793f32107c1324ce69b Mon Sep 17 00:00:00 2001 From: UzJu <50813806+UzJu@users.noreply.github.com> Date: Sun, 6 Mar 2022 17:04:09 +0800 Subject: [PATCH] Update aliyunOss.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新变量名 --- core/aliyunOss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/aliyunOss.py b/core/aliyunOss.py index ca95c9d..ccd7aa4 100644 --- a/core/aliyunOss.py +++ b/core/aliyunOss.py @@ -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")