BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA PT0-003 Exam - Topic 1 Question 40 Discussion

Posted by Kimbery on Jun 27, 2026 at 05:38 PM

A penetration tester is conducting an assessment of a web application's login page. The tester needs to determine whether there are any hidden form fields of interest. Which of the following is the most effective technique?

Suggested Answer: D

Hidden form fields in web applications can store user roles, session tokens, and security parameters that attackers may exploit.

HTML scraping (Option D):

Involves analyzing HTML source code to find hidden fields like:

<input type='hidden' name='admin_access' value='true'>

Attackers use tools like Burp Suite, ZAP, or browser developer tools (Ctrl+U or Inspect Element) to locate hidden fields.


Incorrect options:

Option A (XSS): Exploits JavaScript injection, not for finding hidden fields.

Option B (On-path attack): Involves MITM interception, not directly analyzing form fields.

Option C (SQL injection): Targets databases, not HTML forms

Get Premium PT0-003 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
30 comments · newest first
LE
Lennie 21 hours ago
True, it’s a good way to inspect the page.
ME
Melodie 6 days ago
HTML scraping is straightforward and effective.
AU
Audry 11 days ago
XSS is more about scripts, not forms.
EL
Eladia 16 days ago
On-path attack might not show hidden fields directly.
SH
Shayne 22 days ago
I agree, but SQL injection can expose data too.
WI
Wilburn 27 days ago
It reveals hidden fields easily.
GE
Georgeanna 1 month ago
Why HTML scraping?
WI
Wilburn 1 month ago
I think HTML scraping is the best choice.
TE
Tequila 1 month ago
It’s straightforward and effective.
AN
Anabel 2 months ago
I feel confident about using HTML scraping.
SH
Sharen 2 months ago
HTML scraping gives clear insights.
MO
Mollie 2 months ago
SQL injection is risky, not suitable here.
CR
Craig 2 months ago
On-path attack? Too complex for this task.
WI
Willis 2 months ago
XSS could be useful, but not for this.
CO
Coletta 2 months ago
Agreed, it reveals hidden fields easily.
MA
Marisha 3 months ago
I think HTML scraping is the best choice.
ST
Stefania 3 months ago
On-path attack seems a bit off for this scenario.
WI
Willis 3 months ago
Surprised that people still overlook HTML scraping!
BR
Brittni 3 months ago
Definitely not SQL injection for this task.
AB
Abel 3 months ago
I think XSS could also reveal some hidden data.
MA
Macy 3 months ago
HTML scraping is the way to go for hidden fields!
SH
Sherell 4 months ago
I thought HTML scraping was outdated, but it still works well!
AN
Annalee 4 months ago
Wait, are we really considering SQL injection for this? Seems off.
NO
Novella 4 months ago
On-path attacks can be effective, but not the best choice here.
VI
Viki 4 months ago
I disagree, XSS can reveal a lot too!
AM
Ammie 4 months ago
HTML scraping is definitely the way to go for hidden fields.
GE
Geoffrey 5 months ago
On-path attacks seem more about intercepting data rather than discovering hidden elements, so I’m leaning towards HTML scraping.
AN
Annabelle 5 months ago
I practiced a similar question where SQL injection was the focus, but I don't think it applies to finding hidden fields.
ER
Erin 5 months ago
I'm not really sure, but I remember something about XSS being related to input fields. Could that be relevant here?
VA
Vashti 5 months ago
I think HTML scraping might be the right choice since it involves analyzing the page structure for hidden fields.
0/2000 characters

Save Cancel