Skip to content

Instantly share code, notes, and snippets.

View s0j0hn's full-sized avatar
🏠
Working from home

s0j0hn

🏠
Working from home
View GitHub Profile
@s0j0hn
s0j0hn / rabbitmq.go
Last active August 15, 2021 19:28
package rabbitmq
import (
"context"
"encoding/json"
"errors"
"fmt"
"github.com/rs/zerolog"
"github.com/streadway/amqp"
"runtime"
@s0j0hn
s0j0hn / caller.go
Created October 18, 2020 16:14 — forked from ribice/caller.go
A robust rabbitmq client for Go
go func() {
for {
err = rmq.Stream(cancelCtx)
if errors.Is(err, rabbitmq.ErrDisconnected) {
continue
}
break
}
}()
@s0j0hn
s0j0hn / mandros3.py
Created April 16, 2020 16:07 — forked from xassiz/mandros.py
Reverse MSSQL shell
import sys
import requests
import threading
import base64
from html.parser import HTMLParser
from http.server import BaseHTTPRequestHandler, HTTPServer
'''
Description: Reverse MSSQL shell through xp_cmdshell + certutil for exfiltration
Author: @xassiz