Skip to content

Instantly share code, notes, and snippets.

View abbycantcode's full-sized avatar

Abhinav Jha abbycantcode

View GitHub Profile
@abbycantcode
abbycantcode / caidoGqlParse.py
Created May 3, 2024 05:01
Parses Caido JSON project file and parses all the requests and saves graphql queries!
import json
import os
import base64
import argparse
from graphql import parse
def parse_http_request(http_request):
"""Parse the HTTP request to extract the JSON body and Host header."""
try:
headers_and_body = http_request.split('\r\n\r\n')
@abbycantcode
abbycantcode / web_server.py
Created September 7, 2023 18:51
A custom web-server written in python3
#! /usr/bin/python3
import http.server
import sys
import random
import string
import argparse
import socket
import logging
import signal
{
"proxy":{
"ssl_pass_through":{
"automatically_add_entries_on_client_ssl_negotiation_failure":false,
"rules":[
{
"enabled":true,
"host":".*\\.google\\.com",
"protocol":"any"
},