emonti-rbkb 0.6.2.1 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/History.txt +32 -0
  2. data/README.rdoc +10 -7
  3. data/Rakefile +47 -0
  4. data/bin/feed +5 -0
  5. data/bin/plugsrv +3 -3
  6. data/cli_usage.rdoc +44 -9
  7. data/doctor-bag.jpg +0 -0
  8. data/lib/rbkb.rb +47 -2
  9. data/lib/rbkb/cli.rb +8 -6
  10. data/lib/rbkb/cli/b64.rb +5 -0
  11. data/lib/rbkb/cli/bgrep.rb +14 -9
  12. data/lib/rbkb/cli/chars.rb +2 -1
  13. data/lib/rbkb/cli/crc32.rb +4 -1
  14. data/lib/rbkb/cli/d64.rb +3 -0
  15. data/lib/rbkb/cli/dedump.rb +5 -3
  16. data/lib/rbkb/cli/feed.rb +223 -0
  17. data/lib/rbkb/cli/hexify.rb +3 -3
  18. data/lib/rbkb/cli/len.rb +12 -9
  19. data/lib/rbkb/cli/rstrings.rb +13 -10
  20. data/lib/rbkb/cli/slice.rb +1 -0
  21. data/lib/rbkb/cli/telson.rb +21 -57
  22. data/lib/rbkb/cli/unhexify.rb +2 -6
  23. data/lib/rbkb/cli/urldec.rb +1 -0
  24. data/lib/rbkb/cli/urlenc.rb +1 -0
  25. data/lib/rbkb/extends.rb +41 -6
  26. data/lib/rbkb/http.rb +20 -0
  27. data/lib/rbkb/http/base.rb +172 -0
  28. data/lib/rbkb/http/body.rb +214 -0
  29. data/lib/rbkb/http/common.rb +74 -0
  30. data/lib/rbkb/http/headers.rb +356 -0
  31. data/lib/rbkb/http/parameters.rb +101 -0
  32. data/lib/rbkb/http/request.rb +58 -0
  33. data/lib/rbkb/http/response.rb +86 -0
  34. data/lib/rbkb/plug.rb +3 -3
  35. data/lib/rbkb/plug/cli.rb +83 -0
  36. data/lib/rbkb/plug/feed_import.rb +74 -0
  37. data/lib/rbkb/plug/plug.rb +36 -19
  38. data/lib/rbkb/plug/unix_domain.rb +75 -0
  39. data/rbkb.gemspec +38 -0
  40. data/spec/rbkb_spec.rb +7 -0
  41. data/spec/spec_helper.rb +16 -0
  42. data/tasks/ann.rake +80 -0
  43. data/tasks/bones.rake +20 -0
  44. data/tasks/gem.rake +201 -0
  45. data/tasks/git.rake +40 -0
  46. data/tasks/notes.rake +27 -0
  47. data/tasks/post_load.rake +34 -0
  48. data/tasks/rdoc.rake +51 -0
  49. data/tasks/rubyforge.rake +55 -0
  50. data/tasks/setup.rb +292 -0
  51. data/tasks/spec.rake +54 -0
  52. data/tasks/svn.rake +47 -0
  53. data/tasks/test.rake +40 -0
  54. data/test/test_cli_b64.rb +35 -0
  55. data/test/test_cli_bgrep.rb +137 -0
  56. data/test/test_cli_blit.rb +11 -0
  57. data/test/test_cli_chars.rb +21 -0
  58. data/test/test_cli_crc32.rb +108 -0
  59. data/test/test_cli_d64.rb +22 -0
  60. data/test/test_cli_dedump.rb +118 -0
  61. data/test/test_cli_feed.rb +11 -0
  62. data/test/test_cli_helper.rb +96 -0
  63. data/test/test_cli_hexify.rb +63 -0
  64. data/test/test_cli_len.rb +96 -0
  65. data/test/test_cli_rstrings.rb +15 -0
  66. data/test/test_cli_slice.rb +73 -0
  67. data/test/test_cli_telson.rb +11 -0
  68. data/test/test_cli_unhexify.rb +43 -0
  69. data/test/test_cli_urldec.rb +50 -0
  70. data/test/test_cli_urlenc.rb +44 -0
  71. data/test/test_cli_xor.rb +71 -0
  72. data/test/test_helper.rb +5 -0
  73. data/test/test_http.rb +27 -0
  74. data/test/test_http_helper.rb +60 -0
  75. data/test/test_http_request.rb +136 -0
  76. data/test/test_http_response.rb +222 -0
  77. data/test/test_rbkb.rb +19 -0
  78. metadata +127 -21
