Skip to content

Instantly share code, notes, and snippets.

View fipso's full-sized avatar
🍪
onhover=stealCookies

fipso fipso

🍪
onhover=stealCookies
View GitHub Profile
@fipso
fipso / socksimap.py
Created April 9, 2018 17:53 — forked from sstevan/socksimap.py
Python (v2 - v3) - IMAP through SOCKS proxy using PySocks module
import ssl
from socks import create_connection
from socks import PROXY_TYPE_SOCKS4
from socks import PROXY_TYPE_SOCKS5
from socks import PROXY_TYPE_HTTP
from imaplib import IMAP4
from imaplib import IMAP4_PORT
from imaplib import IMAP4_SSL_PORT