Archive for the ‘Python’ Tag
NTLM authentication proxies
continuing from the last post. If your network is all Windows based, then using the tricks mentioned in the previous post are of no use to you. That’s because Windows servers use NTLM authentication. It’s different from normal authentication, in the sense of a user, you won’t be able to use Linux happily on a network with that kind of authentication scheme. You need to keep an eye on how to use this tip to your benefits.
You need this to create your very own NTLM workaround proxy server. It’s called NTLM Authorization Proxy Server.
Setps for those-who-don’t-know-and-want-to-learn
- Download the NTLMAPS script.
- Download python.
- Unzip the NTLMAPS zip file and install python.
- Configure(edit and save) the server.cfg (read below).
- Double click on runserver.bat
voila, you see a console!
Configuring the server.cfg
You will need to modify these variables in the config file named “server.cfg” according to your network needs
LISTEN_PORT:5865
PARENT_PROXY:your_parentproxy
PARENT_PROXY_PORT:8080
NT_DOMAIN:your_domain
USER:username_to_use
PASSWORD:your_nt_password
And these variables if you need, normally they won’t require a change, but you might need to.
LM_PART:1
NT_PART:0
SCR_DEBUG:0
ALLOW_EXTERNAL_CLIENTS:0
FRIENDLY_IPS:
For me the configuration looks like
LISTEN_PORT:4000
PARENT_PROXY:10.100.56.45
PARENT_PROXY_PORT:3128
NT_DOMAIN:your_domain
USER:200301001
PASSWORD:
LM_PART:1
NT_PART:0
SCR_DEBUG:0
ALLOW_EXTERNAL_CLIENTS:0
FRIENDLY_IPS:10.100.90.90 10.100.96.69
Note, if you don’t fill in the password, it will automatically ask when you run the “runserver.bat” file.
So now it’s all done, tell me if you use it successfully, or failed at it miserably!
DarK is a Sony Vaio user who cannot learn enough about networks. He hates his laptop and loves it at the same time. You can catch him on twitter at http://twitter.com/abhishekchhajer
Share this post : |