Skip to content

Commit 13ccfd7

Browse files
authored
Update run_as_psh.rb
1 parent a9b78e3 commit 13ccfd7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/post/windows/manage/run_as_psh.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class MetasploitModule < Msf::Post
1111
include Msf::Post::Windows::Powershell
1212
def initialize(info={})
1313
super( update_info( info,
14-
'Name' => 'Windows Shell As Another User',
14+
'Name' => 'Windows \'Run As\' Using Powershell',
1515
'Description' => %q{ This module will start a process as another user using powershell. },
1616
'License' => MSF_LICENSE,
1717
'Author' => [ 'p3nt4' ],
@@ -42,7 +42,6 @@ def run
4242
inter = datastore['interactive']
4343
args = datastore['args']
4444
path = datastore['path'].gsub("\\","\\\\\\\\")
45-
sessNo = datastore['session']
4645
channelized = datastore['channelize']
4746
hidden = datastore['hidden']
4847
#Check if session is interactive

0 commit comments

Comments
 (0)