rex-bin_tools 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 787c1726c02358862ab0feaf1fb1f86df29bc2af
4
- data.tar.gz: 66626707fa1ec982becf43c69959099a6744c9d8
3
+ metadata.gz: 3ed86ac5e92f150b2aafc867deadf5c94351db86
4
+ data.tar.gz: 227c014b61f3b7872d730376eda07fe7e7792024
5
5
  SHA512:
6
- metadata.gz: 3910da97774e960cd3d1b89a19b90387dcdb2b69c795c08eafbb998325561cb324213eb48a8af773c5e406a7218633eea8576e92542d2acd2d66b982b981eb81
7
- data.tar.gz: f021df69244b0ae8334212d564e8a84ad80c134d24289af4d7c2553554e1d2e49b05b2519ab04cd6a0c51e75d818369d61a7c95609f537febffd6cdd8e843f40
6
+ metadata.gz: 2ee119afc44ee1079ce22e308f13c52af79e50d9972f640c1128165bf847dac2cb9e1c97dc13a11f645b23cba365f64a7700bfb5353448dbe84104f393455cb1
7
+ data.tar.gz: 1151fd2dc555416c9ffaa6a9fdb8d7f18928dd0ccd3a3f3cf455cda65d05256e27ac28ed52d0ddae359cfd80da4f54b984271aebea678a8092367a9163f9912b
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -1,8 +1,11 @@
1
1
  # Rex::BinTools
2
2
 
3
- Ruby Exploitation(Rex) Library for Binary Manipulation. This suite of tools contains ElfScan,MachScan, PEScan, and BinScan.
4
- These tools are designed to help you analyze an executable binary and search for particular instruction sets. This is aprticularly
5
- useful for things like building ROP chains or SEH exploits.
3
+ Ruby Exploitation Library (REX) for Binary Manipulation. This suite of tools
4
+ contains ElfScan, MachScan, PEScan, and BinScan.
5
+
6
+ These tools are designed to help you analyze an executable binary and search
7
+ for particular instruction sets. This is particularly useful for things like
8
+ building ROP chains or SEH exploits.
6
9
 
7
10
  ## Installation
8
11
 
@@ -9,23 +9,23 @@ module Assembly
9
9
 
10
10
  ###
11
11
  #
12
- # This class uses assembly to assemble and disassemble stuff.
12
+ # This class uses nasm to assemble and disassemble stuff.
13
13
  #
14
14
  ###
15
15
  class Nasm
16
16
 
17
- @@nasm_path = 'assembly'
17
+ @@nasm_path = 'nasm'
18
18
  @@ndisasm_path = 'ndisasm'
19
19
 
20
20
  #
21
- # Ensures that the assembly environment is sane.
21
+ # Ensures that the nasm environment is sane.
22
22
  #
23
23
  def self.check
24
24
  @@nasm_path =
25
- Rex::FileUtils.find_full_path('assembly') ||
26
- Rex::FileUtils.find_full_path('assembly.exe') ||
25
+ Rex::FileUtils.find_full_path('nasm') ||
26
+ Rex::FileUtils.find_full_path('nasm.exe') ||
27
27
  Rex::FileUtils.find_full_path('nasmw.exe') ||
28
- raise(RuntimeError, "No assembly installation was found.")
28
+ raise(RuntimeError, "No nasm installation was found.")
29
29
 
30
30
  @@ndisasm_path =
31
31
  Rex::FileUtils.find_full_path('ndisasm') ||
@@ -52,7 +52,7 @@ class Nasm
52
52
  tmp.flush()
53
53
  tmp.seek(0)
54
54
 
55
- # Run assembly
55
+ # Run nasm
56
56
  if (system(@@nasm_path, '-f', 'bin', '-o', opath, tpath) == false)
57
57
  raise RuntimeError, "Assembler did not complete successfully: #{$?.exitstatus}"
58
58
  end
@@ -1,5 +1,5 @@
1
1
  module Rex
2
2
  module BinTools
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rex-bin_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Maloney
@@ -85,7 +85,7 @@ cert_chain:
85
85
  2SpuQH+SWteq3NXkAmFEEqvLJQ4sbptZt8OP8ghL3pVAvZNFmww/YVszSkShSzcg
86
86
  QdihYCSEL2drS2cFd50jBeq71sxUtxbv82DUa2b+
87
87
  -----END CERTIFICATE-----
88
- date: 2016-08-15 00:00:00.000000000 Z
88
+ date: 2016-10-03 00:00:00.000000000 Z
89
89
  dependencies:
90
90
  - !ruby/object:Gem::Dependency
91
91
  name: bundler
metadata.gz.sig CHANGED
Binary file