Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

Hey HBH need a good guide


Mb0742's Avatar
Ultimate Headshot
0 0

Anybody got a decent tutorial on building a secure file upload page in php? (Can't do https). Namely preventing some dickhead uploading a 20 gb file etc.

Bit tough being a member on this site and setting out to do something like this following your typical online guides.

On a totally irrelevant point: is anybody else considering buying a plus membership just so they can see the site upgrade?


Mb0742's Avatar
Ultimate Headshot
0 0

thanks, that was my main concern, however what about limiting to files, null byte etc.?


spyware's Avatar
Banned
0 0

MoshBat wrote: Type of file??? Check the file name

No! Check the file header! PHP and Unix-like system have some built-in functions to do this. File uploads are tricky though, especially if you're trying to account for fringe cases and attacks.