Go to the source code of this file.
Functions | |
void | usage () |
int | next_password (char *pw, int pwlen) |
char * | print_password (char *password) |
main (int argc, char *argv[]) | |
Variables | |
int | verbose = FALSE |
int | lotc = FALSE |
char * | SMB_Prots [] |
static int | pwinit = FALSE |
static int | pwpos = 0 |
static char | pwd_str [1024] |
Function Documentation
◆ main()
main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 125 of file find_password.c.
References err_string, error(), getopt(), next_password(), NULL, optarg, optind, print_password(), server, service_name, SMB_Connect_Server(), SMB_Get_Error_Msg(), SMB_Get_Last_Error(), SMB_Get_Last_SMB_Err(), SMB_Get_SMB_Error_Msg(), SMB_Init(), SMB_Logon_And_TCon(), SMB_Negotiate(), SMB_Prots, SMBlib_Error_Class, SMBlib_Error_Code, SMBlibE_Remote, TRUE, usage(), and verbose.
◆ next_password()
◆ print_password()
char * print_password | ( | char * | password | ) |
◆ usage()
static void usage | ( | void | ) |
Definition at line 40 of file find_password.c.
Referenced by main(), and Ping::TheConfig::parseCommandOpts().
Variable Documentation
◆ lotc
Definition at line 27 of file find_password.c.
◆ pwd_str
|
static |
Definition at line 93 of file find_password.c.
Referenced by print_password().
◆ pwinit
Definition at line 48 of file find_password.c.
Referenced by next_password().
◆ pwpos
|
static |
Definition at line 48 of file find_password.c.
Referenced by next_password().
◆ SMB_Prots
char* SMB_Prots[] |
Definition at line 29 of file find_password.c.
Referenced by init_challenge(), main(), and SMB_Figure_Protocol().
◆ verbose
Definition at line 26 of file find_password.c.
Referenced by main().