← All hands-on practice
Ethical hacking · 10 min
Read the automation script
A teammate wrote a Python script to check the client's admin pages for vendor default logins. Read it before anyone runs it.
Start it: free, in your browser, no account
What you will do
- Which language is this, and what gives it away?
- One target is out of scope. Which address?
- How does the script decide that a login worked?
- Why is there a time.sleep(DELAY) inside the loop?
- After you remove the out-of-scope target, how many login attempts will it make, and how long will it take?
- The test laptop is Windows with no Python. Which language would you rewrite it in, to use what's already there?
Exam objectives it practises
- CompTIA A+ Core 2 4.8 Scripting basics
- CompTIA PenTest+ 4.10 Scripting to automate attacks
Short and simplified. Real tools also handle sign-in tokens, errors and logging; the reading skills are the same.