data/test/test_rbkb.rb ADDED
@@ -0,0 +1,19 @@
1
+ require File.dirname(__FILE__) + '/test_helper.rb'
2
+
3
+ class TestRbkb < Test::Unit::TestCase
4
+
5
+ def setup
6
+ end
7
+
8
+ def test_truth
9
+ assert true
10
+ end
11
+
12
+ # Must... have... green...
13
+ def test_bones_stuff
14
+ assert_equal Rbkb::VERSION, Rbkb.version
15
+ assert_equal File.join(Rbkb::LIBPATH, "blah"), Rbkb.libpath("blah")
16
+ assert_equal File.join(Rbkb::PATH, "blah"), Rbkb.path("blah")
17
+ end
18
+
19
+ end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: emonti-rbkb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2.1
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Monti
8
- autorequire: rbkb
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-25 00:00:00 -08:00
12
+ date: 2009-06-02 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -22,7 +22,17 @@ dependencies:
22
22
  - !ruby/object:Gem::Version
23
23
  version: 0.12.0
24
24
  version:
25
- description:
25
+ - !ruby/object:Gem::Dependency
26
+ name: bones
27
+ type: :development
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.5.1
34
+ version:
35
+ description: Rbkb is a collection of ruby-based pen-testing and reversing tools. Inspired by Matasano Blackbag.
26
36
  email: emonti@matasano.com
27
37
  executables:
28
38
  - b64
@@ -32,6 +42,7 @@ executables:
32
42
  - crc32
33
43
  - d64
34
44
  - dedump
45
+ - feed
35
46
  - hexify
36
47
  - len
37
48
  - plugsrv
@@ -45,12 +56,34 @@ executables:
45
56
  - xor
46
57
  extensions: []
47
58
 
48
- extra_rdoc_files: []
49
-
50
- files:
59
+ extra_rdoc_files:
60
+ - History.txt
51
61
  - README.rdoc
62
+ - bin/b64
63
+ - bin/bgrep
64
+ - bin/blit
65
+ - bin/c
66
+ - bin/crc32
67
+ - bin/d64
68
+ - bin/dedump
69
+ - bin/feed
70
+ - bin/hexify
71
+ - bin/len
72
+ - bin/plugsrv
73
+ - bin/rex
74
+ - bin/rstrings
75
+ - bin/slice
76
+ - bin/telson
77
+ - bin/unhexify
78
+ - bin/urldec
79
+ - bin/urlenc
80
+ - bin/xor
52
81
  - cli_usage.rdoc
53
82
  - lib_usage.rdoc
83
+ files:
84
+ - History.txt
85
+ - README.rdoc
86
+ - Rakefile
54
87
  - bin/b64
55
88
  - bin/bgrep
56
89
  - bin/blit
@@ -58,6 +91,7 @@ files:
58
91
  - bin/crc32
59
92
  - bin/d64
60
93
  - bin/dedump
94
+ - bin/feed
61
95
  - bin/hexify
62
96
  - bin/len
63
97
  - bin/plugsrv
@@ -69,6 +103,8 @@ files:
69
103
  - bin/urldec
70
104
  - bin/urlenc
71
105
  - bin/xor
106
+ - cli_usage.rdoc
107
+ - doctor-bag.jpg
72
108
  - lib/rbkb.rb
73
109
  - lib/rbkb/cli.rb
74
110
  - lib/rbkb/cli/b64.rb
@@ -78,6 +114,7 @@ files:
78
114
  - lib/rbkb/cli/crc32.rb
79
115
  - lib/rbkb/cli/d64.rb
80
116
  - lib/rbkb/cli/dedump.rb
117
+ - lib/rbkb/cli/feed.rb
81
118
  - lib/rbkb/cli/hexify.rb
82
119
  - lib/rbkb/cli/len.rb
83
120
  - lib/rbkb/cli/rstrings.rb
@@ -88,23 +125,69 @@ files:
88
125
  - lib/rbkb/cli/urlenc.rb
89
126
  - lib/rbkb/cli/xor.rb
90
127
  - lib/rbkb/extends.rb
128
+ - lib/rbkb/http.rb
129
+ - lib/rbkb/http/base.rb
130
+ - lib/rbkb/http/body.rb
131
+ - lib/rbkb/http/common.rb
132
+ - lib/rbkb/http/headers.rb
133
+ - lib/rbkb/http/parameters.rb
134
+ - lib/rbkb/http/request.rb
135
+ - lib/rbkb/http/response.rb
136
+ - lib/rbkb/plug.rb
91
137
  - lib/rbkb/plug/blit.rb
