42 lines · 1.6 KB · Python
RawDownload
# ------------------------------------------------------------# name      Fuzzbunch# type      exploit# cve       —# year      unknown# os        Windows# authors   unknown# source    RamadhanAmizudin/malware# archived  RamadhanAmizudin, krisyotam (2026)# notes     —# ------------------------------------------------------------ import dsz def getLastCommandMeta():    lastid = dsz.cmd.LastId()    return DszCommandMetadata(lastid) class DszCommandMetadata(object, ):     def __init__(self, cmdid=0):        if (cmdid == 0):            cmdid = dsz.cmd.LastId()        for intfield in ['id', 'ParentId', 'Status', 'BytesSent', 'BytesReceived']:            try:                self.__dict__[intfield] = dsz.cmd.data.Get(('CommandMetaData::%s' % intfield), dsz.TYPE_INT, cmdid)[0]            except:                pass        self.ID = self.__dict__['id']        for strfield in ['Name', 'ScreenLog', 'TaskId', 'Destination', 'Source', 'FullCommand']:            try:                self.__dict__[strfield] = dsz.cmd.data.Get(('CommandMetaData::%s' % strfield), dsz.TYPE_STRING, cmdid)[0]            except:                pass        for strarrfield in ['XmlLog', 'Prefix', 'Argument']:            try:                self.__dict__[strarrfield] = list()                for strinst in dsz.cmd.data.ObjectGet('CommandMetaData', strarrfield, dsz.TYPE_OBJECT, cmdid):                    for stritem in dsz.cmd.data.Get(strinst, dsz.TYPE_STRING, cmdid):                        self.__dict__[strarrfield].append(stritem)            except:                pass

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t