rapid7/metasploit-framework — pull request #276 by todb-r7 (2012-03-26 17:37:47+00:00)
Title: Checksum fixer

Fixes up the URI generator to always be checksummable.

To stress test, in IRB, do:

```ruby
require 'msf/core'
require 'msf/core/handler/reverse_https'
include Msf::Handler::ReverseHttps

100_000.times {|i| puts "%06d, %s" % [i, generate_uri_checksum(92)] if (i % 1000 == 0); generate_uri_checksum(92)}

```