-
Notifications
You must be signed in to change notification settings - Fork 20
/
to_test.txt
75 lines (60 loc) · 3.25 KB
/
to_test.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
auth types
username/passwd:
both good
username that doesn't exist
bad password
username that doesnt exist and bad password
rsa_key
rsa_key no passphrase
- malformed key (works, appropriate error reported)
- good key, also on target machine (works)
- key not on target machine (works)
- good key, on target, no user (pass, username required to add auth)
- good key, not on target, no user (pass, username required to add auth)
- "" no shell for user (pass)
rsa_key with passphrase
- malformed key (works)
- good key, on target, good passphrase (works)
- good key, on target, bad passphrase (pass conditional, reports Not a valid RSA private key file (bad ber encoding))
- good key, on target, good passphrase, no user (pass, username required to add auth)
- good key, on target, bad passphrase, no user (pass, username required to add auth)
- good key, not on target, good passphrase (pass conditional, connection to 10.10.76.144:22 failed using auth class ""goodkey2"" with error: ""Authentication failed."")
- good key, not on target, wrong passphrase (pass conditional, connection to 10.10.76.144:22 failed using auth class ""badpp"" with error: ""Unable to parse key file"")
- "no shell for user" (pass)
dsa_key
dsa_key no passphrase
- malformed key PASS: wes
- good key, also on target machine PASS:Wes
- key not on target machine PASS:Wes
- good key, on target, no user PASS : wes
- good key, not on target, no user PASS : wes
- "" no shell for user PASS:Wes ['This account is currently
not available.']
dsa_key with passphrase
- malformed key PASS: wes
- good key, on target, good passphrase PASS:wes hayutin
- good key, on target, bad passphrase PASS: wes
- good key, on target, good passphrase, no user PASS: wes
- good key, on target, bad passphrase, no user PASS: wes
- good key, not on target, good passphrase PASS
- good key, not on target, wrong passphrase PASS
- "no shell for user"
port
- default port 22 working PASS
- non default port, configured correctly PASS
- non default port, configured incorrectly SKIP
- default port, configured correctly, firewalled off PASS
- non default port, configured correctly, firewalled off PASS
host/ip
- host exist, resolves, sshdis listening PASS
- host exists, resolves, sshd is not listening (no sshd) PASS
- host exists, does not resolv, sshd is listening PASS
- host doesn't exist, resolves, sshd is not listening (say, a virt machine thats turned off) PASS
sshd config
- host exists, resolves, sshd is listening, no root login
- host exists, resolves, sshd is listening, low MaxAuthTries, multiple bad auth types
- host exists, resolves, sshd is listening, user is in DenyUser/DenyGroups
- host exist, resolves, sshd is listening, PasswordAuthentication is turned off, username/password used
- "" "", PrintMotd is turn on
- "" "", UseDNS is on, rho client ip resolves
- "" "", rho client ip does not reverse lookup