Here is the brief how-to.
Go to: http://ntlmaps.sourceforge.net/ and Scroll down to “Download.” Download the ntlmaps package and unpack it.
Configure NTLMaps server.cfg
Edit the server.cfg file, and add the following settings:
Start NTLMaps (as root)
[root@localhost ntlmaps-0.9.9]# ./main.py
NTLM authorization Proxy Server v0.9.9
Copyright (C) 2001-2004 by Dmitry Rozmanov and others.
Your NT password to be used:
Now listening at localhost.localdomain on port 5865
Configure wget to use NTLMaps
Next, we need to tell the wget utility to use our proxy to the proxy. To do this, we can export some environment variables or create a .wgetrc file in your home directory. I will opt for the second:
$ vi ~/.wgetrc
Add the following to the newly created file:
Next, try to issue a wget of a known webpage, like http://www.yahoo.com:
$ wget http://www.yahoo.com
– 15:50:43—http://www.yahoo.com/ => ‘index.html.1’
Resolving localhost… 127.0.0.1
Connecting to localhost | 127.0.0.1|:5865… connected.
Proxy request sent, awaiting response… 200 OK
Length: unspecified [text/html]
[ <=> ] 106,746 76.40K/s
15:50:45 (76.34 KB/s) – ‘index.html.1’ saved