Created
April 13, 2014 13:55
-
-
Save pimterry/10585236 to your computer and use it in GitHub Desktop.
Stop your web stack sabotaging your security - exploit snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$loginOk = (crypt($passwordInput, $salt) == $previouslyCryptedPassword)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Post < ActiveRecord::Base | |
serialize :tags | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
psql --host=example.com --dbname="-r /var/lib/postgresql/data/db" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment