Exploit free cms

Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    Keep your head up. FlyHotel is offline
    MemberRank
    Apr 2011 Join Date
    The NetherlandsLocation
    570Posts

    Exploit free cms

    Hey Guy's,

    I got a really nice cms but it has exploit people keep hacking me.
    Would someone make this cms exploit free?
    It is based on HomePremiumCms

    Cms Download; https://mega.co.nz/#!rJlySRgB!cbMqnH...5xH3DU7SrYU6dE
    db; https://mega.co.nz/#!eY0jlSDb!ctJ0gn...Vk7YHv6sa5-U0g


    Screens;
    Me.php


    Me.php (2)


    Articles.php


    Vip Badges shop


    I hope someone can find the exploit and will remove them.

    Thanks,

    FlyHotel


  2. #2
    Developer PremiumEye is offline
    MemberRank
    Nov 2011 Join Date
    NetherlandsLocation
    550Posts

    Re: Exploit free cms

    Hey, because I'm the original maker of this cms I can help you as the best :).
    First. I wouldn't recommend you this cms because even I hate it. But I'm not you.
    You can go to the global.php and add this code somewhere at the bottom:

    PHP Code:
    foreach($_POST as $var => $value){ 
        if(
    $_POST[$var] = $core->EscapeString($value)){ 
            
    $_POST[$var] = $value
        }elseif(
    $_POST[$var] = $value){ 
            
    $_POST[$var] = $core->EscapeString($value); 
        } 

    This code is checking if there is an escapestring around every $_POST.
    If there is an escapestring around it, it does nothing.
    If there isn't an escapestring around it, it's adding this.

    You can do the same with $_GET. Add the same code and replace every $_POST in this code to $_GET.

    (I made this code quickly as example)

    But this is only fixing the mysql_real_escape_sting() problem.

  3. #3
    Keep your head up. FlyHotel is offline
    MemberRank
    Apr 2011 Join Date
    The NetherlandsLocation
    570Posts

    Re: Exploit free cms

    Quote Originally Posted by PremiumEye View Post
    Hey, because I'm the original maker of this cms I can help you as the best :).
    First. I wouldn't recommend you this cms because even I hate it. But I'm not you.
    You can go to the global.php and add this code somewhere at the bottom:

    PHP Code:
    foreach($_POST as $var => $value){ 
        if(
    $_POST[$var] = $core->EscapeString($value)){ 
            
    $_POST[$var] = $value
        }elseif(
    $_POST[$var] = $value){ 
            
    $_POST[$var] = $core->EscapeString($value); 
        } 

    This code is checking if there is an escapestring around every $_POST.
    If there is an escapestring around it, it does nothing.
    If there isn't an escapestring around it, it's adding this.

    You can do the same with $_GET. Add the same code and replace every $_POST in this code to $_GET.

    (I made this code quickly as example)

    But this is only fixing the mysql_real_escape_sting() problem.
    Thank you,
    I hope this would help, it's a very nice cms but some guys keep hacking me. They can rank their self and delete things from the database.
    And i still want to use this cms because i like it ;p

  4. #4
    Account Upgraded | Title Enabled! r63 is offline
    MemberRank
    Jan 2012 Join Date
    apt-get GPSLocation
    430Posts

    Re: Exploit free cms

    Learn to code, problem solved.

  5. #5
    Keep your head up. FlyHotel is offline
    MemberRank
    Apr 2011 Join Date
    The NetherlandsLocation
    570Posts

    Re: Exploit free cms

    Quote Originally Posted by r63 View Post
    Learn to code, problem solved.
    I'm still learning ;)

  6. #6
    Banned V for Vendetta is offline
    BannedRank
    Feb 2007 Join Date
    1,809Posts

    Re: Exploit free cms

    Does this include exploit(s) And if so can someone share the code so it can be removed.

  7. #7
    Account Upgraded | Title Enabled! r63 is offline
    MemberRank
    Jan 2012 Join Date
    apt-get GPSLocation
    430Posts

    Re: Exploit free cms

    Quote Originally Posted by FlyHotel View Post
    I'm still learning ;)
    Securing code against SQL injection should be one of the first things you should learn. Try youtube phpAcademy, they have some incredibly good tutorials.

  8. #8
    Keep your head up. FlyHotel is offline
    MemberRank
    Apr 2011 Join Date
    The NetherlandsLocation
    570Posts

    Re: Exploit free cms

    Quote Originally Posted by Silver060 View Post
    Does this include exploit(s) And if so can someone share the code so it can be removed.
    I can't find any exploits..

  9. #9
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,607Posts

    Re: Exploit free cms

    Could you upload it without SWFs and c_images? I'll look for exploits for you :)

  10. #10
    Developer PremiumEye is offline
    MemberRank
    Nov 2011 Join Date
    NetherlandsLocation
    550Posts

    Re: Exploit free cms

    Quote Originally Posted by FlyHotel View Post
    I can't find any exploits..
    That shouldn't be that hard or a php starter? The most popular of them all is the SQL Injection. (XSS)
    Just look everywhere if there's a mysql_real_escape_string() around it. Not that hard?
    With my little code you don't have to look everywhere. The code is doing it or you.

  11. #11
    Keep your head up. FlyHotel is offline
    MemberRank
    Apr 2011 Join Date
    The NetherlandsLocation
    570Posts

    Re: Exploit free cms

    Quote Originally Posted by tdid View Post
    Could you upload it without SWFs and c_images? I'll look for exploits for you :)
    Thank you :D The cms is uploading without SWFs and c_images, i will post the download link here when its done.

    EDIT:

    Upload is done without SWFs and c_images. Downloadlink; https://mega.co.nz/#!OY4DnLYa!TbydMR...6UPIARzUmI_a64

    I hope you can find the exploits for me, really thank you that you do this for me.
    Last edited by FlyHotel; 05-02-13 at 08:17 AM.

  12. #12
    Account Upgraded | Title Enabled! r63 is offline
    MemberRank
    Jan 2012 Join Date
    apt-get GPSLocation
    430Posts

    Re: Exploit free cms

    Quote Originally Posted by PremiumEye View Post
    That shouldn't be that hard or a php starter? The most popular of them all is the SQL Injection. (XSS)
    Just look everywhere if there's a mysql_real_escape_string() around it. Not that hard?
    With my little code you don't have to look everywhere. The code is doing it or you.
    SQL and XSS are two different things. Using Mysql real escape string doesn't fully protect you against code injection either. You also need to remove all html tags using strip-tags.

  13. #13
    Keep your head up. FlyHotel is offline
    MemberRank
    Apr 2011 Join Date
    The NetherlandsLocation
    570Posts

    Re: Exploit free cms

    Quote Originally Posted by r63 View Post
    SQL and XSS are two different things. Using Mysql real escape string doesn't fully protect you against code injection either. You also need to remove all html tags using strip-tags.
    You mean these html tags? </html>
    Mysql string; $dpoints1 = mysql_real_escape_string(substr(floor($_POST['dpoints']),0,30)); ?

    What can i do with that?

  14. #14
    Developer Quackster is online now
    DeveloperRank
    Dec 2010 Join Date
    AustraliaLocation
    3,474Posts

    Re: Exploit free cms

    Quote Originally Posted by PremiumEye View Post
    That shouldn't be that hard or a php starter? The most popular of them all is the SQL Injection. (XSS)
    Just look everywhere if there's a mysql_real_escape_string() around it. Not that hard?
    With my little code you don't have to look everywhere. The code is doing it or you.
    XSS isn't an SQL injection

    It means

    Code:
    cross site scripting

  15. #15
    Account Upgraded | Title Enabled! r63 is offline
    MemberRank
    Jan 2012 Join Date
    apt-get GPSLocation
    430Posts

    Re: Exploit free cms

    Quote Originally Posted by FlyHotel View Post
    You mean these html tags? </html>
    Mysql string; $dpoints1 = mysql_real_escape_string(substr(floor($_POST['dpoints']),0,30)); ?

    What can i do with that?
    I could fuck your site up using JavaScript if you don't clear HTML tags, if you don't know what HTML tags are I suggest you start learning.



Page 1 of 2 12 LastLast

Advertisement