Skip to content

Instantly share code, notes, and snippets.

@mspraggs
mspraggs / cve-2018-19204.py
Created May 23, 2023 21:17
CVE-2018-19204
#!/usr/bin/env python3
# Based on an implementation of CVE-2018-19204 from here:
# https://gist.github.com/n30m1nd/1788ab84b94a03c62847d285ee0cfe81
# Exploit for CVE-2018-19204
# Javier @ SensePost 2019
import requests
import argparse
import http.server, socketserver
@mspraggs
mspraggs / go.mod
Last active March 31, 2023 07:16
Wiener's attack with Go
module weakrsa
go 1.19
require golang.org/x/crypto v0.3.0
@mspraggs
mspraggs / mybattleships.py
Created April 17, 2015 13:02
Attempted battleships AI: Select random coordinate and try up, down, left and right coordinates from this point
""" This is a Demo AI to show how the game works.
This will be added by default into all servers so whatever is here will be
the behaviour of the "Demo" player on the server.
"""
from game import AI
import random