rapid7/metasploit-framework

View on GitHub
modules/post/windows/gather/tcpnetstat.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method parse_tcptable has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def parse_tcptable(buffer)
    entries = buffer[0, 4].unpack('V*')[0]
    print_status("Total TCP Entries: #{entries}")

    rtable = Rex::Text::Table.new(
Severity: Minor
Found in modules/post/windows/gather/tcpnetstat.rb - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status