Professional Community

Magic Byte Selector

Burp Suite Extension for inserting a magic byte into a request.

Some web applications use a security feature for their file upload checks which validates the first bytes of the sent data. This is also known as Magic Byte, and allows for the identification of the file type.

Now lets say you try to upload <?php echo 'test'?> the web application will throw an error saying that it wont accept the file.

However if you make it GIF87a <?php echo 'test'?> in some cases the web application will think its a GIF and will allow the file to be uploaded!

This extension will allow you to insert these Magic Bytes straight from burp suite into your request.

Available magic bytes

  • JPG
  • PNG
  • JPEG
  • GIF89a
  • GIF87a

Author

Author

WebSec B.V.

Version

Version

1.0

Rating

Rating

Popularity

Popularity

Last updated

Last updated

22 September 2023

Estimated system impact

Estimated system impact

Overall impact: Low

Memory
Low
CPU
Low
General
Low
Scanner
Low

You can install BApps directly within Burp, via the BApp Store feature in the Burp Extender tool. You can also download them from here, for offline installation into Burp.

You can view the source code for all BApp Store extensions on our GitHub page.

Follow @BApp_Store on Twitter to receive notifications of all BApp releases and updates.

Please note that extensions are written by third party users of Burp, and PortSwigger Web Security makes no warranty about their quality or usefulness for any particular purpose.

Go back to BappStore

Note:

Please note that extensions are written by third party users of Burp, and PortSwigger Web Security makes no warranty about their quality or usefulness for any particular purpose.