rex 2.0.2 → 2.0.3

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDJlYzcyNTlhMGU4NjVmZDNmMGIzN2IwMjMwNDVhZDI3N2EyYTcwMQ==
4
+ MDQwMjkwNWY0OTJlZGI3NDkyYjg2NWE0MzQ1ODE2MGU5NWFjNGRiYw==
5
5
  data.tar.gz: !binary |-
6
- MjliNGFjZmY1NGM4NGIyMWU0YjU5NzEzY2RkMzA3NjhlYWViMDZlMw==
6
+ NDQ2YzQwN2FiNzY1Y2M0YjY3YzE0NTU1NDc1OWZjZDNlZDc4MDliZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjM5NWM4YzRjYzFiOTVmNDA3ZDM3ZmE2NzNiY2M2YWI1Y2I0N2I3NDJiMDgw
10
- OTMyNzExYzNkM2NlZWVhOWJjY2Y3ZGYyMDZlNDhkZGYxY2Q4MGM5M2MyZGJl
11
- NzViNmI2ODU3ZjdmZTE4MTNiOGZhNjM0MjMyOTNmMzA5OTMyZmE=
9
+ ZTk4N2VhZWJlNzkyZjhmYTA2MWM0NTM0NzU2MTc1MjgzZTRjYzY5ZTJhNGZi
10
+ NDFiOGIzNjIwZGQwZjVkYTk4MmU3YzEzYTA4MDgxNmFiY2YyYTFlNjA3M2U1
11
+ ZGI3YmY0MjRiMjc2ODk1MzAxYTRkNTIzYjFjNGVlOGJjYjc2NzI=
12
12
  data.tar.gz: !binary |-
13
- ZTRlZWRhOWNmNjMyNDU3OGI1NWVlZWYyZWFjY2VmYWEwOTRlYWU1ZmIzNzlj
14
- ODczOTVmYmM4ZDljZDI0NmRkMGM2ZTcyYzkzZWI0YTg0MGUzZWRiYmYxNDJj
15
- ZTUwN2UxOGUzMDkwNWNlMmMyNjQ4OTZiZjA0NTQ5ZWMyNmRhNjY=
13
+ NDM1MjdjM2MyNjZjMWM3MmQ4M2JmMWJlZmU0Nzg5MDdmYjc1NDIzZmJjZTcx
14
+ NjI3MjUzOTY1NWZkNmMwYzNiN2JjZDRhODU5MDBhMWM0Nzk3ZjhkMDY5M2M3
15
+ MWY3MWM3YTcwM2Y2ZDQ0NWMxMDg0Mjc2N2RhZjg0ZWQ5MWJjNTA=
@@ -17,6 +17,7 @@ $ gem install rex
17
17
 
18
18
  # Credits
19
19
 
20
- * The Metasploit Community
21
- * Jacob Hammack <https://github.com/hammackj>
22
- * Rapid7 <http://www.rapid7.com/>
20
+ * [The Metasploit Community](https://github.com/rapid7/metasploit-framework)
21
+ * [Jacob Hammack](https://github.com/hammackj) for initially extracting rex from Metasploit
22
+ * [Aaron Paterson](https://github.com/tenderlove) for letting us repurpose the 'rex' gem name
23
+ * [Rapid7](http://www.rapid7.com/) for continued support
@@ -77,6 +77,11 @@ class Call
77
77
  chall = res[2][IAX_IE_CHALLENGE_DATA]
78
78
  end
79
79
 
80
+ if chall.nil?
81
+ dprint("REGAUTH: No challenge data received")
82
+ return
83
+ end
84
+
80
85
  self.client.send_regreq_chall_response(self, chall)
81
86
  res = wait_for( IAX_SUBTYPE_REGACK, IAX_SUBTYPE_REGREJ )
82
87
  return if not res
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  APP_NAME = "rex"
4
- VERSION = "2.0.2"
4
+ VERSION = "2.0.3"
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = APP_NAME
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rex
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - HD Moore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-06 00:00:00.000000000 Z
12
+ date: 2014-09-07 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Rex provides a variety of classes useful for security testing and exploit
15
15
  development.