metasploit_payloads-mettle 0.5.12 → 0.5.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +0 -0
  4. data/build/aarch64-iphone-darwin/bin/mettle +0 -0
  5. data/build/aarch64-linux-musl/bin/mettle +0 -0
  6. data/build/aarch64-linux-musl/bin/mettle.bin +0 -0
  7. data/build/aarch64-linux-musl/bin/sniffer +0 -0
  8. data/build/aarch64-linux-musl/bin/sniffer.bin +0 -0
  9. data/build/arm-iphone-darwin/bin/mettle +0 -0
  10. data/build/armv5b-linux-musleabi/bin/mettle +0 -0
  11. data/build/armv5b-linux-musleabi/bin/mettle.bin +0 -0
  12. data/build/armv5b-linux-musleabi/bin/sniffer +0 -0
  13. data/build/armv5b-linux-musleabi/bin/sniffer.bin +0 -0
  14. data/build/armv5l-linux-musleabi/bin/mettle +0 -0
  15. data/build/armv5l-linux-musleabi/bin/mettle.bin +0 -0
  16. data/build/armv5l-linux-musleabi/bin/sniffer +0 -0
  17. data/build/armv5l-linux-musleabi/bin/sniffer.bin +0 -0
  18. data/build/darwin.x86_64/bin/mettle +0 -0
  19. data/build/i486-linux-musl/bin/mettle +0 -0
  20. data/build/i486-linux-musl/bin/mettle.bin +0 -0
  21. data/build/i486-linux-musl/bin/sniffer +0 -0
  22. data/build/i486-linux-musl/bin/sniffer.bin +0 -0
  23. data/build/i686-w64-mingw32/bin/mettle.exe +0 -0
  24. data/build/mips-linux-muslsf/bin/mettle +0 -0
  25. data/build/mips-linux-muslsf/bin/mettle.bin +0 -0
  26. data/build/mips-linux-muslsf/bin/sniffer +0 -0
  27. data/build/mips-linux-muslsf/bin/sniffer.bin +0 -0
  28. data/build/mips64-linux-muslsf/bin/mettle +0 -0
  29. data/build/mips64-linux-muslsf/bin/mettle.bin +0 -0
  30. data/build/mips64-linux-muslsf/bin/sniffer +0 -0
  31. data/build/mips64-linux-muslsf/bin/sniffer.bin +0 -0
  32. data/build/mipsel-linux-muslsf/bin/mettle +0 -0
  33. data/build/mipsel-linux-muslsf/bin/mettle.bin +0 -0
  34. data/build/mipsel-linux-muslsf/bin/sniffer +0 -0
  35. data/build/mipsel-linux-muslsf/bin/sniffer.bin +0 -0
  36. data/build/powerpc-e500v2-linux-musl/bin/mettle +0 -0
  37. data/build/powerpc-e500v2-linux-musl/bin/mettle.bin +0 -0
  38. data/build/powerpc-e500v2-linux-musl/bin/sniffer +0 -0
  39. data/build/powerpc-e500v2-linux-musl/bin/sniffer.bin +0 -0
  40. data/build/powerpc-linux-muslsf/bin/mettle +0 -0
  41. data/build/powerpc-linux-muslsf/bin/mettle.bin +0 -0
  42. data/build/powerpc-linux-muslsf/bin/sniffer +0 -0
  43. data/build/powerpc-linux-muslsf/bin/sniffer.bin +0 -0
  44. data/build/powerpc64le-linux-musl/bin/mettle +0 -0
  45. data/build/powerpc64le-linux-musl/bin/mettle.bin +0 -0
  46. data/build/powerpc64le-linux-musl/bin/sniffer +0 -0
  47. data/build/powerpc64le-linux-musl/bin/sniffer.bin +0 -0
  48. data/build/s390x-linux-musl/bin/mettle +0 -0
  49. data/build/s390x-linux-musl/bin/mettle.bin +0 -0
  50. data/build/s390x-linux-musl/bin/sniffer +0 -0
  51. data/build/s390x-linux-musl/bin/sniffer.bin +0 -0
  52. data/build/x86_64-apple-darwin/bin/mettle +0 -0
  53. data/build/x86_64-linux-musl/bin/mettle +0 -0
  54. data/build/x86_64-linux-musl/bin/mettle.bin +0 -0
  55. data/build/x86_64-linux-musl/bin/sniffer +0 -0
  56. data/build/x86_64-linux-musl/bin/sniffer.bin +0 -0
  57. data/lib/metasploit_payloads/mettle.rb +8 -3
  58. data/lib/metasploit_payloads/mettle/version.rb +1 -1
  59. metadata +3 -3
  60. metadata.gz.sig +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '09f4663b0e6d67d83535d16da212d7a5845d7382'
