find_password.c File Reference
#include "squid.h"
#include <sys/types.h>
#include <unistd.h>
#include "smblib/smblib.h"
Include dependency graph for find_password.c:

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()

◆ next_password()

int next_password ( char *  pw,
int  pwlen 
)

Definition at line 50 of file find_password.c.

References FALSE, pwinit, pwpos, and TRUE.

Referenced by main().

◆ print_password()

char * print_password ( char *  password)

Definition at line 95 of file find_password.c.

References pwd_str.

Referenced by main().

◆ usage()

static void usage ( void  )

Definition at line 40 of file find_password.c.

Referenced by main(), and Ping::TheConfig::parseCommandOpts().

Variable Documentation

◆ lotc

int lotc = FALSE

Definition at line 27 of file find_password.c.

◆ pwd_str

char pwd_str[1024]
static

Definition at line 93 of file find_password.c.

Referenced by print_password().

◆ pwinit

int pwinit = FALSE
static

Definition at line 48 of file find_password.c.

Referenced by next_password().

◆ pwpos

int pwpos = 0
static

Definition at line 48 of file find_password.c.

Referenced by next_password().

◆ SMB_Prots

char* SMB_Prots[]
Initial value:
= {"PC NETWORK PROGRAM 1.0",
"MICROSOFT NETWORKS 1.03",
"MICROSOFT NETWORKS 3.0",
"LANMAN1.0",
"LM1.2X002",
"LANMAN2.1",
"NT LM 0.12",
"NT LANMAN 1.0",
}
#define NULL
Definition: types.h:145

Definition at line 29 of file find_password.c.

Referenced by init_challenge(), main(), and SMB_Figure_Protocol().

◆ verbose

int verbose = FALSE

Definition at line 26 of file find_password.c.

Referenced by main().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors