Skip to content

Instantly share code, notes, and snippets.

@Davnit
Davnit / ClanHotfix.txt
Last active May 5, 2018 23:54
Hotfix for StealthBot clan support after the update on May 1, 2018
Script("Name") = "Clan Hotfix"
Script("Author") = "Davnit"
Script("Major") = 1
Script("Minor") = 0
Sub Event_Load()
If IsOnline And Len(Clan.Tag) > 0 And Clan.Self.Name = vbNullString Then
Clan.RequestMemberList
End If
End Sub
@Davnit
Davnit / pulse.py
Created July 22, 2019 16:54
Decrypts and prints incident information from PulsePoint
import base64
import hashlib
import json
from urllib import request
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
from cryptography.hazmat.backends import default_backend
import base64
import json
import zlib
directions = {
0: "N",
1: "NE",
2: "E",
@Davnit
Davnit / pulse.py
Created May 1, 2020 09:07
Python parser for PulsePoint
import base64
from datetime import datetime
import hashlib
import json
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
from cryptography.hazmat.backends import default_backend
@Davnit
Davnit / BEGEMOT-PF-MIB.txt
Created May 8, 2020 16:27
pfSense SNMP MIB with interface and label names properly decoded from hex string to human-readable text
--
-- ----------------------------------------------------------------------------
-- "THE BEER-WARE LICENSE" (Revision 42):
-- <philip@FreeBSD.org> wrote this file. As long as you retain this notice you
-- can do whatever you want with this stuff. If we meet some day, and you think
-- this stuff is worth it, you can buy me a beer in return. -Philip Paeps
-- ----------------------------------------------------------------------------
--
-- $FreeBSD$
--
@Davnit
Davnit / provisioner.py
Created March 25, 2022 15:51
Web server for intercepting provisioning requests and unlocking Cisco SPA504G IP phone
from http.server import HTTPServer, BaseHTTPRequestHandler
class GlobalResponseHandler(BaseHTTPRequestHandler):
def do_GET(self):
self.send_response(200)
self.send_header("Content-Type", "application/xml")
self.end_headers()