Avatar Thumb.Php

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Avatar Thumb.Php

    Can someone modify this uloki avatar coded by froztymarvelous. The upload section is in usercp.php the file path where avatar image lies in avatars folder and the thumb.php + palette.jpg is also in avatars folder. I just want to seperate the thumb.php. I want it outside the avatars folder but always got error. Anybody wanna help?

    Download: Click Here

    #2
    That's why I left it in the avatars folder. Of I remember correctly, I had a problem trying to save to a different dir so I just left it in the same dir. Its been almost a year so I can't really remember.
    Try this solution instead of blocking all php extensions in the dir.. I know for sure it will prevent executing a php file in that dir directly, but I don't know about an remote call.

    Upload to the avatar folder and try an avatar upload.
    Perfection comes at a cost



    I accept liberty!

    Comment


      #3
      You can't remodify it frozty? As i tried to secured my forum all the files in avatars folder exept images ang disabled or unexecuted even if a php was uploaded it cant be use. Is there any solution for that?

      Comment


        #4
        file

        The file you should upload.
        Attached Files
        Perfection comes at a cost



        I accept liberty!

        Comment


          #5
          Ok wait dude, i'll check.

          Comment


            #6
            Originally posted by Jervy View Post
            You can't remodify it frozty? As i tried to secured my forum all the files in avatars folder exept images ang disabled or unexecuted even if a php was uploaded it cant be use. Is there any solution for that?

            Thing is, a php can't be uploaded.
            It uses gd functions, and thus makes sure the file is an image. It then makes a thumbnail of the pic and saved that not the original. Zero chance of php upload or even pics with php hidden in them. The script created the image, not the user. So all in all, you are safe.
            Perfection comes at a cost



            I accept liberty!

            Comment


              #7
              @frosty i let you handle my cpanel right? Havent you check my avatars folder? There's a hack.php uploaded and a sub dir created, and the m0st tricky thing is my .htaccess was replaced by Huwad (hacker). And when i check my attachments folder there's also a php file which is n0t renamed by md5. I w0nder how it happens thats why im over securing my folders.

              Added after 2 minutes:

              And also I encounter this thing. After hacking i tried to rem0ve the php file in avatars folder but the server says i dont have permissi0n! Wtf! I d0nt have permissi0n in my own server! How could it be?

              Added after 3 minutes:

              If its impossible to upload a php file in the avatars folder as you said then how come huwad was able to upload a php file in it and even create a sub dir? And the permission was stolen,and the htaccess was edited.Hmmm...You d0n't believe me right? But it's true. I've been hacked 32x already.Before Huwad came there's Xploder who c0mes 1st.
              Last edited by Jervy; 03.12.10, 20:38.

              Comment


                #8
                Originally posted by Jervy View Post
                @frosty i let you handle my cpanel right? Havent you check my avatars folder? There's a hack.php uploaded and a sub dir created, and the m0st tricky thing is my .htaccess was replaced by Huwad (hacker). And when i check my attachments folder there's also a php file which is n0t renamed by md5. I w0nder how it happens thats why im over securing my folders.

                Added after 2 minutes:

                And also I encounter this thing. After hacking i tried to rem0ve the php file in avatars folder but the server says i dont have permissi0n! Wtf! I d0nt have permissi0n in my own server! How could it be?

                Added after 3 minutes:

                If its impossible to upload a php file in the avatars folder as you said then how come huwad was able to upload a php file in it and even create a sub dir? And the permission was stolen,and the htaccess was edited.Hmmm...You d0n't believe me right? But it's true. I've been hacked 32x already.Before Huwad came there's Xploder who c0mes 1st.
                It definitely was not through that script. Have u checked ur other uploaders?
                Maybe shell hacking or something.
                Perfection comes at a cost



                I accept liberty!

                Comment


                  #9
                  My only folder which is chmod to 777 is the "avatars" and "attachments". Is it possible to inject a shell in a folder which is chmod to 755?

                  Comment


                    #10
                    i posted on wap landz a tutorial about thumb you can try that script

                    Comment


                      #11
                      it is possible technically, depends on how your hosting is configured though...
                      C3 Themes: http://c3themes.wen.ru/index.html
                      Find Files: http://mystarter.tk/?goto=X-search

                      Comment


                        #12
                        Once again! NEVER EVER CHMOD 777. If 755 won't work, just notch it up a bit. But never 777.
                        Perfection comes at a cost



                        I accept liberty!

                        Comment


                          #13
                          But chmod 755 or 775 cant be use for uploading files, only 777.

                          Comment


                            #14
                            Y are people s0 wicked.

                            @Jervy u mean till n0w u stil cant delete the file?

                            Comment


                              #15
                              Already deleted.

                              Comment

                              Working...
                              X