Metasploit mailing list archives
Add number generator to Rex Text
From: patrick at aushack.com (Patrick Webster)
Date: Wed, 29 Aug 2007 17:31:02 +1000
Dear msf team, Can you please, please, pretty please include this in Rex::Text (or somewhere more appropriate ;-) # Generate random bytes of numerical data def self.rand_numeric(len, bad='') rand_base(len, bad, *('0' .. '9').to_a) end Much appreciated, I'm sure other devs will use it as well..?! -Patrick -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.metasploit.com/pipermail/framework/attachments/20070829/3b6555c4/attachment.htm>
Current thread:
- Add number generator to Rex Text Patrick Webster (Aug 29)