Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

s0j0hn

🏠
Working from home
View GitHub Profile
View rabbitmq.go
package rabbitmq
import (
"context"
"encoding/json"
"errors"
"fmt"
"github.com/rs/zerolog"
"github.com/streadway/amqp"
"runtime"
@s0j0hn
s0j0hn / caller.go
Created Oct 18, 2020 — forked from ribice/caller.go
A robust rabbitmq client for Go
View caller.go
go func() {
for {
err = rmq.Stream(cancelCtx)
if errors.Is(err, rabbitmq.ErrDisconnected) {
continue
}
break
}
}()
@s0j0hn
s0j0hn / mandros3.py
Created Apr 16, 2020 — forked from xassiz/mandros.py
Reverse MSSQL shell
View mandros3.py
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