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…
Reference in New Issue