id int64 0 458k | file_name stringlengths 4 119 | file_path stringlengths 14 227 | content stringlengths 24 9.96M | size int64 24 9.96M | language stringclasses 1
value | extension stringclasses 14
values | total_lines int64 1 219k | avg_line_length float64 2.52 4.63M | max_line_length int64 5 9.91M | alphanum_fraction float64 0 1 | repo_name stringlengths 7 101 | repo_stars int64 100 139k | repo_forks int64 0 26.4k | repo_open_issues int64 0 2.27k | repo_license stringclasses 12
values | repo_extraction_date stringclasses 433
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12,900 | MutationEvent.py | buffer_thug/thug/DOM/W3C/Events/MutationEvent.py | #!/usr/bin/env python
from .Event import Event
# Introduced in DOM Level 2
class MutationEvent(Event):
MODIFICATION = 1 # The Attr was just added
ADDITION = 2 # The Attr was modified in place
REMOVAL = 3 # The Attr was just removed
EventTypes = (
"DOMSubtreeModified",
"DOMNodeInse... | 1,557 | Python | .py | 55 | 20.981818 | 65 | 0.636913 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,901 | EventListener.py | buffer_thug/thug/DOM/W3C/Events/EventListener.py | #!/usr/bin/env python
import logging
log = logging.getLogger("Thug")
# Introduced in DOM Level 2
class EventListener:
def __init__(self): # pragma: no cover
pass
def handleEvent(self, evt): # pragma: no cover
log.debug("handleEvent(%s)", evt)
| 274 | Python | .py | 9 | 26.222222 | 51 | 0.673077 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,902 | UIEvent.py | buffer_thug/thug/DOM/W3C/Events/UIEvent.py | #!/usr/bin/env python
from .Event import Event
# Introduced in DOM Level 2
class UIEvent(Event):
EventTypes = ("DOMFocusIn", "DOMFocusOut", "DOMActivate")
def __init__(self):
Event.__init__(self)
self._view = None
self._detail = 0
@property
def view(self):
return sel... | 634 | Python | .py | 21 | 23.857143 | 82 | 0.647934 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,903 | MessageEvent.py | buffer_thug/thug/DOM/W3C/Events/MessageEvent.py | #!/usr/bin/env python
from .Event import Event
class MessageEvent(Event):
EventTypes = ("message",)
def __init__(self, event_type="message", options=None):
Event.__init__(self)
self.initMessageEvent(event_type, options)
def __init_options(self, options):
_options = dict(options)... | 1,174 | Python | .py | 32 | 29.8125 | 81 | 0.635398 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,904 | EventException.py | buffer_thug/thug/DOM/W3C/Events/EventException.py | #!/usr/bin/env python
from thug.DOM.JSClass import JSClass
# Introduced in DOM Level 2
class EventException(RuntimeError, JSClass):
UNSPECIFIED_EVENT_TYPE_ERR = (
0 # If the Event's type was not specified by initializing the event before the
)
# method was called. Specification of the Event's ty... | 477 | Python | .py | 12 | 34.75 | 87 | 0.698482 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,905 | DocumentEvent.py | buffer_thug/thug/DOM/W3C/Events/DocumentEvent.py | #!/usr/bin/env python
from thug.DOM.W3C.Core.DOMException import DOMException
from .HTMLEvent import HTMLEvent
from .MouseEvent import MouseEvent
from .MutationEvent import MutationEvent
from .StorageEvent import StorageEvent
from .UIEvent import UIEvent
EventMap = {
"HTMLEvent": HTMLEvent,
"HTMLEvents": HTM... | 828 | Python | .py | 26 | 27.5 | 62 | 0.739623 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,906 | Cookies.py | buffer_thug/thug/WebTracking/Cookies.py | #!/usr/bin/env python
#
# Cookies.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; w... | 3,120 | Python | .py | 73 | 34.424658 | 88 | 0.639485 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,907 | WebStorage.py | buffer_thug/thug/WebTracking/WebStorage.py | #!/usr/bin/env python
#
# WebStorage.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY... | 1,176 | Python | .py | 31 | 34.741935 | 75 | 0.725594 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,908 | WebTracking.py | buffer_thug/thug/WebTracking/WebTracking.py | #!/usr/bin/env python
#
# WebTracking.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANT... | 1,594 | Python | .py | 41 | 33.95122 | 70 | 0.722727 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,909 | ThugPlugins.py | buffer_thug/thug/Plugins/ThugPlugins.py | #!/usr/bin/env python
#
# ThugPlugins.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANT... | 3,438 | Python | .py | 92 | 28.641304 | 73 | 0.605778 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,910 | IPlugin.py | buffer_thug/thug/Plugins/IPlugin.py | #!/usr/bin/env python
#
# IPlugin.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; w... | 956 | Python | .py | 27 | 32.037037 | 70 | 0.731892 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,911 | Handler.py | buffer_thug/thug/Plugins/plugins/POST-TestPlugin-999/Handler.py | #!/usr/bin/env python
#
# TestPlugin.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY... | 878 | Python | .py | 24 | 34.583333 | 70 | 0.772941 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,912 | Handler.py | buffer_thug/thug/Plugins/plugins/PRE-TestPlugin-999/Handler.py | #!/usr/bin/env python
#
# TestPlugin.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY... | 878 | Python | .py | 24 | 34.583333 | 70 | 0.772941 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,913 | Windows.py | buffer_thug/thug/OS/Windows.py | #!/usr/bin/env python
#
# Windows.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; w... | 3,503 | Python | .py | 149 | 19.161074 | 102 | 0.622946 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,914 | Encoding.py | buffer_thug/thug/Encoding/Encoding.py | #!/usr/bin/env python
#
# Encoding.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; ... | 878 | Python | .py | 24 | 33.916667 | 70 | 0.756471 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,915 | BaseLogging.py | buffer_thug/thug/Logging/BaseLogging.py | #!/usr/bin/env python
#
# BaseLogging.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANT... | 2,546 | Python | .py | 75 | 25.92 | 72 | 0.603997 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,916 | LoggingModules.py | buffer_thug/thug/Logging/LoggingModules.py | #!/usr/bin/env python
#
# LoggingModules.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARR... | 902 | Python | .py | 25 | 34.52 | 70 | 0.780571 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,917 | ThugLogging.py | buffer_thug/thug/Logging/ThugLogging.py | #!/usr/bin/env python
#
# ThugLogging.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANT... | 15,290 | Python | .py | 386 | 29.642487 | 101 | 0.586701 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,918 | SampleLogging.py | buffer_thug/thug/Logging/SampleLogging.py | #!/usr/bin/env python
#
# SampleLogging.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRA... | 4,945 | Python | .py | 135 | 28.837037 | 82 | 0.605787 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,919 | Features.py | buffer_thug/thug/Logging/Features.py | #!/usr/bin/env python
#
# Features.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; ... | 3,897 | Python | .py | 115 | 26.008696 | 70 | 0.618655 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,920 | ElasticSearch.py | buffer_thug/thug/Logging/modules/ElasticSearch.py | #!/usr/bin/env python
#
# ElasticSearch.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRA... | 2,479 | Python | .py | 66 | 31.212121 | 84 | 0.673786 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,921 | MongoDB.py | buffer_thug/thug/Logging/modules/MongoDB.py | #!/usr/bin/env python
#
# MongoDB.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; w... | 16,005 | Python | .py | 449 | 25.106904 | 87 | 0.544665 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,922 | ExploitGraph.py | buffer_thug/thug/Logging/modules/ExploitGraph.py | #!/usr/bin/env python
#
# ExploitGraph.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRAN... | 1,293 | Python | .py | 33 | 35.878788 | 83 | 0.74361 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,923 | Mapper.py | buffer_thug/thug/Logging/modules/Mapper.py | #!/usr/bin/env python
#
# Mapper.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; wi... | 10,257 | Python | .py | 285 | 26.207018 | 113 | 0.56214 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,924 | JSON.py | buffer_thug/thug/Logging/modules/JSON.py | #!/usr/bin/env python
#
# JSON.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; with... | 13,218 | Python | .py | 365 | 24.852055 | 88 | 0.52015 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,925 | ActiveX.py | buffer_thug/thug/ActiveX/ActiveX.py | #!/usr/bin/env python
#
# ActiveX.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; w... | 7,458 | Python | .py | 182 | 31.994505 | 86 | 0.61761 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,926 | CLSID.py | buffer_thug/thug/ActiveX/CLSID.py | #!/usr/bin/env python
#
# CLSID.py
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; wit... | 47,758 | Python | .py | 1,641 | 20.490555 | 106 | 0.53898 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,927 | VisualStudioDTE80.py | buffer_thug/thug/ActiveX/modules/VisualStudioDTE80.py | import logging
log = logging.getLogger("Thug")
def CreateObject(self, _object, param=""): # pylint:disable=unused-argument
from thug import ActiveX
log.ThugLogging.add_behavior_warn(
f"[VisualStudio.DTE.8.0 ActiveX] CreateObject ({_object})"
)
log.ThugLogging.log_exploit_event(
self... | 527 | Python | .py | 15 | 29 | 76 | 0.672584 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,928 | NessusScanCtrl.py | buffer_thug/thug/ActiveX/modules/NessusScanCtrl.py | # Nessus Vunlnerability Scanner ScanCtrl ActiveX Control
# CVE-2007-4061, CVE-2007-4062, CVE-2007-4031
import logging
log = logging.getLogger("Thug")
def deleteReport(self, arg):
log.ThugLogging.add_behavior_warn(
f"[Nessus Vunlnerability Scanner ScanCtrl ActiveX] deleteReport({arg})",
"CVE-2007... | 2,210 | Python | .py | 60 | 30 | 96 | 0.661049 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,929 | YahooMessengerCyft.py | buffer_thug/thug/ActiveX/modules/YahooMessengerCyft.py | # Yahoo! Messenger 8.x CYTF ActiveX Control
import logging
log = logging.getLogger("Thug")
def GetFile(self, url, local, arg2, arg3, cmd): # pylint:disable=unused-argument
log.ThugLogging.add_behavior_warn(f"[Yahoo! Messenger 8.x CYTF] Downloading {url}")
log.ThugLogging.log_exploit_event(
self._wi... | 446 | Python | .py | 12 | 31.5 | 87 | 0.672093 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,930 | MicrosoftXMLDOM.py | buffer_thug/thug/ActiveX/modules/MicrosoftXMLDOM.py | # Microsoft XMLDOM
import logging
import base64
import binascii
log = logging.getLogger("Thug")
class Node:
def __init__(self, xml, elementName):
self._nodeTypedValue = None
self._dataType = None
self._xml = xml
self._node = xml.createElement(elementName)
self.text = ""
... | 2,119 | Python | .py | 56 | 29.160714 | 69 | 0.625428 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,931 | AolAmpX.py | buffer_thug/thug/ActiveX/modules/AolAmpX.py | # AOL Radio AOLMediaPlaybackControl.exe
# CVE-2007-6250
import logging
log = logging.getLogger("Thug")
def AppendFileToPlayList(self, arg):
if len(arg) > 512:
log.ThugLogging.log_exploit_event(
self._window.url,
"AOL Radio AOLMediaPlaybackControl ActiveX",
"Overflow i... | 948 | Python | .py | 24 | 31.166667 | 87 | 0.65393 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,932 | CGAgent.py | buffer_thug/thug/ActiveX/modules/CGAgent.py | # Chinagames iGame CGAgent ActiveX Control Buffer Overflow
# CVE-2009-1800
import logging
log = logging.getLogger("Thug")
def CreateChinagames(self, arg0):
if len(arg0) > 428:
log.ThugLogging.log_exploit_event(
self._window.url,
"CGAgent ActiveX",
"CreateChinagames Me... | 531 | Python | .py | 14 | 30.571429 | 87 | 0.673828 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,933 | RegistryPro.py | buffer_thug/thug/ActiveX/modules/RegistryPro.py | # Registry Pro (epRegPro.ocx)
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def DeleteKey(self, arg0, arg1):
if arg0 in (
80000001,
80000002,
):
log.ThugLogging.add_behavior_warn(
f"[RegistryPro ActiveX] Deleting [HKEY_LOCAL_MACHINE/{arg1}]"
)
... | 684 | Python | .py | 21 | 25 | 75 | 0.621005 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,934 | ShellApplication.py | buffer_thug/thug/ActiveX/modules/ShellApplication.py | import re
import logging
log = logging.getLogger("Thug")
def ShellExecute(self, sFile, vArguments="", vDirectory="", vOperation="open", vShow=1):
cmdLine = f"{sFile} {vArguments}"
urls = re.findall(
r"http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+",
cmdLine.rep... | 1,184 | Python | .py | 34 | 26.588235 | 90 | 0.562937 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,935 | OurgameGLWorld.py | buffer_thug/thug/ActiveX/modules/OurgameGLWorld.py | # Ourgame GLWorld HanGamePluginCn18 Class ActiveX Control
# CVE-2008-0647
import logging
log = logging.getLogger("Thug")
def hgs_startGame(self, arg):
if len(arg) > 1000:
log.ThugLogging.log_exploit_event(
self._window.url,
"Ourgame GLWorld ActiveX",
"Overflow in hgs_... | 919 | Python | .py | 24 | 29.958333 | 87 | 0.643743 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,936 | SymantecBackupExec.py | buffer_thug/thug/ActiveX/modules/SymantecBackupExec.py | # Symantec BackupExec
# CVE-2007-6016,CVE-2007-6017
import logging
log = logging.getLogger("Thug")
def Set_DOWText0(self, val):
self.__dict__["_DOWText0"] = val
if len(val) > 255:
log.ThugLogging.log_exploit_event(
self._window.url,
"Symantec BackupExec ActiveX",
... | 1,949 | Python | .py | 50 | 30.46 | 87 | 0.626397 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,937 | ShockwaveFlash9.py | buffer_thug/thug/ActiveX/modules/ShockwaveFlash9.py | import logging
log = logging.getLogger("Thug")
def GetVariable(self, arg): # pylint:disable=unused-argument
if arg in ("$version",):
version = ["0", "0", "0", "0"]
idx = 0
for p in log.ThugVulnModules.shockwave_flash.split("."):
version[idx] = p
idx += 1
... | 390 | Python | .py | 11 | 28.090909 | 64 | 0.565684 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,938 | ShockwaveFlash10.py | buffer_thug/thug/ActiveX/modules/ShockwaveFlash10.py | import logging
log = logging.getLogger("Thug")
def GetVariable(self, arg): # pylint:disable=unused-argument
if arg in ("$version",):
version = ["0", "0", "0", "0"]
idx = 0
for p in log.ThugVulnModules.shockwave_flash.split("."):
version[idx] = p
idx += 1
... | 390 | Python | .py | 11 | 28.090909 | 64 | 0.565684 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,939 | MicrosoftXMLHTTP.py | buffer_thug/thug/ActiveX/modules/MicrosoftXMLHTTP.py | # Microsoft XMLHTTP
import logging
# from urllib.parse import urlparse
# from urllib.parse import urlunparse
from lxml.html import builder as E
from lxml.html import tostring
from thug import DOM
log = logging.getLogger("Thug")
# XMLHttpRequest.readyState
#
# Value State Description
# 0 UNSENT ... | 7,787 | Python | .py | 196 | 33.204082 | 119 | 0.656699 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,940 | DPClient.py | buffer_thug/thug/ActiveX/modules/DPClient.py | # Xunlei DPClient.Vod.1 ActiveX Control DownURL2 Method Remote Buffer Overflow Vulnerability
# CVE-2007-5064
import logging
log = logging.getLogger("Thug")
def DownURL2(self, arg0, *args): # pylint:disable=unused-argument
if len(arg0) > 1024:
log.ThugLogging.log_exploit_event(
self._window.... | 605 | Python | .py | 14 | 35.857143 | 92 | 0.6843 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,941 | QuantumStreaming.py | buffer_thug/thug/ActiveX/modules/QuantumStreaming.py | # Move Networks Quantum Streaming Player Control
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def UploadLogs(self, url, arg): # pylint:disable=unused-argument
if len(url) > 20000:
log.ThugLogging.log_exploit_event(
self._window.url,
"Move Networks Quantum Streami... | 458 | Python | .py | 12 | 31.5 | 69 | 0.692308 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,942 | WebViewFolderIcon.py | buffer_thug/thug/ActiveX/modules/WebViewFolderIcon.py | # Microsoft Internet Explorer 6 WebViewFolderIcon
# CVE-2006-3730
import logging
log = logging.getLogger("Thug")
def setSlice(self, arg0, arg1, arg2, arg3):
log.ThugLogging.add_behavior_warn(
f"[WebViewFolderIcon ActiveX] setSlice({arg0}, {arg1}, {arg2}, {arg3})"
)
if arg0 == 0x7FFFFFFE:
... | 590 | Python | .py | 16 | 29.8125 | 87 | 0.652021 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,943 | ScriptingDictionary.py | buffer_thug/thug/ActiveX/modules/ScriptingDictionary.py | import logging
log = logging.getLogger("Thug")
def Add(self, key, item):
msg = f'[Scripting.Dictionary ActiveX] Add("{key}", "{item}")'
log.ThugLogging.add_behavior_warn(msg)
if key not in self.dictionary:
self.Count += 1
self.dictionary[key] = item
def Exists(self, key):
return key i... | 1,032 | Python | .py | 29 | 30.62069 | 66 | 0.697154 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,944 | ZenturiProgramCheckerAttack.py | buffer_thug/thug/ActiveX/modules/ZenturiProgramCheckerAttack.py | import logging
log = logging.getLogger("Thug")
def DownloadFile(self, *arg):
log.ThugLogging.add_behavior_warn(
"[ZenturiProgramChecker ActiveX] Attack in DownloadFile function"
)
log.ThugLogging.add_behavior_warn(
f"[ZenturiProgramChecker ActiveX] Downloading from {arg[0]}"
)
lo... | 1,660 | Python | .py | 47 | 28.510638 | 78 | 0.681421 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,945 | AolICQ.py | buffer_thug/thug/ActiveX/modules/AolICQ.py | # AOL ICQ ActiveX Arbitrary File Download and Execut
# CVE-2006-5650
import logging
log = logging.getLogger("Thug")
def DownloadAgent(self, url):
log.ThugLogging.log_exploit_event(
self._window.url,
"AOL ICQ ActiveX",
"Arbitrary File Download and Execute",
cve="CVE-2006-5650",
... | 736 | Python | .py | 18 | 35.111111 | 84 | 0.692416 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,946 | NamoInstaller.py | buffer_thug/thug/ActiveX/modules/NamoInstaller.py | # NamoInstaller ActiveX Control 1.x - 3.x
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def Install(self, arg):
if len(arg) > 1024:
log.ThugLogging.log_exploit_event(
self._window.url, "NamoInstaller ActiveX", "Overflow in Install method"
)
log.ThugLogging.Shel... | 972 | Python | .py | 25 | 30.16 | 85 | 0.62845 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,947 | EnjoySAP.py | buffer_thug/thug/ActiveX/modules/EnjoySAP.py | import logging
log = logging.getLogger("Thug")
def LaunchGui(self, arg0, arg1, arg2): # pylint:disable=unused-argument
if len(arg0) > 1500:
log.ThugLogging.log_exploit_event(
self._window.url, "EnjoySAP ActiveX", "LaunchGUI overflow in arg0"
)
log.ThugLogging.Shellcode.check_... | 1,170 | Python | .py | 30 | 32.066667 | 85 | 0.673451 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,948 | RediffBolDownloaderAttack.py | buffer_thug/thug/ActiveX/modules/RediffBolDownloaderAttack.py | import logging
log = logging.getLogger("Thug")
def Seturl(self, val):
self.__dict__["url"] = val
log.ThugLogging.log_exploit_event(
self._window.url, "RediffBolDownloader ActiveX", "Overflow in url property"
)
log.ThugLogging.Shellcode.check_shellcode(val)
| 285 | Python | .py | 8 | 31.125 | 83 | 0.714286 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,949 | YahooMessengerYwcvwr.py | buffer_thug/thug/ActiveX/modules/YahooMessengerYwcvwr.py | # Yahoo! Messenger 8.x Ywcvwr ActiveX Control
# CVE-2007-4391
import logging
log = logging.getLogger("Thug")
def Setserver(self, name):
self.__dict__["server"] = name
if len(name) > 255:
log.ThugLogging.log_exploit_event(
self._window.url,
"Yahoo! Messenger 8.x Ywcvwr Active... | 1,102 | Python | .py | 30 | 30.566667 | 83 | 0.68685 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,950 | ShockwaveFlash11.py | buffer_thug/thug/ActiveX/modules/ShockwaveFlash11.py | import logging
log = logging.getLogger("Thug")
def GetVariable(self, arg): # pylint:disable=unused-argument
if arg in ("$version",):
version = ["0", "0", "0", "0"]
idx = 0
for p in log.ThugVulnModules.shockwave_flash.split("."):
version[idx] = p
idx += 1
... | 390 | Python | .py | 11 | 28.090909 | 64 | 0.565684 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,951 | DirectShow.py | buffer_thug/thug/ActiveX/modules/DirectShow.py | # Microsoft DirectShow MPEG2TuneRequest Component Stack Overflow(MS09-032)
# CVE-2008-0015,CVE-2008-0020
import logging
log = logging.getLogger("Thug")
def Setdata(self, val):
self.__dict__["data"] = val
log.ThugLogging.log_exploit_event(
self._window.url,
"Microsoft DirectShow MPEG2TuneRequ... | 548 | Python | .py | 14 | 34.071429 | 83 | 0.720227 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,952 | SilverLight.py | buffer_thug/thug/ActiveX/modules/SilverLight.py | import logging
log = logging.getLogger("Thug")
def isVersionSupported(self, version): # pylint:disable=unused-argument
log.ThugLogging.add_behavior_warn(f"[SilverLight] isVersionSupported('{version}')")
return log.ThugVulnModules.silverlight.startswith(version)
| 274 | Python | .py | 5 | 51.6 | 87 | 0.800752 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,953 | StreamAudioChainCast.py | buffer_thug/thug/ActiveX/modules/StreamAudioChainCast.py | # StreamAudio ChainCast VMR Client Proxy ActiveX Control 3.x
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def InternalTuneIn(self, arg0, arg1, arg2, arg3, arg4): # pylint:disable=unused-argument
if len(arg0) > 248:
log.ThugLogging.log_exploit_event(
self._window.url,
... | 480 | Python | .py | 12 | 33.333333 | 89 | 0.689655 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,954 | HPInfo.py | buffer_thug/thug/ActiveX/modules/HPInfo.py | # HP Info Center ActiveX Control
# CVE-2007-6331, CVE-2007-6332, CVE-2007-6333
import logging
log = logging.getLogger("Thug")
def LaunchApp(self, prog, args, unk): # pylint:disable=unused-argument
log.ThugLogging.add_behavior_warn(
f"[HP Info Center ActiveX] LaunchApp called to run: {prog} {args}",
... | 2,728 | Python | .py | 79 | 27.367089 | 90 | 0.623194 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,955 | GomWeb.py | buffer_thug/thug/ActiveX/modules/GomWeb.py | # GOM Player GOM Manager ActiveX Control
# CVE-2007-5779
import logging
log = logging.getLogger("Thug")
def OpenURL(self, arg):
if len(arg) > 500:
log.ThugLogging.log_exploit_event(
self._window.url,
"GOM Player Manager ActiveX",
"Overflow in OpenURL",
cve... | 492 | Python | .py | 14 | 27.785714 | 87 | 0.646934 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,956 | JavaDeploymentToolkit.py | buffer_thug/thug/ActiveX/modules/JavaDeploymentToolkit.py | import logging
log = logging.getLogger("Thug")
def launch(self, arg):
log.ThugLogging.add_behavior_warn(
f"[Java Deployment Toolkit ActiveX] Launching: {arg}"
)
tokens = arg.split(" ")
if tokens[0].lower() != "http:":
return
for token in tokens[1:]:
if not token.lower().... | 1,750 | Python | .py | 47 | 27.723404 | 91 | 0.606742 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,957 | FileUploader.py | buffer_thug/thug/ActiveX/modules/FileUploader.py | # Lycos FileUploader Module 2.x
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def SetHandwriterFilename(self, val):
self.__dict__["HandwriterFilename"] = val
if len(val) > 1024:
log.ThugLogging.log_exploit_event(
self._window.url,
"Lycos FileUploader ActiveX",... | 441 | Python | .py | 13 | 27.307692 | 54 | 0.673759 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,958 | Kingsoft.py | buffer_thug/thug/ActiveX/modules/Kingsoft.py | # Kingsoft Antivirus
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def SetUninstallName(self, arg):
if len(arg) > 900:
log.ThugLogging.log_exploit_event(
self._window.url,
"Kingsoft AntiVirus ActiveX",
"SetUninstallName Heap Overflow",
)
... | 368 | Python | .py | 12 | 24 | 54 | 0.664773 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,959 | SinaDLoader.py | buffer_thug/thug/ActiveX/modules/SinaDLoader.py | # Sina DLoader Class ActiveX Control 'DonwloadAndInstall'
# Method Arbitrary File Download Vulnerability
import logging
log = logging.getLogger("Thug")
def DownloadAndInstall(self, url):
log.ThugLogging.add_behavior_warn(
f"[SinaDLoader Downloader ActiveX] Fetching from URL {url}"
)
log.ThugLogg... | 752 | Python | .py | 21 | 29.428571 | 79 | 0.69146 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,960 | WScriptShell.py | buffer_thug/thug/ActiveX/modules/WScriptShell.py | import string
import time
import random
import re
import logging
import hashlib
import pefile
from thug.ActiveX.modules.WScriptExec import WScriptExec
from thug.OS.Windows import win32_registry
from thug.OS.Windows import win32_registry_map
log = logging.getLogger("Thug")
class _Environment:
def __init__(self, ... | 8,198 | Python | .py | 225 | 29.12 | 99 | 0.642261 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,961 | InternetCleverSuite.py | buffer_thug/thug/ActiveX/modules/InternetCleverSuite.py | # Clever Internet ActiveX Suite 6.2 (CLINETSUITEX6.OCX) Arbitrary file download/overwrite Exploit
import logging
log = logging.getLogger("Thug")
def GetToFile(self, url, _file):
log.ThugLogging.log_exploit_event(
self._window.url,
"Clever Internet ActiveX Suite 6.2 (CLINETSUITEX6.OCX)",
... | 413 | Python | .py | 10 | 35.9 | 97 | 0.704261 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,962 | BitDefender.py | buffer_thug/thug/ActiveX/modules/BitDefender.py | # BitDefender Online Scanner ActiveX Control
# CVE-2007-5775
import logging
log = logging.getLogger("Thug")
def initx(self, arg):
if len(arg) > 1024:
log.ThugLogging.log_exploit_event(
self._window.url,
"BitDefender Online Scanner ActiveX",
"InitX overflow",
... | 498 | Python | .py | 14 | 28.214286 | 87 | 0.655532 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,963 | PPlayer.py | buffer_thug/thug/ActiveX/modules/PPlayer.py | # Xunlei Thunder PPLAYER.DLL_1.WORK ActiveX Control
import logging
log = logging.getLogger("Thug")
def DownURL2(self, arg0, arg1, arg2, arg3): # pylint:disable=unused-argument
if len(arg0) > 1024:
log.ThugLogging.log_exploit_event(
self._window.url, "Xunlei Thunder PPlayer ActiveX", "DownUR... | 1,066 | Python | .py | 27 | 31.592593 | 83 | 0.654033 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,964 | GatewayWeblaunch.py | buffer_thug/thug/ActiveX/modules/GatewayWeblaunch.py | # Gateway Weblaunch ActiveX Control
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def DoWebLaunch(self, arg0, arg1, arg2, arg3): # pylint:disable=unused-argument
if len(arg1) > 512 or len(arg3) > 512:
log.ThugLogging.log_exploit_event(
self._window.url, "Gateway Weblaunch Act... | 677 | Python | .py | 20 | 25.65 | 80 | 0.611026 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,965 | File.py | buffer_thug/thug/ActiveX/modules/File.py | import logging
from thug.ActiveX.modules import TextStream
log = logging.getLogger("Thug")
ATTRIBUTES = {
"Normal": 0, # Normal file. No attributes are set.
"ReadOnly": 1, # Read-only file. Attribute is read/write.
"Hidden": 2, # Hidden file. Attribute is read/write.
"System": 4, # System file. ... | 3,094 | Python | .py | 83 | 28.120482 | 82 | 0.561704 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,966 | Gogago.py | buffer_thug/thug/ActiveX/modules/Gogago.py | # Gogago YouTube Video Converter Buffer Overflow
# HTB23012
import logging
log = logging.getLogger("Thug")
def Download(self, arg):
if len(arg) > 1024:
log.ThugLogging.log_exploit_event(
self._window.url,
"Gogago YouTube Video Converter ActiveX",
"Buffer Overflow",
... | 383 | Python | .py | 12 | 25.25 | 54 | 0.667575 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,967 | ScriptingEncoder.py | buffer_thug/thug/ActiveX/modules/ScriptingEncoder.py | import logging
log = logging.getLogger("Thug")
def EncodeScriptFile(self, strExt, byte_stream, cFlags, bstrDefaultLang): # pylint:disable=unused-argument
msg = f'[Scripting.Encoder ActiveX] EncodeScriptFile("{strExt}", "{byte_stream}", {cFlags}, "{bstrDefaultLang}")'
log.ThugLogging.add_behavior_warn(msg)
... | 342 | Python | .py | 6 | 53.5 | 117 | 0.753754 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,968 | DivX.py | buffer_thug/thug/ActiveX/modules/DivX.py | # DivX Player 6.6.0 ActiveX Control
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def SetPassword(self, arg0):
if len(arg0) > 128:
log.ThugLogging.log_exploit_event(
self._window.url, "DivX Player ActiveX", "Overflow in SetPassword"
)
log.ThugLogging.Shellcode.... | 342 | Python | .py | 10 | 28.8 | 78 | 0.695122 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,969 | AOLAttack.py | buffer_thug/thug/ActiveX/modules/AOLAttack.py | import logging
log = logging.getLogger("Thug")
def LinkSBIcons(self):
log.ThugLogging.log_exploit_event(
self._window.url,
"AOL ActiveX",
"Attack in LinkSBIcons function",
cve="CVE-2006-5820",
)
log.ThugLogging.log_classifier("exploit", log.ThugLogging.url, "CVE-2006-5820... | 323 | Python | .py | 10 | 26.5 | 83 | 0.676375 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,970 | VsaIDEDTE.py | buffer_thug/thug/ActiveX/modules/VsaIDEDTE.py | import logging
log = logging.getLogger("Thug")
def CreateObject(self, _object, param=""): # pylint:disable=unused-argument
from thug import ActiveX
log.ThugLogging.add_behavior_warn(f"[VsaIDE.DTE ActiveX] CreateObject ({_object})")
log.ThugLogging.log_exploit_event(
self._window.url,
"V... | 493 | Python | .py | 13 | 31.923077 | 87 | 0.684211 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,971 | AcroPDF.py | buffer_thug/thug/ActiveX/modules/AcroPDF.py | import logging
log = logging.getLogger("Thug")
def GetVersions(self): # pylint:disable=unused-argument
versions = ""
for feature in (
"Accessibility",
"AcroForm",
"Annots",
"Checkers",
"DigSig",
"DVA",
"eBook",
"EScript",
"HLS",
... | 871 | Python | .py | 35 | 17.285714 | 67 | 0.545235 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,972 | Spreadsheet.py | buffer_thug/thug/ActiveX/modules/Spreadsheet.py | # OWC10/11.Spreadsheet ActiveX
# CVE-2009-1136
import logging
log = logging.getLogger("Thug")
def _Evaluate(self, *args): # pylint:disable=unused-argument
log.ThugLogging.log_exploit_event(
self._window.url,
"OWC 10/11.Spreadsheet ActiveX",
"Attack in _Evaluate function",
cve="C... | 754 | Python | .py | 20 | 31.9 | 83 | 0.68595 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,973 | VsmIDEDTE.py | buffer_thug/thug/ActiveX/modules/VsmIDEDTE.py | import logging
log = logging.getLogger("Thug")
def CreateObject(self, _object, param=""): # pylint:disable=unused-argument
from thug import ActiveX
log.ThugLogging.add_behavior_warn(f"[VsmIDE.DTE ActiveX] CreateObject ({_object})")
log.ThugLogging.log_exploit_event(
self._window.url,
"V... | 493 | Python | .py | 13 | 31.923077 | 87 | 0.684211 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,974 | BaiduBar.py | buffer_thug/thug/ActiveX/modules/BaiduBar.py | # BaiduBar.dll ActiveX DloadDS() Remote Code Execution Vulnerability
# BUGTRAQ ID: 25121
import logging
log = logging.getLogger("Thug")
def DloadDS(self, arg0, arg1, arg2): # pylint:disable=unused-argument
if str(arg0).lower().find(".cab") != -1:
log.ThugLogging.add_behavior_warn(
f"[Baidu... | 620 | Python | .py | 16 | 30.75 | 80 | 0.631667 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,975 | WMEncProfileManager.py | buffer_thug/thug/ActiveX/modules/WMEncProfileManager.py | # Microsoft Windows Media Encoder WMEX.DLL ActiveX BufferOverflow vulnerability
# CVE-2008-3008
import logging
log = logging.getLogger("Thug")
def GetDetailsString(self, arg0, arg1): # pylint:disable=unused-argument
if len(arg0) > 1023:
log.ThugLogging.add_behavior_warn(
"[Microsoft Windows... | 815 | Python | .py | 18 | 37.055556 | 105 | 0.685209 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,976 | StormMps.py | buffer_thug/thug/ActiveX/modules/StormMps.py | # MPS.StormPlayer.1 'advanceOpen'
# CVE
import logging
log = logging.getLogger("Thug")
def advancedOpen(self, arg0, arg1): # pylint:disable=unused-argument
if len(arg0) > 259:
log.ThugLogging.log_exploit_event(
self._window.url, "MPS.StormPlayer.1 ActiveX", "advanceOpen Method Overflow"
... | 2,028 | Python | .py | 51 | 32.196078 | 88 | 0.659857 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,977 | Move.py | buffer_thug/thug/ActiveX/modules/Move.py | # Move Networks Upgrade Manager 1.x
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def Upgrade(self, arg0, arg1, arg2, arg3): # pylint:disable=unused-argument
if len(arg0) > 6000:
log.ThugLogging.log_exploit_event(
self._window.url,
"Move Networks Upgrade Manager A... | 430 | Python | .py | 12 | 29.166667 | 76 | 0.669082 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,978 | MSRICHTXT.py | buffer_thug/thug/ActiveX/modules/MSRICHTXT.py | # Microsoft Rich Textbox Control 6.0 (SP6)
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def SaveFile(self, path, arg): # pylint:disable=unused-argument
log.ThugLogging.add_behavior_warn(
f"[Microsoft Rich Textbox Control ActiveX] Writing to file {str(path)}"
)
log.ThugLogging.ad... | 652 | Python | .py | 18 | 30.555556 | 79 | 0.67619 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,979 | WinNTSystemInfo.py | buffer_thug/thug/ActiveX/modules/WinNTSystemInfo.py | import string
import random
import logging
log = logging.getLogger("Thug")
def GetComputerName(self): # pylint:disable=unused-argument
log.ThugLogging.add_behavior_warn("[WinNTSystemInfo ActiveX] Getting ComputerName")
nlen = random.randint(6, 10)
computerName = "".join(
random.choice(string.as... | 1,358 | Python | .py | 34 | 34.794118 | 87 | 0.718439 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,980 | Domino.py | buffer_thug/thug/ActiveX/modules/Domino.py | # IBM Lotus Domino Web Access Control ActiveX Control
# CVE-2007-4474
import logging
log = logging.getLogger("Thug")
def SetGeneral_ServerName(self, val):
self.__dict__["General_ServerName"] = val
if len(val) > 1024:
log.ThugLogging.log_exploit_event(
self._window.url,
"IBM ... | 1,651 | Python | .py | 39 | 34.051282 | 87 | 0.657268 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,981 | YahooJukebox.py | buffer_thug/thug/ActiveX/modules/YahooJukebox.py | # Yahoo! Music Jukebox 2.x
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def AddBitmap(self, arg0, arg1, arg2, arg3, arg4, arg5): # pylint:disable=unused-argument
if len(arg1) > 256:
log.ThugLogging.log_exploit_event(
self._window.url, "Yahoo! Music Jukebox ActiveX", "Overflo... | 976 | Python | .py | 22 | 37.545455 | 90 | 0.682875 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,982 | SymantecAppStream.py | buffer_thug/thug/ActiveX/modules/SymantecAppStream.py | # Symantec AppStream LaunchObj ActiveX Arbitrary File Download and Execute
# CVE-2008-4388
import logging
log = logging.getLogger("Thug")
def installAppMgr(self, url):
log.ThugLogging.log_exploit_event(
self._window.url,
"Symantec AppStream LaunchObj ActiveX",
"Arbitrary File Download an... | 854 | Python | .py | 22 | 32.454545 | 83 | 0.692494 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,983 | RisingScanner.py | buffer_thug/thug/ActiveX/modules/RisingScanner.py | # Rising Online Virus Scanner Web Scan ActiveX Control
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def UpdateEngine(self):
log.ThugLogging.log_exploit_event(
self._window.url,
"Rising Online Virus Scanner Web Scan ActiveX",
"UpdateEngine Method vulnerability",
)
| 316 | Python | .py | 10 | 27 | 55 | 0.731788 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,984 | Toshiba.py | buffer_thug/thug/ActiveX/modules/Toshiba.py | # Toshiba Surveillance (Surveillix) RecordSend Class (MeIpCamX.DLL 1.0.0.4)
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def SetPort(self, arg):
if len(arg) > 10:
log.ThugLogging.log_exploit_event(
self._window.url,
"Toshiba Surveillance RecordSend Class ActiveX",... | 713 | Python | .py | 20 | 27.95 | 75 | 0.653566 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,985 | PTZCamPanel.py | buffer_thug/thug/ActiveX/modules/PTZCamPanel.py | # RTS Sentry Digital Surveillance PTZCamPanel Class (CamPanel.dll 2.1.0.2)
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def ConnectServer(self, server, user): # pylint:disable=unused-argument
if len(user) > 1024:
log.ThugLogging.log_exploit_event(
self._window.url,
... | 462 | Python | .py | 12 | 31.833333 | 74 | 0.686099 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,986 | WinZip.py | buffer_thug/thug/ActiveX/modules/WinZip.py | # WinZip FileView ActiveX Control
# CVE-2006-3890,CVE-2006-5198,CVE-2006-6884
import logging
log = logging.getLogger("Thug")
def CreateNewFolderFromName(self, arg):
if len(arg) > 230:
log.ThugLogging.log_exploit_event(
self._window.url,
"WinZip ActiveX",
"CreateNewFol... | 530 | Python | .py | 14 | 30.5 | 87 | 0.671233 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,987 | __init__.py | buffer_thug/thug/ActiveX/modules/__init__.py | __all__ = [
"AcroPDF",
"AdodbStream",
"AnswerWorks",
"AolAmpX",
"AolICQ",
"AOLAttack",
"BaiduBar",
"BitDefender",
"CABrightStor",
"CGAgent",
"Comodo",
"ConnectAndEnterRoom",
"CreativeSoftAttack",
"DirectShow",
"DivX",
"DLinkMPEG",
"Domino",
"DPClie... | 2,079 | Python | .py | 101 | 15.663366 | 40 | 0.645096 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,988 | GLIEDown2.py | buffer_thug/thug/ActiveX/modules/GLIEDown2.py | # Ourgame GLWorld GLIEDown2.dll ActiveX Control Vulnerabilities
import logging
log = logging.getLogger("Thug")
def IEStartNative(self, arg0, arg1, arg2): # pylint:disable=unused-argument
if len(arg0) > 220:
log.ThugLogging.log_exploit_event(
self._window.url,
"Ourgame GLWorld GL... | 460 | Python | .py | 11 | 34.636364 | 76 | 0.698876 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,989 | WScriptNetwork.py | buffer_thug/thug/ActiveX/modules/WScriptNetwork.py | import logging
import random
import string
from thug.ActiveX.modules import WScriptShell
from thug.ActiveX.modules import WScriptCollection
log = logging.getLogger("Thug")
def EnumPrinterConnections(self): # pylint:disable=unused-argument
log.ThugLogging.add_behavior_warn(
"[WScript.Network ActiveX] Go... | 1,726 | Python | .py | 44 | 34.022727 | 79 | 0.701987 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,990 | CABrightStor.py | buffer_thug/thug/ActiveX/modules/CABrightStor.py | # CA BrightStor
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def AddColumn(self, arg0, arg1): # pylint:disable=unused-argument
if len(arg0) > 100:
log.ThugLogging.log_exploit_event(
self._window.url, "CA BrightStor ActiveX", "Overflow in AddColumn"
)
log.Thug... | 360 | Python | .py | 10 | 30.6 | 78 | 0.699422 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,991 | Comodo.py | buffer_thug/thug/ActiveX/modules/Comodo.py | # Comodo AntiVirus 2.0
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def ExecuteStr(self, cmd, args):
log.ThugLogging.add_behavior_warn(
"[Comodo AntiVirus ActiveX] Trying to execute: " + cmd + " " + args
)
log.ThugLogging.log_exploit_event(
self._window.url,
"Como... | 446 | Python | .py | 15 | 24.2 | 75 | 0.639344 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,992 | DLinkMPEG.py | buffer_thug/thug/ActiveX/modules/DLinkMPEG.py | # D-Link MPEG4 SHM Audio Control
# CVE-NOMATCH
import logging
log = logging.getLogger("Thug")
def SetUrl(self, val):
self.__dict__["Url"] = val
if len(val) > 1024:
log.ThugLogging.log_exploit_event(
self._window.url,
"D-Link MPEG4 SHM Audio Control ActiveX",
"Over... | 408 | Python | .py | 13 | 24.846154 | 54 | 0.634271 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,993 | YahooMessengerYVerInfo.py | buffer_thug/thug/ActiveX/modules/YahooMessengerYVerInfo.py | # Yahoo! Messenger 8.x YVerInfo.dll ActiveX Control
# CVE-2007-4515
import logging
log = logging.getLogger("Thug")
def fvcom(self, arg0):
if len(arg0) > 20:
log.ThugLogging.log_exploit_event(
self._window.url,
"Yahoo! Messenger 8.x YVerInfo.dll ActiveX Control",
"Over... | 939 | Python | .py | 24 | 30.791667 | 87 | 0.637266 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,994 | XUpload.py | buffer_thug/thug/ActiveX/modules/XUpload.py | # Persists Software XUpload control, version 2.1.0.1.
# CVE-2007-6530
import logging
log = logging.getLogger("Thug")
def AddFolder(self, arg):
if len(arg) > 1024:
log.ThugLogging.log_exploit_event(
self._window.url,
"XUpload ActiveX",
"Overflow in AddFolder method",
... | 888 | Python | .py | 24 | 28.666667 | 87 | 0.629673 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,995 | MSVFP.py | buffer_thug/thug/ActiveX/modules/MSVFP.py | # Microsoft VFP_OLE_Server
import logging
log = logging.getLogger("Thug")
def foxcommand(self, cmd):
log.ThugLogging.add_behavior_warn(
f"[Microsoft VFP_OLE_Server ActiveX] Trying to run: {cmd}"
)
log.ThugLogging.log_exploit_event(
self._window.url,
"Microsoft VFP_OLE_Server Acti... | 411 | Python | .py | 14 | 23.5 | 66 | 0.651399 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,996 | MSXML2DOMDocument.py | buffer_thug/thug/ActiveX/modules/MSXML2DOMDocument.py | import logging
log = logging.getLogger("Thug")
def definition(self, arg):
log.ThugLogging.log_exploit_event(
self._window.url,
"MSXML2.DOMDocument",
"Microsoft XML Core Services MSXML Uninitialized Memory Corruption",
cve="CVE-2012-1889",
) # pylint:disable=undefined-variable... | 457 | Python | .py | 11 | 35.818182 | 83 | 0.721719 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,997 | WScriptCollection.py | buffer_thug/thug/ActiveX/modules/WScriptCollection.py | import logging
log = logging.getLogger("Thug")
class WshCollection(list):
def __getattr__(self, name):
if name.lower() == "length":
return len(self)
raise AttributeError
def Item(self, pos):
return self[pos]
| 257 | Python | .py | 9 | 22.111111 | 36 | 0.625514 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,998 | CreativeSoftAttack.py | buffer_thug/thug/ActiveX/modules/CreativeSoftAttack.py | import logging
log = logging.getLogger("Thug")
def Setcachefolder(self, val): # pylint:disable=unused-argument
log.ThugLogging.log_exploit_event(
self._window.url, "CreativeSoft ActiveX", "Overflow in cachefolder property"
)
| 245 | Python | .py | 6 | 36.666667 | 84 | 0.75 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |
12,999 | WScriptShortcut.py | buffer_thug/thug/ActiveX/modules/WScriptShortcut.py | import logging
log = logging.getLogger("Thug")
def save(self):
log.ThugLogging.add_behavior_warn(
f"[WScript.Shortcut ActiveX] Saving link object '{self.FullName}' with target '{self.TargetPath}'"
)
| 218 | Python | .py | 6 | 32.166667 | 106 | 0.722488 | buffer/thug | 978 | 204 | 0 | GPL-2.0 | 9/5/2024, 5:11:50 PM (Europe/Amsterdam) |