PDA

View Full Version : Bug in VB ?? Restrict .exe file uploads ?


SaN-DeeP
08-25-2004, 06:46 PM
I have tried to rename a .exe file to .jpg and uploaded to my server
I am able to upload that file.

but on vb.org it doesnt works.

I want to adopt the same system, please tell me what and how to fix

Thank you.

Dean C
08-25-2004, 07:36 PM
We don't allow attachments with the extension exe here at vBulletin.org?

SaN-DeeP
08-25-2004, 08:57 PM
We don't allow attachments with the extension exe here at vBulletin.org?
Dean I did not upload the .exe file I renamed the .exe file to .jpg but still the upload was denied.

I want to have same thing on my forums.

Dean C
08-25-2004, 09:11 PM
May I ask why are trying to upload an exe file as a jpg in the first place?

SaN-DeeP
08-26-2004, 01:40 AM
May I ask why are trying to upload an exe file as a jpg in the first place?
i was testing... this on some of my other sites (non-vb related) and hit this thing,
tried the same on my board and i was able to upload a renamed .exe to .jpg file

trying same on vb.org - It did not allowed.
Hence, i wanna implement same on my vb site and would also like to know the trick behind this

:)

Zachery
08-26-2004, 04:16 AM
i was testing... this on some of my other sites (non-vb related) and hit this thing,
tried the same on my board and i was able to upload a renamed .exe to .jpg file

trying same on vb.org - It did not allowed.
Hence, i wanna implement same on my vb site and would also like to know the trick behind this

:)
Whats the error message you recive when you try it?

Xenon
08-26-2004, 06:23 AM
we are using the vb3 standart attachment system, so it may be just because of a thumbnail setting or something like.
At least i know i have not coded an exe file filter into vb.org ^^

Logikos
08-26-2004, 07:42 AM
Well i got my Apache.exe file and renamed it to Apache.gif and got this message.

Upload Errors
Apache.gif:
Not a valid image.

So if your running the latest vB then you have nothing to worry about.

Xenon
08-26-2004, 03:20 PM
So why such a angry faced icon then? ^^

Logikos
08-26-2004, 07:00 PM
Opps, im using FireFox and normal hit tab enter. In firefox it goes to the Icons. :p

SaN-DeeP
08-26-2004, 07:37 PM
Well i got my Apache.exe file and renamed it to Apache.gif and got this message.

Upload Errors
Apache.gif:
Not a valid image.

So if your running the latest vB then you have nothing to worry about.
I am using vb 3.0.3 but on renaming any .exe file to .jpg or .gif i dont get that
Not a Valid Image Error

Any Ideaz !! ?

Xenon
08-27-2004, 01:54 PM
have you enabled the thumbnails?

i assume that's the jumping point ^^

SaN-DeeP
08-28-2004, 12:41 PM
have you enabled the thumbnails?

i assume that's the jumping point ^^
yes thumbnails are enabled.

Xenon
08-28-2004, 03:18 PM
hmm, i have no idea then.

you may have to ask over at vb.com, all i can say is that i haven't hacked that section :)

AN-net
08-28-2004, 05:36 PM
maybe because the .exe isnt an image, even when replaced with a different extension? so when the server reads it finds out it isnt an image it gives you that error?

SaN-DeeP
08-29-2004, 10:25 AM
maybe because the .exe isnt an image, even when replaced with a different extension? so when the server reads it finds out it isnt an image it gives you that error?I am sure .exe file is not an image but still gets uploaded though obviously it does not generates the thumbnail

but the question was, how was the .exe file getting uploaded :S
thank You for ur time :)