pierre Posted July 25, 2016 Share Posted July 25, 2016 Hello, I achieve uploading a PHP file to a webserver by modifying his Content-Type header but I fail to bypass the filesize limitation.. I try to modify the Content-Length header but no result.. Here is the server size limitation coding : // File information $uploaded_name = $_FILES[ 'uploaded' ][ 'name' ]; $uploaded_type = $_FILES[ 'uploaded' ][ 'type' ]; $uploaded_size = $_FILES[ 'uploaded' ][ 'size' ]; // Is it an image? if( ( $uploaded_type == "image/jpeg" || $uploaded_type == "image/png" ) && ( $uploaded_size < 100000 ) ) {} Here is a BURP screen : I hope I've been well-understand :) Thanks for your answers ! Quote Link to comment Share on other sites More sharing options...
digininja Posted July 25, 2016 Share Posted July 25, 2016 That value is set server side and you can't modify it. Quote Link to comment Share on other sites More sharing options...
pierre Posted July 26, 2016 Author Share Posted July 26, 2016 (edited) Tks, sound obvious :) Edited July 26, 2016 by tot94 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.