138
+ - lib/rbkb/plug/cli.rb
139
+ - lib/rbkb/plug/feed_import.rb
92
140
  - lib/rbkb/plug/peer.rb
93
141
  - lib/rbkb/plug/plug.rb
94
142
  - lib/rbkb/plug/proxy.rb
95
- - lib/rbkb/plug.rb
96
- has_rdoc: true
97
- homepage: http://www.matasano.com
143
+ - lib/rbkb/plug/unix_domain.rb
144
+ - lib_usage.rdoc
145
+ - rbkb.gemspec
146
+ - spec/rbkb_spec.rb
147
+ - spec/spec_helper.rb
148
+ - tasks/ann.rake
149
+ - tasks/bones.rake
150
+ - tasks/gem.rake
151
+ - tasks/git.rake
152
+ - tasks/notes.rake
153
+ - tasks/post_load.rake
154
+ - tasks/rdoc.rake
155
+ - tasks/rubyforge.rake
156
+ - tasks/setup.rb
157
+ - tasks/spec.rake
158
+ - tasks/svn.rake
159
+ - tasks/test.rake
160
+ - test/test_cli_b64.rb
161
+ - test/test_cli_bgrep.rb
162
+ - test/test_cli_blit.rb
163
+ - test/test_cli_chars.rb
164
+ - test/test_cli_crc32.rb
165
+ - test/test_cli_d64.rb
166
+ - test/test_cli_dedump.rb
167
+ - test/test_cli_feed.rb
168
+ - test/test_cli_helper.rb
169
+ - test/test_cli_hexify.rb
170
+ - test/test_cli_len.rb
171
+ - test/test_cli_rstrings.rb
172
+ - test/test_cli_slice.rb
173
+ - test/test_cli_telson.rb
174
+ - test/test_cli_unhexify.rb
175
+ - test/test_cli_urldec.rb
176
+ - test/test_cli_urlenc.rb
177
+ - test/test_cli_xor.rb
178
+ - test/test_helper.rb
179
+ - test/test_http.rb
180
+ - test/test_http_helper.rb
181
+ - test/test_http_request.rb
182
+ - test/test_http_response.rb
183
+ - test/test_rbkb.rb
184
+ has_rdoc: false
185
+ homepage: http://github.com/emonti/rbkb
98
186
  post_install_message:
99
187
  rdoc_options:
100
- - --title
101
- - rbkb -- Ruby Black-Bag
102
- - --main
103
- - README.rdoc
104
188
  - --line-numbers
189
+ - --main
105
190
  - README.rdoc
106
- - cli_usage.rdoc
107
- - lib_usage.rdoc
108
191
  require_paths:
109
192
  - lib
110
193
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -121,10 +204,33 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
204
  version:
122
205
  requirements: []
123
206
 
124
- rubyforge_project:
207
+ rubyforge_project: rbkb
125
208
  rubygems_version: 1.2.0
126
209
  signing_key:
127
- specification_version: 2
128
- summary: Ruby Black-Bag
129
- test_files: []
130
-
210
+ specification_version: 3
211
+ summary: Rbkb is a collection of ruby-based pen-testing and reversing tools
212
+ test_files:
213
+ - test/test_cli_b64.rb
214
+ - test/test_cli_bgrep.rb
215
+ - test/test_cli_blit.rb
216
+ - test/test_cli_chars.rb
217
+ - test/test_cli_crc32.rb
218
+ - test/test_cli_d64.rb
219
+ - test/test_cli_dedump.rb
220
+ - test/test_cli_feed.rb
221
+ - test/test_cli_helper.rb
222
+ - test/test_cli_hexify.rb
223
+ - test/test_cli_len.rb
224
+ - test/test_cli_rstrings.rb
225
+ - test/test_cli_slice.rb
226
+ - test/test_cli_telson.rb
227
+ - test/test_cli_unhexify.rb
228
+ - test/test_cli_urldec.rb
229
+ - test/test_cli_urlenc.rb
230
+ - test/test_cli_xor.rb
231
+ - test/test_helper.rb
232
+ - test/test_http.rb
233
+ - test/test_http_helper.rb
234
+ - test/test_http_request.rb
235
+ - test/test_http_response.rb
236
+ - test/test_rbkb.rb