Snipplr - TheNullBytehttp://snipplr.com/users/TheNullByte
Recent snippets posted on Snipplr.comen-usTue, 20 Mar 2018 02:03:15 GMT(PHP) Sanitize (MySQL and XSS)http://snipplr.com/view/65698/sanitize-mysql-and-xss/
Just a small function to sanitize the user's input of any xss and sqli. I saw a lot of ones that didn't include htmlentities or htmlspecialchars, and were still vulnerable to persistent/reflected xss. ]]>Tue, 19 Jun 2012 03:15:10 GMThttp://snipplr.com/view/65698/sanitize-mysql-and-xss/(MySQL) MySQL Select duplicateshttp://snipplr.com/view/65582/mysql-select-duplicates/
Instead of the standard return of duplicates, this will actually show the rows that are duplicated, making it easier to see the data ]]>Wed, 13 Jun 2012 03:02:48 GMThttp://snipplr.com/view/65582/mysql-select-duplicates/