modules/payloads/singles/cmd/mainframe/apf_privesc_jcl.rb
Method command_string
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def command_string
jcl_jobcard +
"//S1 EXEC ASMACLG,PARM.L='AC(1)'\n" \
"//C.SYSLIB DD DSN=SYS1.SISTMAC1,DISP=SHR\n" \
"// DD DSN=SYS1.MACLIB,DISP=SHR\n" \
Method initialize
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def initialize(info = {})
super(merge_info(
info,
'Name' => 'JCL to Escalate Privileges',
'Description' => %q{(Elevate privileges for user. Adds