Skip to content

Instantly share code, notes, and snippets.

View VoidSec's full-sized avatar
🐲
Developing an exploit

Paolo Stagno VoidSec

🐲
Developing an exploit
View GitHub Profile
@VoidSec
VoidSec / requests_api.py
Created February 21, 2023 15:26 — forked from stefansundin/requests_api.py
Reusable class for Python requests library.
# http://docs.python-requests.org/en/master/api/
import requests
class RequestsApi:
def __init__(self, base_url, **kwargs):
self.base_url = base_url
self.session = requests.Session()
for arg in kwargs:
if isinstance(kwargs[arg], dict):
kwargs[arg] = self.__deep_merge(getattr(self.session, arg), kwargs[arg])
@VoidSec
VoidSec / idapython_cheatsheet.md
Created October 18, 2021 14:44 — forked from icecr4ck/idapython_cheatsheet.md
Cheatsheet for IDAPython