Hack Forums
Need help with arbitrary file upload - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449)
+---- Forum: Website Hacking (https://hackforums.net/forumdisplay.php?fid=43)
+---- Thread: Need help with arbitrary file upload (/showthread.php?tid=6043573)



Need help with arbitrary file upload - crusader. - Jan 23, 2020

So I found this website it has an upload form, its vulnerable as well.

It allows me to Content-type: application/octet-stream and lets me successfully upload my shell.

It doesnt have any filters or anything in place.

Trouble I'm having is, trying to find the upload path.. I viewed the source, used fiddler capture the requests. Anyone please PM me or something and help. Will pay or give something for helping a friendly person out.


RE: Need help with arbitrary file upload - Charger - Jan 23, 2020

You can’t really. Check stuff like /images/ /assets/ etc.

Unless you upload a massive file (or probably 500MB) and cause PHP to throw a move file error


RE: Need help with arbitrary file upload - crusader. - Jan 23, 2020

(Jan 23, 2020 08:33 PM)Charger Wrote:  You can’t really. Check stuff like /images/ /assets/ etc.

Unless you upload a massive file (or probably 500MB) and cause PHP to throw a move file _error_

Ahhh I see, I will definitely try stuff like that. Thanks man.


RE: Need help with arbitrary file upload - OverLoad - Jan 23, 2020

i agree with " Charger " you can use Dirbuster for this kind of work also it's very helpful


RE: Need help with arbitrary file upload - crusader. - Jan 23, 2020

(Jan 23, 2020 10:09 PM)OverLoad Wrote:  i agree with " Charger " you can use Dirbuster for this kind of work also it's very helpful

I tried that, it doesn't pull any dirs