rapid7/metasploit-framework

View on GitHub
modules/payloads/stagers/windows/reverse_hop_http.rb

Summary

Maintainability
C
1 day
Test Coverage

Method generate has 226 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def generate(_opts = {})
    uri = URI(datastore['HOPURL'])
    #create actual payload
    payload_data = <<EOS
  cld            ; clear direction flag
Severity: Major
Found in modules/payloads/stagers/windows/reverse_hop_http.rb - About 1 day to fix

    File reverse_hop_http.rb has 267 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    require 'uri'
    
    module MetasploitModule
    
      CachedSize = 353
    Severity: Minor
    Found in modules/payloads/stagers/windows/reverse_hop_http.rb - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status