This extension copies the selected request(s) to the clipboard as PowerShell object assignments. Standard or Base64 formats are available, with Base64 being the best option for binary data such as file uploads. Copied data also includes the necessary command to invoke the web request(s).
Suggestions for improvement, feedback and comments will be much appreciated.
- Install and configure Gradle (https://gradle.org/) on your system.
- Download/clone this repository.
$ git clone https://github.com/AresS31/copy-as-powershell-requests
$ cd .\copy-as-powershell-requests\
- Create the standalone jar:
$ gradle fatJar
In Burp Suite, under the Extender/Options
tab, click on the Add
button and load the copy-as-powershell-requests-all
jar file located in the .\build\libs
folder.
Alternatively, you can now directly install/load this extension from the BApp Store
.
Note: The version distributed on the BApp Store
might be behind the version available on this repository.
- Source code optimisation.
If you use and like the Copy as PowerShell Request(s)
Burp's extension, please consider donating as a lot of time and efforts went into building and maintaining this project.
To do so, simply click the "Sponsor" button at the top of this page and select your preferred method of payment.
Original inspiration by PortSwigger's copy as curl command function.
Copyright 2018 - 2021 Alexandre Teyar
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.