I hope you have completed this task. Anyway, I will give you some tips to complete this task.
Steps:
-
Identify the blacklisted extension; the section itself provides a wordlist; feel free to use any of them.
-
Identify the allowed extension and save the result for your location.
-
Upload the script to any one of the allowed extensions, visit that location, and execute it. Since it does not display anything, we have to find which one executes on the server.
-
Capture the request and send it to the intruder; choose the allowed extension wordlist that you have saved.
-
cmd=id: check which extension has executed on the response.