pedump 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +16 -0
- data/Gemfile.lock +90 -0
- data/LICENSE.txt +20 -0
- data/README.md +410 -0
- data/Rakefile +179 -0
- data/VERSION +1 -0
- data/bin/pedump +7 -0
- data/data/fs.txt +224 -0
- data/data/jc-userdb.txt +14371 -0
- data/data/sig.bin +0 -0
- data/data/signatures.txt +678 -0
- data/data/userdb.txt +14083 -0
- data/lib/pedump.rb +868 -0
- data/lib/pedump/cli.rb +804 -0
- data/lib/pedump/comparer.rb +147 -0
- data/lib/pedump/composite_io.rb +56 -0
- data/lib/pedump/core.rb +38 -0
- data/lib/pedump/core_ext/try.rb +57 -0
- data/lib/pedump/loader.rb +393 -0
- data/lib/pedump/loader/minidump.rb +351 -0
- data/lib/pedump/loader/section.rb +57 -0
- data/lib/pedump/logger.rb +67 -0
- data/lib/pedump/ne.rb +425 -0
- data/lib/pedump/ne/version_info.rb +171 -0
- data/lib/pedump/packer.rb +173 -0
- data/lib/pedump/pe.rb +121 -0
- data/lib/pedump/resources.rb +436 -0
- data/lib/pedump/security.rb +58 -0
- data/lib/pedump/sig_parser.rb +507 -0
- data/lib/pedump/tls.rb +17 -0
- data/lib/pedump/unpacker.rb +26 -0
- data/lib/pedump/unpacker/aspack.rb +858 -0
- data/lib/pedump/unpacker/upx.rb +13 -0
- data/lib/pedump/version.rb +10 -0
- data/lib/pedump/version_info.rb +171 -0
- data/misc/aspack/Makefile +3 -0
- data/misc/aspack/aspack_unlzx.c +92 -0
- data/misc/aspack/lzxdec.c +479 -0
- data/misc/aspack/lzxdec.h +56 -0
- data/misc/nedump.c +751 -0
- data/pedump.gemspec +109 -0
- metadata +227 -0
data/pedump.gemspec
ADDED
@@ -0,0 +1,109 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: pedump 0.5.3 ruby lib
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "pedump".freeze
|
9
|
+
s.version = "0.5.3"
|
10
|
+
|
11
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib".freeze]
|
13
|
+
s.authors = ["Andrey \"Zed\" Zaikin".freeze]
|
14
|
+
s.date = "2020-01-24"
|
15
|
+
s.description = "dump headers, sections, extract resources of win32 PE exe,dll,etc".freeze
|
16
|
+
s.email = "zed.0xff@gmail.com".freeze
|
17
|
+
s.executables = ["pedump".freeze]
|
18
|
+
s.extra_rdoc_files = [
|
19
|
+
"LICENSE.txt",
|
20
|
+
"README.md"
|
21
|
+
]
|
22
|
+
s.files = [
|
23
|
+
"Gemfile",
|
24
|
+
"Gemfile.lock",
|
25
|
+
"LICENSE.txt",
|
26
|
+
"README.md",
|
27
|
+
"Rakefile",
|
28
|
+
"VERSION",
|
29
|
+
"bin/pedump",
|
30
|
+
"data/fs.txt",
|
31
|
+
"data/jc-userdb.txt",
|
32
|
+
"data/sig.bin",
|
33
|
+
"data/signatures.txt",
|
34
|
+
"data/userdb.txt",
|
35
|
+
"lib/pedump.rb",
|
36
|
+
"lib/pedump/cli.rb",
|
37
|
+
"lib/pedump/comparer.rb",
|
38
|
+
"lib/pedump/composite_io.rb",
|
39
|
+
"lib/pedump/core.rb",
|
40
|
+
"lib/pedump/core_ext/try.rb",
|
41
|
+
"lib/pedump/loader.rb",
|
42
|
+
"lib/pedump/loader/minidump.rb",
|
43
|
+
"lib/pedump/loader/section.rb",
|
44
|
+
"lib/pedump/logger.rb",
|
45
|
+
"lib/pedump/ne.rb",
|
46
|
+
"lib/pedump/ne/version_info.rb",
|
47
|
+
"lib/pedump/packer.rb",
|
48
|
+
"lib/pedump/pe.rb",
|
49
|
+
"lib/pedump/resources.rb",
|
50
|
+
"lib/pedump/security.rb",
|
51
|
+
"lib/pedump/sig_parser.rb",
|
52
|
+
"lib/pedump/tls.rb",
|
53
|
+
"lib/pedump/unpacker.rb",
|
54
|
+
"lib/pedump/unpacker/aspack.rb",
|
55
|
+
"lib/pedump/unpacker/upx.rb",
|
56
|
+
"lib/pedump/version.rb",
|
57
|
+
"lib/pedump/version_info.rb",
|
58
|
+
"misc/aspack/Makefile",
|
59
|
+
"misc/aspack/aspack_unlzx.c",
|
60
|
+
"misc/aspack/lzxdec.c",
|
61
|
+
"misc/aspack/lzxdec.h",
|
62
|
+
"misc/nedump.c",
|
63
|
+
"pedump.gemspec"
|
64
|
+
]
|
65
|
+
s.homepage = "http://github.com/zed-0xff/pedump".freeze
|
66
|
+
s.licenses = ["MIT".freeze]
|
67
|
+
s.rubygems_version = "2.7.6".freeze
|
68
|
+
s.summary = "dump win32 PE executable files with a pure ruby".freeze
|
69
|
+
|
70
|
+
if s.respond_to? :specification_version then
|
71
|
+
s.specification_version = 4
|
72
|
+
|
73
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
74
|
+
s.add_runtime_dependency(%q<rainbow>.freeze, [">= 0"])
|
75
|
+
s.add_runtime_dependency(%q<awesome_print>.freeze, [">= 0"])
|
76
|
+
s.add_runtime_dependency(%q<iostruct>.freeze, [">= 0.0.4"])
|
77
|
+
s.add_runtime_dependency(%q<multipart-post>.freeze, [">= 2.0.0"])
|
78
|
+
s.add_runtime_dependency(%q<progressbar>.freeze, [">= 0"])
|
79
|
+
s.add_runtime_dependency(%q<zhexdump>.freeze, [">= 0.0.2"])
|
80
|
+
s.add_development_dependency(%q<rspec>.freeze, ["~> 3.9.0"])
|
81
|
+
s.add_development_dependency(%q<rspec-its>.freeze, ["~> 1.3.0"])
|
82
|
+
s.add_development_dependency(%q<bundler>.freeze, ["~> 2.1.4"])
|
83
|
+
s.add_development_dependency(%q<jeweler>.freeze, ["~> 2.3.9"])
|
84
|
+
else
|
85
|
+
s.add_dependency(%q<rainbow>.freeze, [">= 0"])
|
86
|
+
s.add_dependency(%q<awesome_print>.freeze, [">= 0"])
|
87
|
+
s.add_dependency(%q<iostruct>.freeze, [">= 0.0.4"])
|
88
|
+
s.add_dependency(%q<multipart-post>.freeze, [">= 2.0.0"])
|
89
|
+
s.add_dependency(%q<progressbar>.freeze, [">= 0"])
|
90
|
+
s.add_dependency(%q<zhexdump>.freeze, [">= 0.0.2"])
|
91
|
+
s.add_dependency(%q<rspec>.freeze, ["~> 3.9.0"])
|
92
|
+
s.add_dependency(%q<rspec-its>.freeze, ["~> 1.3.0"])
|
93
|
+
s.add_dependency(%q<bundler>.freeze, ["~> 2.1.4"])
|
94
|
+
s.add_dependency(%q<jeweler>.freeze, ["~> 2.3.9"])
|
95
|
+
end
|
96
|
+
else
|
97
|
+
s.add_dependency(%q<rainbow>.freeze, [">= 0"])
|
98
|
+
s.add_dependency(%q<awesome_print>.freeze, [">= 0"])
|
99
|
+
s.add_dependency(%q<iostruct>.freeze, [">= 0.0.4"])
|
100
|
+
s.add_dependency(%q<multipart-post>.freeze, [">= 2.0.0"])
|
101
|
+
s.add_dependency(%q<progressbar>.freeze, [">= 0"])
|
102
|
+
s.add_dependency(%q<zhexdump>.freeze, [">= 0.0.2"])
|
103
|
+
s.add_dependency(%q<rspec>.freeze, ["~> 3.9.0"])
|
104
|
+
s.add_dependency(%q<rspec-its>.freeze, ["~> 1.3.0"])
|
105
|
+
s.add_dependency(%q<bundler>.freeze, ["~> 2.1.4"])
|
106
|
+
s.add_dependency(%q<jeweler>.freeze, ["~> 2.3.9"])
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
metadata
ADDED
@@ -0,0 +1,227 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pedump
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.3
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Andrey "Zed" Zaikin
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-01-24 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rainbow
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: awesome_print
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: iostruct
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.0.4
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.0.4
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: multipart-post
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.0.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.0.0
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: progressbar
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: zhexdump
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.0.2
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.0.2
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.9.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.9.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec-its
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.3.0
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.3.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: bundler
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 2.1.4
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 2.1.4
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: jeweler
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 2.3.9
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 2.3.9
|
153
|
+
description: dump headers, sections, extract resources of win32 PE exe,dll,etc
|
154
|
+
email: zed.0xff@gmail.com
|
155
|
+
executables:
|
156
|
+
- pedump
|
157
|
+
extensions: []
|
158
|
+
extra_rdoc_files:
|
159
|
+
- LICENSE.txt
|
160
|
+
- README.md
|
161
|
+
files:
|
162
|
+
- Gemfile
|
163
|
+
- Gemfile.lock
|
164
|
+
- LICENSE.txt
|
165
|
+
- README.md
|
166
|
+
- Rakefile
|
167
|
+
- VERSION
|
168
|
+
- bin/pedump
|
169
|
+
- data/fs.txt
|
170
|
+
- data/jc-userdb.txt
|
171
|
+
- data/sig.bin
|
172
|
+
- data/signatures.txt
|
173
|
+
- data/userdb.txt
|
174
|
+
- lib/pedump.rb
|
175
|
+
- lib/pedump/cli.rb
|
176
|
+
- lib/pedump/comparer.rb
|
177
|
+
- lib/pedump/composite_io.rb
|
178
|
+
- lib/pedump/core.rb
|
179
|
+
- lib/pedump/core_ext/try.rb
|
180
|
+
- lib/pedump/loader.rb
|
181
|
+
- lib/pedump/loader/minidump.rb
|
182
|
+
- lib/pedump/loader/section.rb
|
183
|
+
- lib/pedump/logger.rb
|
184
|
+
- lib/pedump/ne.rb
|
185
|
+
- lib/pedump/ne/version_info.rb
|
186
|
+
- lib/pedump/packer.rb
|
187
|
+
- lib/pedump/pe.rb
|
188
|
+
- lib/pedump/resources.rb
|
189
|
+
- lib/pedump/security.rb
|
190
|
+
- lib/pedump/sig_parser.rb
|
191
|
+
- lib/pedump/tls.rb
|
192
|
+
- lib/pedump/unpacker.rb
|
193
|
+
- lib/pedump/unpacker/aspack.rb
|
194
|
+
- lib/pedump/unpacker/upx.rb
|
195
|
+
- lib/pedump/version.rb
|
196
|
+
- lib/pedump/version_info.rb
|
197
|
+
- misc/aspack/Makefile
|
198
|
+
- misc/aspack/aspack_unlzx.c
|
199
|
+
- misc/aspack/lzxdec.c
|
200
|
+
- misc/aspack/lzxdec.h
|
201
|
+
- misc/nedump.c
|
202
|
+
- pedump.gemspec
|
203
|
+
homepage: http://github.com/zed-0xff/pedump
|
204
|
+
licenses:
|
205
|
+
- MIT
|
206
|
+
metadata: {}
|
207
|
+
post_install_message:
|
208
|
+
rdoc_options: []
|
209
|
+
require_paths:
|
210
|
+
- lib
|
211
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
217
|
+
requirements:
|
218
|
+
- - ">="
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: '0'
|
221
|
+
requirements: []
|
222
|
+
rubyforge_project:
|
223
|
+
rubygems_version: 2.7.6
|
224
|
+
signing_key:
|
225
|
+
specification_version: 4
|
226
|
+
summary: dump win32 PE executable files with a pure ruby
|
227
|
+
test_files: []
|