File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
lib/rex/post/meterpreter/ui/console/command_dispatcher/priv Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ class Console::CommandDispatcher::Priv::Elevate
26
26
ELEVATE_TECHNIQUE_DESCRIPTION =
27
27
[
28
28
"All techniques available" ,
29
- "Service - Named Pipe Impersonation (In Memory/Admin)" ,
30
- "Service - Named Pipe Impersonation (Dropper/Admin)" ,
31
- "Service - Token Duplication (In Memory/Admin)"
29
+ "Named Pipe Impersonation (In Memory/Admin)" ,
30
+ "Named Pipe Impersonation (Dropper/Admin)" ,
31
+ "Token Duplication (In Memory/Admin)"
32
32
]
33
33
34
34
#
@@ -53,11 +53,10 @@ def name
53
53
#
54
54
def translate_technique_index ( index )
55
55
translation = ''
56
- desc = ELEVATE_TECHNIQUE_DESCRIPTION . dup
57
- desc . each { |e | e . gsub! ( /^Service - / , '' ) }
58
56
59
57
case index
60
58
when 0
59
+ desc = ELEVATE_TECHNIQUE_DESCRIPTION . dup
61
60
desc . shift
62
61
translation = desc
63
62
else
You can’t perform that action at this time.
0 commit comments