29 lines · 978 B · Python
RawDownload
# ------------------------------------------------------------# name      Fuzzbunch# type      exploit# cve       —# year      unknown# os        Windows# authors   unknown# source    RamadhanAmizudin/malware# archived  RamadhanAmizudin, krisyotam (2026)# notes     —# ------------------------------------------------------------ import datetimeimport ops.cmdimport opsimport ops.dbimport ops.projectIFCONFIG_TAG = 'OPS_IFCONFIG_DATA'MAX_CACHE_SIZE = 5 def get_ifconfig(maxage=datetime.timedelta(seconds=0), targetID=None):    status_cmd = ops.cmd.getDszCommand('ifconfig')    return ops.project.generic_cache_get(status_cmd, cache_tag=IFCONFIG_TAG, cache_size=MAX_CACHE_SIZE, maxage=maxage, targetID=targetID) def get_interfaces(maxage=datetime.timedelta(0), targetID=None):    if (targetID is None):        targetID = ops.project.getTargetID()    ifconfig_data = get_ifconfig(maxage=maxage, targetID=targetID)    return ifconfig_data.interfaceitem

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