mirror of
https://github.com/cderche/greenlock-storage-s3
synced 2025-02-22 06:08:04 +00:00
Fix Generic Object Injection Sink
This commit is contained in:
parent
c11aca651d
commit
8391d11d49
2
clean.js
2
clean.js
@ -30,7 +30,7 @@ s3.listObjects({ Bucket: bucketName }).promise().then((data) => {
|
|||||||
|
|
||||||
for (let i = 0; i < data.Contents.length; i++) {
|
for (let i = 0; i < data.Contents.length; i++) {
|
||||||
objectKeys.push({
|
objectKeys.push({
|
||||||
Key: data.Contents[i].Key
|
Key: data.Contents[parseInt(i)].Key
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user