Skip to content

Instantly share code, notes, and snippets.

View dufferzafar's full-sized avatar

Shadab Zafar dufferzafar

View GitHub Profile
@dufferzafar
dufferzafar / IIT JEE Books.txt
Created August 16, 2016 18:18
List of Books for IIT JEE Preparation.
Physics
HC Verma Concept of Physics Part 1.
HC Verma Concept of Physics Part 2.
IIT JEE Physics by D.C. Pandey.
Problems in General Physics by I.E. Irodov.
Physics for IIT JEE by Resnick, Halliday, Walker.
Problems in Physics by S.S. Krotov.
Chemistry
@dufferzafar
dufferzafar / multi-cookie-sample.txt
Last active August 15, 2016 08:51
A sample of SetCookie headers that have comma in them. Related to: https://github.com/mitmproxy/mitmproxy/pull/1452
import lxml.etree
import lxml.html
def beautify(html):
parser = lxml.etree.HTMLParser(
strip_cdata=True,
remove_blank_text=True
)
@dufferzafar
dufferzafar / GATE Related Stuff.txt
Last active January 11, 2024 10:38
GATE Stuff: Textbooks and Notes I've collected from various places on the internet.
@dufferzafar
dufferzafar / Ideas.md
Last active January 19, 2019 07:39
A list of Python-ic ideas. Created using http://jrnl.sh

2014

July

2014-07-26 16:04, Contribute to demimove

The UI could definitely be improved.

@dufferzafar
dufferzafar / Proxy-Tools-Research.md
Created April 25, 2016 00:00
Proxy Tools Research

Research into other proxy tools

There are a ton of proxy tools out there, I decided to try some of them to find functionalities that we might want to incorporate in mitmproxy.

Currently, I was just focussed on how these tools do import/export of sessions.

Fiddler

  • Dot Net, Mono
import csv
import cStringIO
import codecs
import glob
import json
import requests
def fetch_jsons():
url = ('https://summerofcode.withgoogle.com/api/program/current/project/'
Project Title Student Display Name Organization Name Mentors
Key mapping GUI Tomasito665 Mixxx DJ Software RJ Ryan, Ferran Pujol Camins
YAPDNS system64 The Honeynet Project Pietro Delsante, Fedele Mantuano, Andrea De Pasquale
FFv1 P frame support sdolganov FFmpeg Reynaldo Verdejo, michaelni
coala: Integrating coala with the Eclipse IDE Sheikh Araf Python Software Foundation Harsh Dattani, Lasse Schuirmann (sils1297), AbdealiJKothari
User interfaces for Tracker Dilushi Sustainable Computing Research Group ( SCoRe ) Dinith Minura, Namal Jayasuriya, Rumesh
File Support izgzhen Mozilla Manishearth
KolibriOS. Development of TLS/SSL library DenisKarpenko KolibriOS Jeffrey A., Pathoswithin
IPFS friendly & distributed version of Amber skbly7 Berkman Center for Internet and Society Genève
Cache layer for jpf-nhandler Jayton Java Pathfinder Team franck, Nastaran, Cyrille Artho
@dufferzafar
dufferzafar / allah-and-gsoc-irc-chat.txt
Last active May 18, 2020 18:50
"Allah & GSoC" - an excerpt from #gsoc IRC channel.
[6:48 pm] <Guest25582> http://oortr.com/YmU5NT
[6:48 pm] <valorie> rather than pasting a random link, why not say what it is, Guest25582?
[6:48 pm] <Guest25582> Allah is doing
[6:48 pm] <Guest25582> sun is not doing Allah is doing
[6:48 pm] <Guest25582> moon is not doing Allah is doing
[6:48 pm] <meflin> this channel is about GSOC
[6:48 pm] <Guest25582> stars are not doing Allah is doing
[6:48 pm] <valorie> please stay on topic or leave, Guest25582
[6:48 pm] <Guest25582> planets are not doing Allah is doing
[6:48 pm] <valorie> pfff
@dufferzafar
dufferzafar / socket_relay.py
Last active April 8, 2016 07:03
Socket program to read data in from port 9090 and send it to 9091.
"""
Socket Relay
Takes in data from one end, and sends out to another.
"""
import socket
host = '0.0.0.0'