PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Problem beim kompilieren von smbat



Cracksoldier
24.01.2009, 12:28
Hi, ich hab ein Problem kompilieren des Programms
smbat bei dem ich net wirklich weiterkomme und auf
linuxforen.de wurde mir net nur nicht geholfen sondern
mein Threat war nach ca. 5 min schon wieder gelöscht.

Hier ist die Ausgabe von ./configure:


cracksoldier@shark:~/Sources/smbat$ ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for OpenSSL... checking /usr/local/ssl/include/openssl/des.h usability... yes
checking /usr/local/ssl/include/openssl/des.h presence... yes
checking for /usr/local/ssl/include/openssl/des.h... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for library containing DES_ecb_encrypt... -lcrypto
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for gethostname... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
cracksoldier@shark:~/Sources/smbat$

und hier ist die Ausgabe von make:


cracksoldier@shark:~/Sources/smbat$ make
gcc -O6 -Wall -Iinclude -g -O2 -I/usr/include/openssl -I/usr/local/ssl/include/openssl -I/usr/include/openssl -c -o md4.o md4.c
gcc -O6 -Wall -Iinclude -g -O2 -I/usr/include/openssl -I/usr/local/ssl/include/openssl -I/usr/include/openssl -c -o crypto.o crypto.c
crypto.c: In function ‘HashNTLM’:
crypto.c:96: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
crypto.c:101: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
gcc -O6 -Wall -Iinclude -g -O2 -I/usr/include/openssl -I/usr/local/ssl/include/openssl -I/usr/include/openssl -c -o util.o util.c
util.c: In function ‘ProcessPwd’:
util.c:123: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness
util.c:127: warning: pointer targets in passing argument 1 of ‘lcase’ differ in signedness
util.c:135: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
util.c:136: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
util.c:139: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
util.c:140: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
util.c: In function ‘ucase’:
util.c:250: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
util.c:252: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
util.c:254: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
util.c:269: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
util.c:271: warning: pointer targets in return differ in signedness
util.c: In function ‘lcase’:
util.c:277: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
util.c:279: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
util.c:281: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
util.c:290: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
util.c:292: warning: pointer targets in return differ in signedness
util.c: In function ‘GetNextPass’:
util.c:412: warning: pointer targets in passing argument 1 of ‘lcase’ differ in signedness
gcc -O6 -Wall -Iinclude -g -O2 -I/usr/include/openssl -I/usr/local/ssl/include/openssl -I/usr/include/openssl -c -o debug.o debug.c
gcc -O6 -Wall -Iinclude -g -O2 -I/usr/include/openssl -I/usr/local/ssl/include/openssl -I/usr/include/openssl -c -o packet.o packet.c
gcc -O6 -Wall -Iinclude -g -O2 -I/usr/include/openssl -I/usr/local/ssl/include/openssl -I/usr/include/openssl -c -o netbios.o netbios.c
netbios.c: In function ‘NBGetInfo’:
netbios.c:308: warning: pointer targets in passing argument 1 of ‘__builtin_strncpy’ differ in signedness
gcc -O6 -Wall -Iinclude -g -O2 -I/usr/include/openssl -I/usr/local/ssl/include/openssl -I/usr/include/openssl -c -o smb.o smb.c
smb.c: In function ‘LSAQueryDomainSID’:
smb.c:560: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
smb.c:561: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
smb.c:562: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
smb.c:563: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
smb.c:564: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
smb.c:565: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
smb.c: In function ‘LSAAskForComputerName’:
smb.c:631: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
smb.c:631: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
smb.c:631: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
smb.c:631: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
smb.c:631: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
smb.c:631: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
smb.c:632: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
smb.c: In function ‘SMBNegProt’:
smb.c:809: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
smb.c:809: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
smb.c:809: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
smb.c:809: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
smb.c:809: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
smb.c:809: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness
smb.c: In function ‘NBSSessionRequest’:
smb.c:1007: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
smb.c:1011: warning: pointer targets in assignment differ in signedness
smb.c: In function ‘SMBSessionSetup’:
smb.c:1188: warning: pointer targets in passing argument 2 of ‘HashNTLM’ differ in signedness
smb.c:1188: warning: pointer targets in passing argument 3 of ‘HashNTLM’ differ in signedness
smb.c:1197: warning: pointer targets in passing argument 1 of ‘__builtin_strncpy’ differ in signedness
smb.c: In function ‘NBSSendSessionRequest’:
smb.c:1264: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
gcc -O6 -Wall -Iinclude -g -O2 -I/usr/include/openssl -I/usr/local/ssl/include/openssl -I/usr/include/openssl -c -o smblib.o smblib.c
gcc -O6 -Wall -Iinclude -g -O2 -I/usr/include/openssl -I/usr/local/ssl/include/openssl -I/usr/include/openssl -c -o smbbf.o smbbf.c
smbbf.c: In function ‘doBruteForce’:
smbbf.c:276: error: ‘CLK_TCK’ undeclared (first use in this function)
smbbf.c:276: error: (Each undeclared identifier is reported only once
smbbf.c:276: error: for each function it appears in.)
smbbf.c: In function ‘main’:
smbbf.c:358: warning: pointer targets in passing argument 1 of ‘ucase’ differ in signedness
smbbf.c:410: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
make: *** [smbbf.o] Fehler 1
cracksoldier@shark:~/Sources/smbat$


OpenSSL habe ich erfolgreich nachinstalliert wie auch
das configure Script zeigt. Hat jemand vlt. net Idee
worans liegen kann.

Link zum Source des Tools:

http://www.cqure.net/tools/smbat-src-1.0.7.tar.gz

MFG cracksoldier