Merge pull request #207 from victoni/master

Adding the solution of Magic Bytes in the Unrestricted File Upload section
This commit is contained in:
Swissky 2020-05-14 12:13:52 +02:00 committed by GitHub
commit 81655945f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,9 @@ Coldfusion: .cfm, .cfml, .cfc, .dbm
* `Content-Type : image/gif` * `Content-Type : image/gif`
* `Content-Type : image/png` * `Content-Type : image/png`
* `Content-Type : image/jpeg` * `Content-Type : image/jpeg`
- [Magic Bytes](https://en.wikipedia.org/wiki/List_of_file_signatures)
Sometimes applications identify file types based on their first signature bytes. Adding/replacing them in a file might trick the application.
### Picture upload with LFI ### Picture upload with LFI