QuestionQ129

Forensics Techniques

Question Image

Refer to the exhibit. What type of code does this snippet represent?

  • A Python script for user account management
  • B attempt to leverage a command injection vulnerability
  • C batch file for automating network tasks
  • D system administration PowerShell script
Explanation

Python uses import os and can execute operating-system commands through os.system(). The Windows net user /add command is associated with adding user accounts, so the code is a Python script for user account management.

Community Discussion

No comments yet. Be the first to start the discussion!