Skip to content

Commit

Permalink
Do not discard "newlines" on forged request body
Browse files Browse the repository at this point in the history
This fixes #11
  • Loading branch information
somewhereinthepacific committed Jun 15, 2020
1 parent 7878fee commit 9469ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hostscan-bypass.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ plat="<PLAT>"
useragent="<USERAGENT>"
token=$CSD_TOKEN
run_curl --data-ascii @- "$host/+CSCOE+/sdesktop/scan.xml?reusebrowser=1" <<-END
run_curl --data-binary @- "$host/+CSCOE+/sdesktop/scan.xml?reusebrowser=1" <<-END
<ENDPOINT>
END
Expand Down

0 comments on commit 9469ff3

Please sign in to comment.