phillips321 Posted October 11, 2007 Share Posted October 11, 2007 Hi guys, my website is in alpha still, if possbile would you guys be able to test it. upload any image etc... basically try to break it so that i can optimise and secure the code. many thanks http://www.forumpix.co.uk Link to comment https://forums.phpfreaks.com/topic/72804-forumpixcouk-test-please-picture-upload-facility/ Share on other sites More sharing options...
agentsteal Posted October 11, 2007 Share Posted October 11, 2007 Log: http://forumpix.getmyip.com/log.txt User Enumeration: http://forumpix.getmyip.com/~nobody Link to comment https://forums.phpfreaks.com/topic/72804-forumpixcouk-test-please-picture-upload-facility/#findComment-367483 Share on other sites More sharing options...
phillips321 Posted October 11, 2007 Author Share Posted October 11, 2007 any idea how i make the log.txt unreadable for web browsers but ok for the php script to read/write? Link to comment https://forums.phpfreaks.com/topic/72804-forumpixcouk-test-please-picture-upload-facility/#findComment-367500 Share on other sites More sharing options...
phillips321 Posted October 12, 2007 Author Share Posted October 12, 2007 hi agentsteal, im not too sure what you mean by user enumeration, when i browse to http://forumpix.getmyip.com/~nobody it says 404 Not Found What will i need to do to fix this Link to comment https://forums.phpfreaks.com/topic/72804-forumpixcouk-test-please-picture-upload-facility/#findComment-367515 Share on other sites More sharing options...
php_tom Posted October 12, 2007 Share Posted October 12, 2007 If you upload a file that ends in an image extension (.jpg, .gif, etc.) but isn't actually a valid image file, it spits errors: Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: '/tmp/phpqm7nzp' is not a valid JPEG file in /media/data/forumpix.co.uk/index.php on line 68 Warning: imagesx(): supplied argument is not a valid Image resource in /media/data/forumpix.co.uk/index.php on line 84 Warning: imagesy(): supplied argument is not a valid Image resource in /media/data/forumpix.co.uk/index.php on line 85 Warning: imagealphablending(): supplied argument is not a valid Image resource in /media/data/forumpix.co.uk/index.php on line 105 Warning: imagecopy(): supplied argument is not a valid Image resource in /media/data/forumpix.co.uk/index.php on line 110 Warning: imagejpeg(): supplied argument is not a valid Image resource in /media/data/forumpix.co.uk/index.php on line 122 Unable to write a new JPEG. Contact the administrator. Warning: imagedestroy(): supplied argument is not a valid Image resource in /media/data/forumpix.co.uk/index.php on line 137 Link to comment https://forums.phpfreaks.com/topic/72804-forumpixcouk-test-please-picture-upload-facility/#findComment-367576 Share on other sites More sharing options...
Recommended Posts