-
Notifications
You must be signed in to change notification settings - Fork 140
/
Copy pathone_gadget.gemspec
45 lines (35 loc) · 1.53 KB
/
one_gadget.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# 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 = ['[email protected]']
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_dependency 'logger'
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