Sha256: f9b14e7a6eff76527b6530461717ceb0cd7185120f651c69541733ea924c1c40

Contents?: true

Size: 313 Bytes

Versions: 10

Compression:

Stored size: 313 Bytes

Contents

# encoding: utf-8
module Sonar
  module Registration

    # Takes a Metasploit Product Key and attempts
    # to register a Sonar account with it.
    def register_metasploit(product_key)
      post_params = { product_key: product_key.dup }
      post_to_sonar('metasploit_verify', post_params)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sonar-client-0.2.0 lib/sonar/registration.rb
sonar-client-0.1.6 lib/sonar/registration.rb
sonar-client-0.1.4 lib/sonar/registration.rb
sonar-client-0.1.3 lib/sonar/registration.rb
sonar-client-0.1.2 lib/sonar/registration.rb
sonar-client-0.1.1 lib/sonar/registration.rb
sonar-client-0.1.1.pre lib/sonar/registration.rb
sonar-client-0.1.0 lib/sonar/registration.rb
sonar-client-0.0.9 lib/sonar/registration.rb
sonar-client-0.0.8 lib/sonar/registration.rb