version 1.1.1.1.2.1, 2011/10/05 23:57:24
|
version 1.1.1.1.2.2, 2011/10/07 13:41:26
|
Line 10
|
Line 10
|
#include "ansh.h" |
#include "ansh.h" |
|
|
|
|
int Timeout, Verbose, Kill, Crypted = 1; | int Timeout, Verbose, Kill; |
| u_int Crypted; |
|
|
extern char compiled[], compiledby[], compilehost[]; |
extern char compiled[], compiledby[], compilehost[]; |
|
|
Line 38 main(int argc, char **argv)
|
Line 39 main(int argc, char **argv)
|
char ch; |
char ch; |
int h, len; |
int h, len; |
u_short id = ANSH_ID; |
u_short id = ANSH_ID; |
|
|
|
srandomdev(); |
|
do { |
|
Crypted = (u_int) random() % UINT_MAX; |
|
} while (!Crypted); |
|
|
while ((ch = getopt(argc, argv, "hvui:t:")) != -1) |
while ((ch = getopt(argc, argv, "hvui:t:")) != -1) |
switch (ch) { |
switch (ch) { |