#!/usr/bin/python

import sys
import socket

from lib.libexploit import CIngumaModule

"""
Oracle TimesTen 7.02 Remote DOS #3 for Inguma
Copyright (c) 2007 Joxean Koret <joxeankoret@yahoo.es>

License is GPL
"""

"""
Tested against Oracle TimesTen 7.02 on GNU/Linux.
"""

name = "oratt70dos3"
brief_description = "Oracle Times Ten 70 infinite loop #3"
type = "dos"
affects = ["Oracle TimesTen 7.02 and 7.03"]
description = """
Oracle TimesTen 7.0X is vulnerable to multiple remote denial of service conditions.
That one exploits a vulnerability found only in Linux versions.
"""
patch = "Fixed in version 7.0.5"
category = "dos"
discoverer = "Joxean Koret"
author = "Joxean Koret <joxeankoret@yahoo.es>"

class COraTt703(CIngumaModule):
    target = ""  # Main target
    port = 17000
    waitTime = 0
    timeout = 1
    exploitType = 1
    services = {}
    results = {}
    dict = None
    interactive = True

    def run(self):
        return True

    def printSummary(self):
        """ If the method run of the module returns True printSummary will called after """
        pass
