Prepare for the CompTIA PenTest+ Exam. Enhance your skills with practice questions and detailed explanations. Ace your test and advance your cybersecurity career!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


Which debugger allows the loading and modification of Python scripts during runtime?

  1. GNU Debugger (GDB)

  2. Immunity Debugger

  3. WinDbg

  4. OllyDbg

The correct answer is: Immunity Debugger

Immunity Debugger is specifically designed with advanced capabilities for debugging applications, particularly those written in Python. It allows users to load Python scripts dynamically during runtime, enabling the modification of these scripts while the application is running. This feature is crucial for developers and security professionals who need to analyze, test, or alter the behavior of the software on-the-fly. This capability makes Immunity Debugger particularly effective for penetration testing and vulnerability analysis where Python is frequently used in tools and scripts. The integration of a Python shell allows for the execution of scripts directly, facilitating interactions with the application being debugged. In contrast, the other debuggers listed may not provide the same level of support for Python or dynamic modification capabilities. For instance, while GNU Debugger (GDB) is a powerful debugger primarily for programs written in C and C++, it lacks specific enhancements for scripting languages like Python. WinDbg is a robust debugger for Windows applications, tailored more for system-level debugging rather than scripting. OllyDbg, often used for analyzing binary code and reverse engineering, does not support the dynamic loading and modification of Python scripts as part of its primary function. The unique features of Immunity Debugger that focus on scripting and runtime modification solidify its status