36 lines · 1.4 KB · Python
RawDownload
# ------------------------------------------------------------# name      Fuzzbunch# type      exploit# cve       —# year      unknown# os        Windows# authors   unknown# source    RamadhanAmizudin/malware# archived  RamadhanAmizudin, krisyotam (2026)# notes     —# ------------------------------------------------------------ import dszimport dsz.cmdimport dsz.versionimport dsz.scriptimport opsimport ops.cmdimport ops.dbimport ops.projectfrom datetime import timedelta, datetimeimport timeNETMAP_MINIMAL_TAG = 'OPS_NETMAP_MINIMAL'MAX_CACHE_SIZE = 3 def get_minimal_netmap(maxage=timedelta(seconds=0), targetID=None, use_volatile=False, cmd_options=dict()):    if ('minimal' in cmd_options):        del cmd_options['minimal']    netmap_cmd = ops.cmd.getDszCommand('netmap', minimal=True, **cmd_options)    return ops.project.generic_cache_get(netmap_cmd, cache_tag=NETMAP_MINIMAL_TAG, maxage=maxage, use_volatile=use_volatile, targetID=targetID) def get_netmap(maxage=timedelta(seconds=0), targetID=None, use_volatile=False, cmd_options=dict()):    netmap_cmd = ops.cmd.getDszCommand('netmap', **cmd_options)    if (('minimal' in cmd_options) and cmd_options['minimal']):        return get_minimal_netmap(maxage=maxage, targetID=targetID, use_volatile=use_volatile, cmd_options=cmd_options)    return ops.project.generic_cache_get(netmap_cmd, cache_tag=NETMAP_MINIMAL_TAG, maxage=maxage, use_volatile=use_volatile, targetID=targetID)

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