Skip to content

Instantly share code, notes, and snippets.

View Carltonli123's full-sized avatar

Carlton Carltonli123

  • Shanghai
View GitHub Profile
@djui
djui / saml.py
Last active November 30, 2023 00:26
Python class to fetch a website behind a SAML2 SSO service conforming to the Shibboleth protocol.
from __future__ import print_function
import cookielib
import getpass
import HTMLParser
import re
import sys
import urllib
import urllib2