# Week 18 - Burp Request to Python Script

## Converting a Burp Request to Python Script

Welcome to week 18... I’m going to try to make it the whole year! If you have any interesting web hacking tips, message me and I would love to learn from you (and credit you in a post)!\
&#x20;\
I learned this week's tip from my friend and colleague [Steeven Rodríguez](https://www.linkedin.com/in/ACoAACcBVHcBfkU1VVs7cBHNZpAfspAUubaOl8I). Did you know that when using Burp Suite’s repeater, you can export a request as a curl command?\
&#x20;\
Then to make it even better, you can use CurlConverter (linked in comments) to make a Python script. So when you’re on an engagement and need to play around with a request, you can have a script up and running in no time!

![](/files/LoAMuyNQCtIe4MNiJIhg)

![](/files/va5dTiyiYZPz9q3KhZT3)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.webhackingtips.com/weekly-tips/week-18-burp-request-to-python-script.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
