iZsh-rubyfw 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.
- data/ChangeLog +3 -0
- data/README +5 -0
- data/lib/fw.rb +2 -2
- metadata +1 -1
data/ChangeLog
CHANGED
data/README
CHANGED
@@ -39,3 +39,8 @@ sudo gem install iZsh-rubyfw
|
|
39
39
|
To use it, just use the following requires:
|
40
40
|
require 'rubygems'
|
41
41
|
require 'fw'
|
42
|
+
|
43
|
+
Alternatively you could check out macloginpwdfinder-fw.rb at
|
44
|
+
http://github.com/iZsh/Processus-Memory-Tools for a real script using this
|
45
|
+
library.
|
46
|
+
|
data/lib/fw.rb
CHANGED
@@ -15,8 +15,8 @@
|
|
15
15
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
16
16
|
require 'fwext'
|
17
17
|
|
18
|
-
# Expand the
|
19
|
-
class
|
18
|
+
# Expand the Integer class for UI64 (Universal Identifier) representation
|
19
|
+
class Integer
|
20
20
|
def to_ui64
|
21
21
|
("%016x" % self).scan(/[a-f0-9]{2}/).join(":")
|
22
22
|
end
|