Skip to content

Commit af8e649

Browse files
committed
Small changes
1 parent 6a7dab0 commit af8e649

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

documentation/modules/auxiliary/scanner/ssh/ssh_login.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
4. Do: `set rhosts`
1313
5. Do: set usernames and passwords via any of the available options
1414
5. Do: `run`
15-
6. You will hopefully see something similar to: `[+] SSH - Success: 'msfadmin:msfadmin' 'uid=1000(msfadmin) gid=1000(msfadmin) groups=4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),107(fuse),111(lpadmin),112(admin),119(sambashare),1000(msfadmin) Linux metasploitable 2.6.24-16-server #1 SMP Thu Apr 10 13:58:00 UTC 2008 i686 GNU/Linux '`, and a shell opened.
15+
6. You will hopefully see something similar to, followed by a session:
16+
17+
````[+] SSH - Success: 'msfadmin:msfadmin' 'uid=1000(msfadmin) gid=1000(msfadmin) groups=4(adm),20(dialout),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),107(fuse),111(lpadmin),112(admin),119(sambashare),1000(msfadmin) Linux metasploitable 2.6.24-16-server #1 SMP Thu Apr 10 13:58:00 UTC 2008 i686 GNU/Linux '```
1618

1719
## Options
1820

@@ -54,7 +56,11 @@
5456

5557
**VERBOSE**
5658

57-
Show a failed login attempt. This can get rather verbose when large `USER_FILE`s or `PASS_FILE`s are used. A failed attempt will look similar to the following: `[-] SSH - Failed: 'msfadmin:virtual'`
59+
Show a failed login attempt. This can get rather verbose when large `USER_FILE`s or `PASS_FILE`s are used. A failed attempt will look similar to the following:
60+
61+
```
62+
[-] SSH - Failed: 'msfadmin:virtual'
63+
```
5864

5965
## Option Combinations
6066

documentation/modules/auxiliary/scanner/ssh/ssh_login_pubkey.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@
1919
6. Do: set usernames with one of the available options
2020
7. Do: `set KEY_PATH ` to either a file or path
2121
7. Do: `run`
22-
8. You will hopefully see something similar to: `[+] SSH - Success: 'ubuntu:-----BEGIN RSA PRIVATE KEY-----`, and a shell opened.
22+
8. You will hopefully see something similar to the following:
23+
24+
```
25+
[+] SSH - Success: 'ubuntu:-----BEGIN RSA PRIVATE KEY-----
26+
```
2327

2428
## Options
2529

@@ -134,4 +138,4 @@ AaZna5YokhaNvfGGbO5N8YoYShIpGdvWI+dIT8xYvPkJmYdnTz7/dmBUcwLtNVx/
134138
[*] Command shell session 1 opened (192.168.2.117:44179 -> 192.168.2.156:22) at 2017-02-22 22:08:11 -0500
135139
[*] Scanned 1 of 1 hosts (100% complete)
136140
[*] Auxiliary module execution completed
137-
```
141+
```

0 commit comments

Comments
 (0)