Root privilege is required
parent
3cebfe4e14
commit
a926e0f7a6
|
@ -16,6 +16,7 @@ class MetasploitModule < Msf::Post
|
||||||
},
|
},
|
||||||
'License' => MSF_LICENSE,
|
'License' => MSF_LICENSE,
|
||||||
'Platform' => ['linux'],
|
'Platform' => ['linux'],
|
||||||
|
'Privileged' => 'true', #This requires root privileges
|
||||||
'SessionTypes' => ['meterpreter'],
|
'SessionTypes' => ['meterpreter'],
|
||||||
'Arch' => 'x86_x64',
|
'Arch' => 'x86_x64',
|
||||||
'References' =>
|
'References' =>
|
||||||
|
@ -51,6 +52,6 @@ class MetasploitModule < Msf::Post
|
||||||
print_good('PhpMyAdmin config found!')
|
print_good('PhpMyAdmin config found!')
|
||||||
print_good("Extracting config file!\n")
|
print_good("Extracting config file!\n")
|
||||||
res = read_file(conf_path)
|
res = read_file(conf_path)
|
||||||
vprint_line res
|
print_line res
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue