one_gadget.gemspec
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'date'
require 'one_gadget/version'
Gem::Specification.new do |s|
s.name = 'one_gadget'
s.version = OneGadget::VERSION
s.summary = 'one_gadget'
s.description = <<-EOS
When playing ctf pwn challenges we usually needs the one-gadget of execve('/bin/sh', NULL, NULL).
This gem provides such gadget finder, no need to use IDA-pro every time like a fool :p.
Typing `one_gadget /path/to/libc` in terminal and having fun!
EOS
s.license = 'MIT'
s.authors = ['david942j']
s.email = ['david942j@gmail.com']
s.files = Dir['lib/**/*.rb'] + Dir['bin/*'] + %w[README.md]
s.homepage = 'https://github.com/david942j/one_gadget'
s.executables = ['one_gadget']
s.metadata = {
'bug_tracker_uri' => 'https://github.com/david942j/one_gadget/issues',
'documentation_uri' => 'https://www.rubydoc.info/github/david942j/one_gadget/master',
'homepage_uri' => 'https://github.com/david942j/one_gadget',
'source_code_uri' => 'https://github.com/david942j/one_gadget'
}
s.required_ruby_version = '>= 3.1'
s.add_dependency 'elftools', '>= 1.0.2', '< 1.4.0'
s.add_development_dependency 'rake', '~> 13.0'
s.add_development_dependency 'rspec', '~> 3.7'
s.add_development_dependency 'rubocop', '~> 1.0'
s.add_development_dependency 'simplecov', '~> 0.21'
s.add_development_dependency 'yard', '~> 0.9'
end