rapid7/metasploit-framework

View on GitHub
modules/exploits/windows/local/windscribe_windscribeservice_priv_esc.rb

Summary

Maintainability
A
3 hrs
Test Coverage

Method initialize has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def initialize(info = {})
    super(
      update_info(
        info,
        'Name' => 'Windscribe WindscribeService Named Pipe Privilege Escalation',

    Method write_named_pipe has 38 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      def write_named_pipe(pipe, command)
        kt = "\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
        kt << "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
        kt << "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
        kt << "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"

      There are no issues that match your filters.

      Category
      Status