Skip to content

Commit 8d2bdb2

Browse files
committed
Quote commands
1 parent b4a7562 commit 8d2bdb2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

documentation/modules/post/multi/manage/shell_to_meterpreter.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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
33
Meterpreter.
44

55
## Important Options
@@ -29,7 +29,7 @@ use this.
2929

3030
**Using sessions -u**
3131

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
3333
is limited to using the default reverse Meterpreter payload, so you will not be able to use it
3434
via a pivot.
3535

@@ -46,7 +46,7 @@ Active sessions
4646
-- ---- ----------- ----------
4747
1 shell windows 192.168.146.1:4444 -> 192.168.146.128:1204 (192.168.146.128)
4848
49-
msf >
49+
msf >
5050
```
5151

5252
In this demonstration, session 1 is a shell, so we upgrade that:
@@ -125,4 +125,4 @@ msf post(shell_to_meterpreter) > run
125125
...
126126
[*] Command stager progress: 100.00% (102108/102108 bytes)
127127
[*] 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+
```

0 commit comments

Comments
 (0)