/copy-as-powershell-requests

Copy as PowerShell request(s) plugin for Burp Suite

Primary LanguageJavaApache License 2.0Apache-2.0

copy-as-powershell-requests

BApp Store Language Language License

Copy as PowerShell request(s) plugin for Burp Suite

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).

Project information

Suggestions for improvement, feedback and comments will be much appreciated.

Installation

Compilation

Windows & Unix

  1. Install gradle (https://gradle.org/)
  2. Download the repository.
$ git clone https://github.com/AresS31/copy-as-powershell-requests
$ cd .\copy-as-powershell-requests\
  1. Create the standalone jar:
$ gradle fatJar

Burp Suite import

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.

Possible improvements

  • Source code optimisation.

Credits

Original inspiration by PortSwigger's copy as curl command function.

License

Copyright 2018 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.