41 lines · 1.5 KB · Python
RawDownload
# ------------------------------------------------------------# name      Fuzzbunch# type      exploit# cve       —# year      unknown# os        Windows# authors   unknown# source    RamadhanAmizudin/malware# archived  RamadhanAmizudin, krisyotam (2026)# notes     —# ------------------------------------------------------------ import ops.cmdimport opsimport ops.envimport ops.cmd.safetychecksimport ops.security.auditingfrom ops.cmd import getBoolOption, setBoolOption, getValueOption, setListOptionOpsCommandException = ops.cmd.OpsCommandExceptionVALID_OPTIONS = ['group', 'network', 'local', 'target'] class UsersCommand(ops.cmd.DszCommand, ):    optgroups = {}    reqgroups = []    reqopts = []    defopts = {}     def __init__(self, plugin='users', netmap_type=None, **optdict):        ops.cmd.DszCommand.__init__(self, plugin, **optdict)     def validateInput(self):        for opt in self.optdict:            if (opt not in VALID_OPTIONS):                return False        return True    local = property((lambda x: getBoolOption(x, 'local')), (lambda x, y: setBoolOption(x, y, 'local')))    remote = property((lambda x: getBoolOption(x, 'remote')), (lambda x, y: setBoolOption(x, y, 'remote')))    target = property((lambda x: getValueOption(x, 'target')), (lambda x, y: setStringOption(x, y, 'target')))    group = property((lambda x: getValueOption(x, 'group')), (lambda x, y: setStringOption(x, y, 'group')))ops.cmd.command_classes['users'] = UsersCommandops.cmd.aliasoptions['users'] = VALID_OPTIONS

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