aboutsummaryrefslogtreecommitdiff
path: root/libraries/python-ntlm/DOCUMENTATION
diff options
context:
space:
mode:
authorBrenton Earl <brent@exitstatusone.com>2016-12-16 04:52:40 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-16 05:17:54 +0700
commit186f2e01938b79989e662425664b3ccdae5604c2 (patch)
treed181a34c101e58b2c2351c1ac40edee42f1bdfd4 /libraries/python-ntlm/DOCUMENTATION
parent2f037162df2af028a9f8a0392ebc8b9ee5b7227b (diff)
libraries/python-ntlm: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/python-ntlm/DOCUMENTATION')
-rw-r--r--libraries/python-ntlm/DOCUMENTATION56
1 files changed, 27 insertions, 29 deletions
diff --git a/libraries/python-ntlm/DOCUMENTATION b/libraries/python-ntlm/DOCUMENTATION
index 4d68dc29cab74..06837e4d6f8bf 100644
--- a/libraries/python-ntlm/DOCUMENTATION
+++ b/libraries/python-ntlm/DOCUMENTATION
@@ -66,37 +66,35 @@ opener = urllib2.build_opener(proxy_handler, auth_NTLM, auth_digest,
auth_basic)
urllib2.install_opener(opener)
-# retrieve the result
+# retrieve the result
response = urllib2.urlopen(url)
print(response.read())
```
## Limitations
- * A request using the `HTTPNtlmAuthHandler` has no HTTP status
- * handling, for example: redirects are not handled by the opener, you
- * must check and handle the response yourself.
-
- # Resources
-
- ## Inspired by
- * [http://sourceforge.net/projects/ntlmaps/ NTLM Authorization Proxy
- * Server]
- (Dmitri Rozmanov kindly allowed his code to be redistributed under
- the LGPL)
-
- The NTLM Authorization Proxy Server can be used to make applications
- that do not support NTLM proxies use them anyway: "Opens up IIS
- Proxy Servers using NTLM to non-Microsoft browsers, etc"
-
- In contrast the python-ntlm library is used to make it possible for
- python code to retrieve content from an NTLM protected server.
-
- ## References
- * [MS-NLMP]:
- * [http://download.microsoft.com/download/a/e/6/ae6e4142-aa58-45c6-8dcf-a657e5900cd3/%5BMS-NLMP%5D.pdf
- * NT LAN Manager (NTLM) Authentication Protocol Specification]
- * [MS-NTHT]:
- * [http://download.microsoft.com/download/a/e/6/ae6e4142-aa58-45c6-8dcf-a657e5900cd3/%5BMS-NTHT%5D.pdf
- * NTLM Over HTTP Protocol Specification]
- * [http://www.blackhat.com/presentations/bh-asia-04/bh-jp-04-pdfs/bh-jp-04-seki.pdf
- * Optimized Attack for NTLM2 Session Response]
+* A request using the `HTTPNtlmAuthHandler` has no HTTP status handling, for
+ example: redirects are not handled by the opener, you must check and
+ handle the response yourself.
+
+# Resources
+
+## Inspired by
+* [http://sourceforge.net/projects/ntlmaps/ NTLM Authorization Proxy Server]
+(Dmitri Rozmanov kindly allowed his code to be redistributed under the LGPL)
+
+The NTLM Authorization Proxy Server can be used to make applications that do
+not support NTLM proxies use them anyway: "Opens up IIS Proxy Servers using
+NTLM to non-Microsoft browsers, etc"
+
+In contrast the python-ntlm library is used to make it possible for python
+code to retrieve content from an NTLM protected server.
+
+## References
+* [MS-NLMP]: NT LAN Manager (NTLM) Authentication Protocol Specification
+http://download.microsoft.com/download/a/e/6/ae6e4142-aa58-45c6-8dcf-a657e5900cd3/%5BMS-NLMP%5D.pdf
+
+* [MS-NTHT]: NTLM Over HTTP Protocol Specification
+http://download.microsoft.com/download/a/e/6/ae6e4142-aa58-45c6-8dcf-a657e5900cd3/%5BMS-NTHT%5D.pdf
+
+* Optimized Attack for NTLM2 Session Response
+http://www.blackhat.com/presentations/bh-asia-04/bh-jp-04-pdfs/bh-jp-04-seki.pdf