rex-socket 0.1.11 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +1 -2
- data.tar.gz.sig +2 -2
- data/lib/rex/socket.rb +2 -2
- data/lib/rex/socket/version.rb +1 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f7be9a5921f70d75641dc2356ede27c47e38f7b
|
4
|
+
data.tar.gz: 39aa328105ad28c50e3ca44ad8a6692800dca622
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bd2c349091a42d5b16e6823ddef15435a55ba3aeb7852628ea769ab1f3b16ce12afb457effd4b989fc89a33fc23fc36b51ec803dc79b15b702908d575ded5aa
|
7
|
+
data.tar.gz: b2788b704b6a52759e427b197f77db7fdee9f5ee2ee418ad8801b7a15b2cf474b54e4062bc570683f5659755e979f441f25f38f0218f3deba5b327cc9a366c2e
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
�/����p���]�eweA��F�ғe˳8�+8@P`�r�Mv��4!�'�6[ �f���
|
1
|
+
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
:5X��(�˫�ՃPc��(��q9g'����v��1�Y�
|
2
|
+
�0RiT6�L(F&_����h��:Aw+��|�S�b��TW�&Ӱ�Z1~�<W��_d���~y���Na|��q٣�{Yڤo���t#z�\�grݶ��N6W���4OM����R�^L�Dqt�un��Y3՟2�B�������� K^Sc��JɴFqR>�"��s���+_e��b��*Y\��_��`uOG��T]]vL��?f
|
data/lib/rex/socket.rb
CHANGED
@@ -88,7 +88,7 @@ module Socket
|
|
88
88
|
|
89
89
|
MATCH_IPV4_PRIVATE = /^\s*(?:10\.|192\.168|172.(?:1[6-9]|2[0-9]|3[01])\.|169\.254)/
|
90
90
|
|
91
|
-
MATCH_MAC_ADDR =
|
91
|
+
MATCH_MAC_ADDR = /^(?:[[:xdigit:]]{2}([-:]))(?:[[:xdigit:]]{2}\1){4}[[:xdigit:]]{2}$/
|
92
92
|
|
93
93
|
##
|
94
94
|
#
|
@@ -137,7 +137,7 @@ module Socket
|
|
137
137
|
# Determine whether this is a MAC address
|
138
138
|
#
|
139
139
|
def self.is_mac_addr?(addr)
|
140
|
-
addr =~ MATCH_MAC_ADDR
|
140
|
+
!(addr =~ MATCH_MAC_ADDR).nil?
|
141
141
|
end
|
142
142
|
|
143
143
|
#
|
data/lib/rex/socket/version.rb
CHANGED
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|