This extension provides stubs and IntelliSense support for the OctoPwn framework, along with the ability to run OctoPwn plugins directly from VSCode.
- Type hints and code completion for OctoPwn APIs
- Improved developer experience when creating plugins for OctoPwn
- Run OctoPwn plugins directly from VSCode
- Configure OctoPwn binary, license, and extra files paths
- Visual Studio Code 1.60.0 or newer
- Python extension for VSCode
- OctoPwn binary installed on your system
This extension contributes the following settings:
octopwn.enableStubs: Enable/disable OctoPwn stubs for better code completionoctopwn.binaryPath: Path to the OctoPwn binaryoctopwn.licensePath: Path to the OctoPwn license fileoctopwn.extraFilesPath: Path to additional files needed by OctoPwn
- After installing the extension, the OctoPwn stubs will be automatically added to your Python analysis paths.
- Configure the OctoPwn binary path in the settings.
- Optionally configure the license file path and extra files path.
To run an OctoPwn plugin:
- Right-click on a Python file in the explorer or editor
- Select "OctoPwn: Run Plugin" from the context menu
- The plugin will be executed with the configured OctoPwn binary
- Output will be displayed in the "OctoPwn" output channel
You can also run the command "OctoPwn: Run Plugin" from the command palette (Ctrl+Shift+P).
To manually configure the stubs, run the command:
OctoPwn: Configure Python Stubs