38 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 ops.cmdimport ops.envimport ops.parseargsfrom argparse import ArgumentTypeErrorPCFIX_VAR = 'OPS_PCFIX' def main():     def validate(x):        try:            x = int(x)        except ValueError as e:            raise ArgumentTypeError(e)        except:            raise         if ((x < 0) or (x > 5)):            raise ArgumentTypeError, 'Value must be on interval [0,5]'        return x    parser = ops.parseargs.ArgumentParser()    parser.add_argument('pcfix', type=validate, help='Number on interval [0,5]')    options = parser.parse_args()    ops.env.set(PCFIX_VAR, options.pcfix)    prob_cmd = ops.cmd.getDszCommand(('problem PCFIX %s' % options.pcfix))    prob_cmd.execute()if (__name__ == '__main__'):    main()

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