0 votes

Hello, my name is Anas Alhouria (alhouria@campus.uni-paderborn.de).

For my grade in exercise 03 question 3 (task 2a), I got 0.5 / 5.0 as a grade even though the automated checks have given me a full mark and my code indeed works as expected. The automated checks say the following below my submission:

2025-05-12 01:11:04,351     INFO | websec_grader.hw03.task02_a:  OK  1.00 /1.00p: Submission is <1KiB (function 'check_submissionlength')
2025-05-12 01:11:04,351     INFO | websec_grader.hw03.task02_a:  OK  0.25 /0.25p: Check for correct color of body (function 'check_color_body')
2025-05-12 01:11:04,351     INFO | websec_grader.hw03.task02_a:  OK  0.50 /0.50p: Check if the attacker.html does contain only one button (function 'check_for_exactly_one_button')
2025-05-12 01:11:04,351     INFO | websec_grader.hw03.task02_a:  OK  0.25 /0.25p: Check for input type button, which is forbidden (function 'check_for_no_input_button')
2025-05-12 01:11:04,351     INFO | websec_grader.hw03.task02_a:  OK  0.25 /0.25p: Check for input type submit, which is forbidden (function 'check_for_no_input_submit')
2025-05-12 01:11:04,351     INFO | websec_grader.hw03.task02_a:  OK  0.25 /0.25p: Check for correct button text (function 'check_button_text')
2025-05-12 01:11:04,351     INFO | websec_grader.hw03.task02_a:  OK  0.25 /0.25p: Check for correct color of button (function 'check_button_color')
2025-05-12 01:11:04,351     INFO | websec_grader.hw03.task02_a:  OK  1.00 /1.00p: Check if the attacker button triggers an alert (function 'check_attacker_alert')
2025-05-12 01:11:04,351     INFO | websec_grader.hw03.task02_a:  OK  0.75 /0.75p: Check for correct iframe src property (function 'check_for_iframe_src')

Below is my full code submission:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Attacker</title>
</head>
<body style="background-color: #FFEEEE;">
    <button style="background-color: #FFEEEE; position: absolute; width:120px; height:40px; pointer-events: none;">Click Me</button>
    <iframe src="victim.html" width="115px" height="35px"></iframe>
</body>
</html>

Could you please double-check my mark for this particular question, and change it accordingly?

in ex03 by
edit history

1 Answer

0 votes
Hi,

you solved the task in a way that we did not anticipate.

I updated the grading.

Cheers
Sebastian
by (1.2k points)
edit history