ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 269 - PT0-002 discussion

Report
Export

For a penetration test engagement, a security engineer decides to impersonate the IT help desk. The security engineer sends a phishing email containing an urgent request for users to change their passwords and a link to https://example.com/index.html. The engineer has designed the attack so that once the users enter the credentials, the index.html page takes the credentials and then forwards them to another server that the security engineer is controlling. Given the following information:

Which of the following lines of code should the security engineer add to make the attack successful?

A.
window.location.= 'https://evilcorp.com'
Answers
A.
window.location.= 'https://evilcorp.com'
B.
crossDomain: true
Answers
B.
crossDomain: true
C.
geturlparameter ('username')
Answers
C.
geturlparameter ('username')
D.
redirectUrl = 'https://example.com'
Answers
D.
redirectUrl = 'https://example.com'
Suggested answer: B
asked 02/10/2024
sergio sombrero
34 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first