XSS Protection

Results 1 to 15 of 15
  1. #1
    IT-Developer djboetz is offline
    MemberRank
    Aug 2010 Join Date
    SwedenLocation
    210Posts

    ! XSS Protection

    Hello,
    I have worked with some XSS security because I think it is very important that you have XSS protection on your website.

    Url for the codes: [HTML] djboetz - XSS Protection - Pastebin.com

    Setup Guide for uberCMS:
    1. Create xss.php in your www/htdocs folder.
    2. Put the codes in xss.php between <?php CODES HERE ?>
    3. Open every .php file in www/htdocs foder. (NOTE: NOT IN INC FOLDERS AND OTHERS)
    4. Search for require_once "global.php";
    4. If you find it. Add under that, this code: require_once "xss.php";
    5. Well done, You are secure against XSS Attacks/Exploits 99%.

    Please, Like the release if you want more releases from me.
    Last edited by djboetz; 15-03-12 at 05:55 PM.


  2. #2
    Alpha Member Glee is offline
    MemberRank
    Jun 2009 Join Date
    Niagara Falls,Location
    2,225Posts

    Re: XSS Protection

    Awesome Thanks :)

  3. #3
    IT-Developer djboetz is offline
    MemberRank
    Aug 2010 Join Date
    SwedenLocation
    210Posts

    information Re: XSS Protection

    Quote Originally Posted by GayPride View Post
    Awesome Thanks :)
    No problem, Always here.

  4. #4
    Chasing 99 Red Balloons Jordan is offline
    MemberRank
    Jan 2008 Join Date
    UKLocation
    1,763Posts

    Re: XSS Protection

    Just throwing that class in will do nothing, it will never get called.

  5. #5
    IT-Developer djboetz is offline
    MemberRank
    Aug 2010 Join Date
    SwedenLocation
    210Posts

    Re: XSS Protection

    Well done, Thread edited.
    Edits:
    It will call the codes to all pages if you follow the guide.

  6. #6
    [̲̅$̲̅(̲̅1̲̅)̲̅$ ̲̅] leenster is offline
    MemberRank
    May 2008 Join Date
    KanaadaLocation
    992Posts

    Re: XSS Protection

    This will still do absolutely nothing. When you post a security fix you should really have tested it because some people will just come here then use it and think that they are all secure.
    Last edited by leenster; 15-03-12 at 06:48 PM.

  7. #7
    IT-Developer djboetz is offline
    MemberRank
    Aug 2010 Join Date
    SwedenLocation
    210Posts

    information Re: XSS Protection

    Quote Originally Posted by leenster View Post
    This will still do absolutely nothing. When you post a security fix you should really have tested it because some people will just come here then use it and think that they are all secure.
    It will. If you think not, Could you tell me how i can make it working then?

  8. #8
    Live Ocottish Sverlord Joopie is online now
    LegendRank
    Jun 2010 Join Date
    The NetherlandsLocation
    2,767Posts

    Re: XSS Protection

    Quote Originally Posted by djboetz View Post
    It will. If you think not, Could you tell me how i can make it working then?
    Then why are you releasing things when you don't even made/know how to set it up

  9. #9
    [̲̅$̲̅(̲̅1̲̅)̲̅$ ̲̅] leenster is offline
    MemberRank
    May 2008 Join Date
    KanaadaLocation
    992Posts

    Re: XSS Protection

    I haven't worked with uber for a long time but check your global to see how classes are included. And I also haven't looked at the class too much (I'm on my phone) but then one of the functions need to be called for it to do anything.

    I'm sure someone here will help you but if not then I will take a good look when I get home.
    Posted via Mobile Device
    Last edited by leenster; 16-03-12 at 01:27 AM.

  10. #10
    Enthusiast Burak77 is offline
    MemberRank
    Dec 2011 Join Date
    FranceLocation
    34Posts

    Re: XSS Protection

    useless, htmlspecialchars() and htmlentities().

  11. #11
    IT-Developer djboetz is offline
    MemberRank
    Aug 2010 Join Date
    SwedenLocation
    210Posts

    information Re: XSS Protection

    Quote Originally Posted by joopie View Post
    Then why are you releasing things when you don't even made/know how to set it up
    Can you read " If you think "? and i have coded this. There is nothing that can stop me when it is about coding. " Djboetz = God ".

    Quote Originally Posted by leenster View Post
    I haven't worked with uber for a long time but check your global to see how classes are included. And I also haven't looked at the class too much (I'm on my phone) but the one of the functions need to be called for it to do anything.

    I'm sure someone here will help you but if not then I will take a good look when I get home.
    Posted via Mobile Device
    I will done it, Dont worry. A new edit of this release will be made tomorrow.
    Thank you for your suggestion.

    Quote Originally Posted by Burak77 View Post
    useless, htmlspecialchars() and htmlentities().
    It's not useless. It's about security, If you know what it is?

  12. #12
    The one and only! Hejula is offline
    MemberRank
    Nov 2008 Join Date
    4,128Posts

    Re: XSS Protection

    Quote Originally Posted by djboetz View Post
    It's not useless. It's about security, If you know what it is?
    Is useless, like he said htmlspecialchars() and htmlentities() convert things like <, >, ", ', to their ASCII values, thus disabling the XSS exploit shit.

  13. #13
    Apprentice Predator359 is offline
    MemberRank
    Feb 2012 Join Date
    24Posts

    Re: XSS Protection

    Hum not bad ^-^"
    I will take this for my CMS ^^

  14. #14
    IT-Developer djboetz is offline
    MemberRank
    Aug 2010 Join Date
    SwedenLocation
    210Posts

    Re: XSS Protection

    Quote Originally Posted by Predator359 View Post
    Hum not bad ^-^"
    I will take this for my CMS ^^
    Enjoy it.

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



Advertisement