empty gem
This commit is contained in:
parent
8eb3f03f2b
commit
72311b00c0
|
@ -0,0 +1,2 @@
|
|||
*.gem
|
||||
/coverage/
|
|
@ -0,0 +1,44 @@
|
|||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
one_gadget (0.1.0)
|
||||
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
codeclimate-test-reporter (1.0.5)
|
||||
simplecov
|
||||
diff-lcs (1.3)
|
||||
docile (1.1.5)
|
||||
json (2.0.3)
|
||||
rake (12.0.0)
|
||||
rspec (3.5.0)
|
||||
rspec-core (~> 3.5.0)
|
||||
rspec-expectations (~> 3.5.0)
|
||||
rspec-mocks (~> 3.5.0)
|
||||
rspec-core (3.5.4)
|
||||
rspec-support (~> 3.5.0)
|
||||
rspec-expectations (3.5.0)
|
||||
diff-lcs (>= 1.2.0, < 2.0)
|
||||
rspec-support (~> 3.5.0)
|
||||
rspec-mocks (3.5.0)
|
||||
diff-lcs (>= 1.2.0, < 2.0)
|
||||
rspec-support (~> 3.5.0)
|
||||
rspec-support (3.5.0)
|
||||
simplecov (0.13.0)
|
||||
docile (~> 1.1.0)
|
||||
json (>= 1.8, < 3)
|
||||
simplecov-html (~> 0.10.0)
|
||||
simplecov-html (0.10.0)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
codeclimate-test-reporter (~> 1.0, >= 1.0.5)
|
||||
one_gadget!
|
||||
rake (~> 12.0)
|
||||
rspec (~> 3.5)
|
||||
|
||||
BUNDLED WITH
|
||||
1.13.7
|
|
@ -0,0 +1,15 @@
|
|||
## One Gadget
|
||||
|
||||
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.
|
||||
|
||||
Also provides the command-line tool `one_gadget` for easy usage.
|
||||
|
||||
## Install
|
||||
|
||||
(TODO)
|
||||
|
||||
## Usage
|
||||
|
||||
(TODO)
|
|
@ -0,0 +1,16 @@
|
|||
require "rspec/core/rake_task"
|
||||
require 'rubocop/rake_task'
|
||||
|
||||
task default: %i(rubocop spec)
|
||||
|
||||
RuboCop::RakeTask.new(:rubocop) do |task|
|
||||
task.patterns = ['lib/**/*.rb', 'test/**/*.rb']
|
||||
task.formatters = ['files']
|
||||
end
|
||||
|
||||
RSpec::Core::RakeTask.new(:spec) do |task|
|
||||
task.pattern = "./spec/**/*_spec.rb"
|
||||
task.rspec_opts = ['--color']
|
||||
end
|
||||
|
||||
task :default => [:spec]
|
|
@ -0,0 +1,5 @@
|
|||
# OneGadget - To find the execve(/bin/sh, 0, 0) in glibc.
|
||||
#
|
||||
# @author david942j
|
||||
module OneGadget
|
||||
end
|
|
@ -0,0 +1,3 @@
|
|||
module OneGadget
|
||||
VERSION = '0.1.0'.freeze
|
||||
end
|
|
@ -0,0 +1,28 @@
|
|||
lib = File.expand_path('../lib', __FILE__)
|
||||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
||||
require 'one_gadget/version'
|
||||
require 'date'
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = 'one_gadget'
|
||||
s.version = ::OneGadget::VERSION
|
||||
s.date = Date.today.to_s
|
||||
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.
|
||||
Also provides the command-line tool `one_gadget` for easy usage.
|
||||
EOS
|
||||
s.license = 'MIT'
|
||||
s.authors = ['david942j']
|
||||
s.email = ['david942j@gmail.com']
|
||||
s.files = Dir['lib/**/*.rb'] + %w(README.md)
|
||||
s.test_files = Dir['spec/**/*']
|
||||
s.homepage = 'https://github.com/david942j/one_gadget'
|
||||
|
||||
s.required_ruby_version = '>= 2.1.0'
|
||||
|
||||
s.add_development_dependency 'rspec', '~> 3.5'
|
||||
s.add_development_dependency 'rake', '~> 12.0'
|
||||
s.add_development_dependency 'codeclimate-test-reporter', '~> 1.0', '>= 1.0.5'
|
||||
end
|
Loading…
Reference in New Issue