Ask Your Question
0

How could I potentially export the actual binary file from a POST request?

asked 2021-04-07 20:47:05 +0000

100p3rc3nt gravatar image

updated 2021-04-07 20:47:40 +0000

I have a suspicious POST request of a file upload sent to a server, and I would like to actually check what is that specific file. How can I do that? (content type is multipart/form-data (in the actual request it's application/octet-stream))

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-04-07 22:52:44 +0000

SYN-bit gravatar image

There are several ways. The first way, as @grahamb pointed out, is to export the http object. But this will result in the multipart object that you would have to post-process yourself to get the binary object out.

Another way is to use the export packet bytes option. In the POST request, expand the MIME object in the details pane. Then expand the part that contains the binary file. The line just below the Content-Type header will contain your object. Right-click on it and choose for export packet bytes.

edit flag offensive delete link more
0

answered 2021-04-07 21:55:18 +0000

grahamb gravatar image

updated 2021-04-07 21:56:10 +0000

I'm not entirely sure your file will show up here, but you can try from the menu, File -> Export Objects -> HTTP ... and then select the object. More info in the User Guide here.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2021-04-07 20:47:05 +0000

Seen: 2,052 times

Last updated: Apr 07 '21