Created
February 17, 2012 20:00
-
-
Save jfirebaugh/1855140 to your computer and use it in GitHub Desktop.
A gem that creeps you out when you install it
This file contains hidden or 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
| Gem::Specification.new do |gem| | |
| gem.authors = ["John Doe"] | |
| gem.description = %q{Creepy!} | |
| gem.summary = %q{`gem install` is arbitrary code execution} | |
| gem.files = "extconf.rb" | |
| gem.name = "creepy" | |
| gem.version = "0.0.0" | |
| gem.extensions = "extconf.rb" | |
| end |
This file contains hidden or 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
| system 'say -r80 Hello `whoami`' | |
| File.open('Makefile', 'w') { |f| f.puts 'all:', 'install:' } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try
bundle installwith this Gemfile: