Sign in to follow this  
mesvak

HOw to bypass the Error regarding to (THE size of image is bigger then .... ) Shell

Recommended Posts

Welp i tried so many methods 2 years ago 

 

[hide]

1- IF we can get the fucking site php of that specific error then we will take a look at this like this 

 

 

900x600https://i.imgur.com/OlUfsoh.png[/img]

 

AS you can see there is a type there which is image/jpeg so our shell needs to be image/jpg  and it says uploaders < 10000 

 

so it needs to be less than 10000 bytes 

 

After finding what it actually wants  we can proceed to the next checkpoint which is 

 

either making the shell the same type and size OR 

 

running the shell with the jpg file which has the same restriction 

 

will explain both if we choose the first 

 

2-we needa edit request to that website or so we open burp , zac or watever app u want to edit the fucking requests and search for

application/x-httpd-php    

 

after finding it you needa change it to 

image/jpg  

 

and then search for something like max file size or something which is  related to size of that shitty content for me is like this 

file-upload2.jpeg?w=645&h=282

 

then change it to this 10000 bytes as its shown below 

file-upload4.jpeg?w=473&h=141

 

Then u can upload ur shell without any trouble 

 

The second part is running it while it is binded  to  jpg file 

 

for jpg shell, we will use this code 

 

 SetHandler application/x-httpd-php 

https://www.upload.ee/image/9925011/shell.php.jpg

 

This is the shell for this shit copy that code in the htaccess and upload both the jpg one and htaccess 

 

then you will bypass the shit gays 

 

ENjoi

 

 

[/hide]

Share this post


Link to post
Share on other sites

thank you bro

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this