File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
documentation/modules/post/multi/manage Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- shell_to_meterpreter allows you to upgrade a shell session to Meterpreter. It can be launched as
2
- a post module, or from the sessions command. By default, this module will use a reverse
1
+ ` shell_to_meterpreter ` allows you to upgrade a shell session to Meterpreter. It can be launched as
2
+ a post module, or from the ` sessions ` command. By default, this module will use a reverse
3
3
Meterpreter.
4
4
5
5
## Important Options
@@ -29,7 +29,7 @@ use this.
29
29
30
30
** Using sessions -u**
31
31
32
- ``` sessions -u `` ` is the same as running the post module against a specific session. However, this
32
+ ` sessions -u ` is the same as running the post module against a specific session. However, this
33
33
is limited to using the default reverse Meterpreter payload, so you will not be able to use it
34
34
via a pivot.
35
35
@@ -46,7 +46,7 @@ Active sessions
46
46
-- ---- ----------- ----------
47
47
1 shell windows 192.168.146.1:4444 -> 192.168.146.128:1204 (192.168.146.128)
48
48
49
- msf >
49
+ msf >
50
50
```
51
51
52
52
In this demonstration, session 1 is a shell, so we upgrade that:
@@ -125,4 +125,4 @@ msf post(shell_to_meterpreter) > run
125
125
...
126
126
[*] Command stager progress: 100.00% (102108/102108 bytes)
127
127
[*] Meterpreter session 3 opened (192.168.146.1-192.168.146.128:4433 -> 192.168.1.102:1056) at 2016-04-28 22:50:56 -0500
128
- ```
128
+ ```
You can’t perform that action at this time.
0 commit comments