Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http_digest_proxy_authorization’ was not declared #10

Closed
leavesbnw opened this issue May 12, 2016 · 2 comments
Closed

http_digest_proxy_authorization’ was not declared #10

leavesbnw opened this issue May 12, 2016 · 2 comments

Comments

@leavesbnw
Copy link

Hi,friends:
When I compile ncrack version 0.5.0 after the command configure successed,I got an error,saying http_digest_proxy_authorization’ was not _declared.
My environment is debian 8 64bit,
`cd modules && make

make[1]: Entering directory '/root/Downloads/ncrack-0.5.0/modules'

g++ -c -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_ftp.cc -o ncrack_ftp.o

g++ -c -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_telnet.cc -o ncrack_telnet.o

g++ -c -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_http.cc -o ncrack_http.o

ncrack_http.cc: In function ‘void http_digest(nsock_pool, Connection*)’:

ncrack_http.cc:512:50: error: ‘http_digest_proxy_authorization’ was not declared in this scope
con->user, con->pass, "GET", serv->path);
^
Makefile:17: recipe for target 'ncrack_http.o' failed

make[1]: *** [ncrack_http.o] Error 1

make[1]: Leaving directory '/root/Downloads/ncrack-0.5.0/modules'

Makefile:72: recipe for target 'modules_build' failed

make: *** [modules_build] Error 2
`

@leavesbnw
Copy link
Author

I found it.When I install libssl-dev,it successed.

@ithilgore
Copy link
Collaborator

Fixed with commit: 376ad90
Now Ncrack can compile even without libssl-dev (but without support for the modules that rely on it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants