diff options
| author | SkyperTHC | 2026-03-03 06:28:55 +0000 |
|---|---|---|
| committer | SkyperTHC | 2026-03-03 06:28:55 +0000 |
| commit | 5d3573ef7a109ee70416fe94db098fe6a769a798 (patch) | |
| tree | dc2d5b294c9db8ab2db7433511f94e1c4bb8b698 /other/openssh-reverse/auth.h | |
| parent | c6c59dc73cc4586357f93ab38ecf459e98675cc5 (diff) | |
packetstorm sync
Diffstat (limited to 'other/openssh-reverse/auth.h')
| -rw-r--r-- | other/openssh-reverse/auth.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/other/openssh-reverse/auth.h b/other/openssh-reverse/auth.h new file mode 100644 index 0000000..61b1f2c --- /dev/null +++ b/other/openssh-reverse/auth.h | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | #ifndef AUTH_H | ||
| 2 | #define AUTH_H | ||
| 3 | |||
| 4 | void do_authentication(void); | ||
| 5 | void do_authentication2(void); | ||
| 6 | |||
| 7 | struct passwd * | ||
| 8 | auth_get_user(void); | ||
| 9 | |||
| 10 | int allowed_user(struct passwd * pw); | ||
| 11 | |||
| 12 | #define AUTH_FAIL_MAX 6 | ||
| 13 | #define AUTH_FAIL_LOG (AUTH_FAIL_MAX/2) | ||
| 14 | #define AUTH_FAIL_MSG "Too many authentication failures for %.100s" | ||
| 15 | |||
| 16 | #endif | ||
| 17 | |||
