31 lines · 1.1 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, datetimeSERVICES_TAG = 'OPS_SERVICES_TAG'MAX_SERVICES_CACHE_SIZE = 3 def get_service_list(maxage=timedelta(seconds=0), targetID=None, use_volatile=False):    command = ops.cmd.getDszCommand('services')    return ops.project.generic_cache_get(command, cache_tag=SERVICES_TAG, cache_size=2, maxage=maxage, targetID=targetID, use_volatile=use_volatile).service def get_running_services(maxage=timedelta(seconds=0), targetID=None, use_volatile=False):    servlist = get_service_list(maxage=maxage, targetID=targetID)    return filter((lambda x: (x.state == 'RUNNING')), servlist)

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