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

int next_password ( char *  pw,
int  pwlen 
)

Definition at line 50 of file find_password.c.

References FALSE, i, pwinit, pwpos, and TRUE.

Referenced by main().

char* print_password ( char *  password)

Definition at line 95 of file find_password.c.

References i, and pwd_str.

Referenced by main().

static void usage ( void  )

Definition at line 40 of file find_password.c.

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

Variable Documentation

int lotc = FALSE

Definition at line 27 of file find_password.c.

char pwd_str[1024]
static

Definition at line 93 of file find_password.c.

Referenced by print_password().

int pwinit = FALSE
static

Definition at line 48 of file find_password.c.

Referenced by next_password().

int pwpos = 0
static

Definition at line 48 of file find_password.c.

Referenced by next_password().

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:166

Definition at line 29 of file find_password.c.

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

int verbose = FALSE

Definition at line 26 of file find_password.c.

Referenced by main().

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors