Lucene search
K

Multi Generic Operating System Session Close

🗓️ 25 Aug 2011 19:07:18Reported by hdm <[email protected]>Type 
metasploit
 metasploit
🔗 www.rapid7.com👁 41 Views

This module closes specified session, useful as finisher for automation task

Code
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##

class MetasploitModule < Msf::Post

  def initialize(info = {})
    super(
      update_info(
        info,
        'Name' => 'Multi Generic Operating System Session Close',
        'Description' => %q{ This module closes the specified session. This can be useful as a finisher for automation tasks },
        'License' => MSF_LICENSE,
        'Author' => [ 'hdm' ],
        'Platform' => %w[linux osx unix win],
        'SessionTypes' => [ 'shell', 'meterpreter' ]
      )
    )
  end

  def run
    print_status("Closing session #{session.inspect}...")
    session.kill
  end
end

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

08 Feb 2023 13:47Current
10High risk
Vulners AI Score10
41