Home / Expert Answers / Computer Science / consider-the-following-code-defhello-ssti-player-39-title-39-34-world-34-39-secret-39-39-jo5gmvlligc-pa579

(Solved): Consider the following code:defhello_ssti():player = {'title':"world", 'secret': 'jo5gmvlligcZ5YZGen ...



Consider the following code:defhello_ssti():player = {'title':"world", 'secret': 'jo5gmvlligcZ5YZGenWnGcol8JnwhWZd2lJZYo=='}if request.args.get('title'):player['title'] = request.args.get('title')template = '

Hi %s!

' % player['title']return render_template_string(template, player=player)Does the given code has any security issue?This type of question contains radio buttons and checkboxes for selection of options. Use Tab for navigation and Enter or space to select the option.optionAYes, the code is prone to XSS attack.optionBNo, the code is secure.optionCYes, the code is prone to SSTI attack.optionDYes, the code is prone to DDoS attack.


We have an Answer from Expert

View Expert Answer

Expert Answer


We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe