In Burp Suite's Intruder, what is a payload position, and what happens to the marked text when an attack runs?
answer
- a marked spot in the base request
- paired section-sign markers
- markers are visual, never sent
- text between them is replaced per request
basics
~20 sA payload position is a spot in Intruder's base request, wrapped in § markers, where a payload is substituted on each send. The markers and the text between them are replaced; the § is only a visual aid.
solid answer
~40 sIntruder sends one base request many times, and a **payload position** says what varies. You wrap a region of the request (path, query, header, cookie or body value) in a pair of `§` markers. On each request Burp replaces **both the markers and the enclosed text** with the next payload. The `§` is purely visual, so a literal `§` you type into a request defines no position, and positions cannot overlap. If a position has no payload assigned, its original text stays and only the markers are removed. Before starting, check the target shown in the tab: the written scope, not the template, says what you may send to.
go deeper
Recall that a position is a marked place in the base request, shown with paired § markers, and that the marked text is replaced on every send.
Explain how positions are created (Send to Intruder, Add §, Auto §), that they cannot overlap, and that the attack type, positions and payload type are fixed once results are open.
Show the habit of reading the target line and the position list against the written scope before starting, and of recording them so the owner can match them to the access log.
Frame positions as the first control on an automated run's footprint: the assessment standard should require the position list and request budget to be written into the test plan.
## What Intruder is for Burp Intruder is the part of Burp Suite that sends **one base request many times**, putting a different value into marked places on each send. In an authorised assessment it is used to step through a bounded set of values against a system the assessor has written permission to test, for example the item IDs of a staging web shop or a range of report numbers in a test tenant. What decides which part of the request varies is the **payload position**. ## What a position is - A **payload position** is a region of the request template (URL path, query string, header, cookie or body) enclosed by a pair of `§` payload markers and highlighted in the editor. - The `§` character is purely visual. A literal `§` that happens to be in your request does not define a position, and the markers are not sent to the target. - During the attack **both the markers and the enclosed text** are replaced by the payload for that request. - If a position has no payload assigned for a request, the enclosed text is left unchanged and only the markers are removed. In a Sniper run, for instance, the positions that are not currently being varied keep their original values. - Positions cannot overlap. ## Creating and editing positions - **Send to Intruder** on a highlighted value in any Burp message editor creates a new attack tab with that value marked as a single position. - **Add §** places a pair of markers at the cursor, or either side of the selected text. - **Clear §** removes all markers, or only those inside the selected text. - **Auto §** inserts positions automatically. A setting on the Intruder page of the Settings dialog decides whether automatic markers replace or append to the base parameter value. If you select text first, Auto § works only inside the selection, which helps with structured data such as a JSON value inside a body. - A hotkey can be assigned to add or clear positions. You can change the positions only before the attack starts. Once the results window is open the positions, the attack type and the payload type are fixed; changing them means starting a new attack from the original tab. ## The target and the Host header Each Intruder tab carries target details beside the request. By default **Update Host header to match target** is selected, so if you change the target the `Host` header in the base request follows it; deselecting the option changes the target only. An assessor should read the target line in the tab before pressing Start attack, because the tab decides where the requests go. The sources checked do not describe Intruder refusing an out-of-scope target on its own, so the signed scope and your own check are the control. ## Reusing positions The positions you define can also be reused as insertion points for Burp's scanner through the top-level Intruder menu. That belongs to the scanner's own topic; here it is enough to know that a position is a general statement of where a value goes, not an Intruder-only idea. ## Common misreadings 1. Treating the `§` as part of the request. It is an editor aid and is gone by the time the request is sent. 2. Assuming an unassigned position is blanked. Its text is kept. 3. Assuming one position equals one parameter. A position is any region you mark, and one parameter value can be split or two values can share a request in separate positions. 4. Assuming positions can be edited from the results window. The structure of the attack is set in the original tab. ## Why the defender and the owner care Every position multiplies into requests (the attack-type rules decide how many). The owner of the system wants to know which values were varied, against which endpoint, how many requests that makes and when. A position list kept with the test notes answers all four, and it is the first thing to compare with the owner's access log after a run.
- Which Intruder button would you use to mark one highlighted value from the proxy history, and which marks several automatically?Highlighting a value in any Burp message editor and choosing Send to Intruder opens a new attack tab with that value as a single position. Auto § marks positions automatically, replacing or appending to the base value according to the Intruder settings, and works inside a selection if you made one.
- Why can you not simply add a second position from the results window mid-run?The attack type, the payload positions and the payload type are the structure of the attack, so the results window locks them. Everything else, such as most settings and the resource pool, can be adjusted there, ideally with the attack paused; a structural change means a new attack from the original tab.
- Says the § characters are sent to the server inside the request
- Believes an unassigned position is blanked out rather than left unchanged
- Thinks every Intruder position must correspond to a whole parameter
- Assumes Intruder refuses out-of-scope targets by itself, so checks nothing
- Expects to add positions from the results window while the attack runs