4
- data.tar.gz: 8c58831196e54dee829cf3a23438764ef1fca37b
3
+ metadata.gz: '0528742ec95816f244aced19cb7478ff809eaa39'
4
+ data.tar.gz: aab635178248945e2964a46a4123d8609e9d3d3a
5
5
  SHA512:
6
- metadata.gz: cfeb734830da9ff14060dba98ecc67e6e155c3e600916b4459b967b08c0675007402f7c174be5edc740897ab49a1bf21a588f1eb2d54f2ae8e40c7588c9cbdde
7
- data.tar.gz: e799f7b0c905f9c506f8312da28484a8e6461f595ee3bb5e80359dcd4a33f0d43d6883db9f2cfa7735076239e8972d22ba5b47e1232333223a5e48cf2835e6cc
6
+ metadata.gz: 58833904770ae740ccf9c4dad307220a0c986921bc2e631b4b832b5b3d22db260ffbd580bf05ba773054be57e2ac04fb0f480b9ca6e8c3190fb98aacd5002435
7
+ data.tar.gz: 6dc1fddbccfd8b590e9c49c7429db5885ea3655394195675c4bc8d8e25b534846f462ff0ad1d8372e3c8b881d05dd8a64331c7ff8071ff4a8db4132cfbb61faa
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -27,12 +27,15 @@ module MetasploitPayloads
27
27
  end
28
28
 
29
29
  #
30
- # Available formats are :process_image, :dylib and :exec
30
+ # Available formats are :process_image, :dylib, :dylib_sha1 and :exec
31
31
  #
32
32
  def to_binary(format=:process_image)
33
33
  bin = self.class.read(@platform, format)
34
- params = generate_argv
35
- add_args(bin, params)
34
+ unless @config.empty?
35
+ params = generate_argv
36
+ bin = add_args(bin, params)
37
+ end
38
+ bin
36
39
  end
37
40
 
38
41
  private
@@ -101,6 +104,8 @@ module MetasploitPayloads
101
104
  "#{filename}.bin"
102
105
  when :dylib
103
106
  "#{filename}.dylib"
107
+ when :dylib_sha1
108
+ "#{filename}.sha1.dylib"
104
109
  when :exec
105
110
  "#{filename}"
106
111
  else
@@ -1,7 +1,7 @@
1
1
  # -*- coding:binary -*-
2
2
  module MetasploitPayloads
3
3
  class Mettle
4
- VERSION = '0.5.12'
4
+ VERSION = '0.5.13'
5
5
 
6
6
  def self.version
7
7
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metasploit_payloads-mettle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.12
4
+ version: 0.5.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Cammack
@@ -89,7 +89,7 @@ cert_chain:
89
89
  G+Hmcg1v810agasPdoydE0RTVZgEOOMoQ07qu7JFXVWZ9ZQpHT7qJATWL/b2csFG
90
90
  8mVuTXnyJOKRJA==
91
91
  -----END CERTIFICATE-----
92
- date: 2019-04-18 00:00:00.000000000 Z
92
+ date: 2019-05-21 00:00:00.000000000 Z
93
93
  dependencies:
94
94
  - !ruby/object:Gem::Dependency
95
95
  name: bundler
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  version: '0'
217
217
  requirements: []
218
218
  rubyforge_project:
219
- rubygems_version: 2.6.13
219
+ rubygems_version: 2.6.8
220
220
  signing_key:
221
221
  specification_version: 4
222
222
  summary: This gem contains the compiled binaries required to make Mettle function,
metadata.gz.sig CHANGED
Binary file