Skip to content

Instantly share code, notes, and snippets.

View MNESTRASHNO's full-sized avatar
:shipit:
SG93IHRvIGNvbnF1ZXIgdGhlIHdvcmxkIG9mIEluZm9TZWM/

Alexander Chaykin MNESTRASHNO

:shipit:
SG93IHRvIGNvbnF1ZXIgdGhlIHdvcmxkIG9mIEluZm9TZWM/
  • Moscow
View GitHub Profile
@MNESTRASHNO
MNESTRASHNO / SharePwn_public.py
Created May 14, 2025 12:27 — forked from testanull/SharePwn_public.py
SharePoint Pre-Auth Code Injection RCE chain CVE-2023-29357 & CVE-2023-24955 PoC
# -*- coding: utf-8 -*-
import hashlib
import base64
import requests, string, struct, uuid, random, re
import sys
from collections import OrderedDict
from sys import version
from urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(category=InsecureRequestWarning)
# too lazy to deal with string <-> bytes confusion in python3 so forget it ¯\_(ツ)_/¯