Skip to content

Commit a17b27e

Browse files
committed
Update descriptions
1 parent caddf54 commit a17b27e

File tree

1 file changed

+4
-5
lines changed
  • lib/rex/post/meterpreter/ui/console/command_dispatcher/priv

1 file changed

+4
-5
lines changed

lib/rex/post/meterpreter/ui/console/command_dispatcher/priv/elevate.rb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ class Console::CommandDispatcher::Priv::Elevate
2626
ELEVATE_TECHNIQUE_DESCRIPTION =
2727
[
2828
"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)"
3232
]
3333

3434
#
@@ -53,11 +53,10 @@ def name
5353
#
5454
def translate_technique_index(index)
5555
translation = ''
56-
desc = ELEVATE_TECHNIQUE_DESCRIPTION.dup
57-
desc.each {|e| e.gsub!(/^Service - /, '')}
5856

5957
case index
6058
when 0
59+
desc = ELEVATE_TECHNIQUE_DESCRIPTION.dup
6160
desc.shift
6261
translation = desc
6362
else

0 commit comments

Comments
 (0)