Skip to content

Commit d817c94

Browse files
authored
Merge pull request #140 from Zeeshan12340/develop
Fix bonus payload issue
2 parents 8fe7992 + e5b4780 commit d817c94

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.js

+6
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,12 @@ const juiceShopCtfCli = async () => {
104104
fetchCodeSnippets(answers.juiceShopUrl, argv.ignoreSslWarnings, answers.insertHintSnippets === options.noHintSnippets)
105105
])
106106

107+
for (const challenge of challenges) {
108+
if (challenge.name === 'Bonus Payload') {
109+
challenge.description = challenge.description.replace('https://', 'https://')
110+
}
111+
}
112+
107113
await generateCtfExport(answers.ctfFramework || options.ctfdFramework, challenges, {
108114
juiceShopUrl: answers.juiceShopUrl,
109115
insertHints: answers.insertHints,

0 commit comments

Comments
 (0)