Skip to content

Instantly share code, notes, and snippets.

@TheGroundZero
TheGroundZero / gitlab_enum.sh
Last active April 7, 2022 12:11
Unauthenticated Information Disclosure in Gitlab allows for enumeration/bruteforce of groups and projects
#!/bin/bash
# Script by TheGroundZero (@DezeStijn)
#
# https://sequr.be/blog/2020/06/gitlab-unauthenticated-group-and-project-enumeration/
# https://gist.github.com/TheGroundZero/ea067760fd6c3854238f098cb075bf96
#
# Using a difference in behaviour by Gitlab in setting cookies
# it's possible to enumerate/bruteforce groups/projects
# as an unauthenticated user.
@TheGroundZero
TheGroundZero / burp_rijksregisternummer-generator.py
Last active October 8, 2022 22:21
Burp Intruder payload generator for Belgian Social Security Number (rijksregisternummer)
# Script by TheGroundZero (@DezeStijn)
#
# This payload generator generates valid Belgian Social Security Numbers
# This SSN (rijksregisternummer) is formatted as yy.mm.dd-counter-check
# yy, mm and dd are the date of birth
# counter is a 3 digit number, which counts the births per day (uneven number for men and even for women)
# check is a 2 digit validation number based on the previous digits
#
# You can provide a "seed" to the generator to set a static birth date.
# This will result in a random generation of the counter and check values.
@TheGroundZero
TheGroundZero / homeassistant_telenet_digicorder_IR.yaml
Last active November 24, 2020 11:11
Configuration for a Broadlink RM4 Pro in Home Assistant, including some RF codes for Telenet Digicorder (black remote w/out voice).
remote:
- platform: broadlink
host: 192.168.xxx.xxx
mac: 'ab:cd:ef:12:34:56':
switch:
- platform: broadlink
host: 192.168.xxx.xxx
mac: 'ab:cd:ef:12:34:56'
switches:
@TheGroundZero
TheGroundZero / ha_broadlink-rm4pro.yaml
Created October 7, 2020 09:59
Configuration for a Broadlink RM4 Pro in Home Assistant, including some IR codes for an LG TV
@TheGroundZero
TheGroundZero / shelly_roller_ha.yaml
Last active August 3, 2022 16:10
Home Assistant configuration for Shelly 2.5 in Roller Mode
# Shelly 2.5
# Roller Mode
# Based on https://shelly-api-docs.shelly.cloud/?shell#shelly2-5-mqtt
# And https://www.home-assistant.io/integrations/cover.mqtt/
cover:
- platform: mqtt
name: Rolling Shutters
command_topic: shellies/shellyswitch25-<deviceid>/roller/0/command # rc, open, close and stop
state_topic: shellies/shellyswitch25-<deviceid>/roller/0 # open, close, stop
@TheGroundZero
TheGroundZero / nodered-notify.json
Created January 27, 2021 16:36
Node-RED Notify sub-flow
[{
"id": "cb290db1.265c48",
"type": "subflow",
"name": "Notify",
"info": "",
"category": "",
"in": [{
"x": 40,
"y": 100,
"wires": [{
@TheGroundZero
TheGroundZero / nodered-vuilnisophaling.json
Created January 27, 2021 16:45
Node-RED Notification for garbage collection
[{
"id": "cff3f2b8.ed05c8",
"type": "tab",
"label": "Vuilnis ophaling",
"disabled": false,
"info": ""
}, {
"id": "3653f0c5.b43408",
"type": "inject",
"z": "cff3f2b8.ed05c8",
@TheGroundZero
TheGroundZero / nodered-rhasspy_announcement
Created January 27, 2021 16:55
Node-RED subflow for Rhasspy notifications
[{
"id": "2489ff2a.b70c5",
"type": "subflow",
"name": "Rhasspy announcement",
"info": "",
"category": "",
"in": [{
"x": 40,
"y": 60,
"wires": [{

Keybase proof

I hereby claim:

  • I am thegroundzero on github.
  • I am sequr (https://keybase.io/sequr) on keybase.
  • I have a public key ASB95OjvR5seIgCuBpXpfmVv4uv3fSNEgVXc76ofXJAk7Ao

To claim this, I am signing this object:

@TheGroundZero
TheGroundZero / espcam.yaml
Last active April 14, 2021 13:22
ESPcam ESP32-S AI-Thinker camera
# Board: https://www.aliexpress.com/item/32807887667.html
# FTDI flasher: https://www.aliexpress.com/item/32650148276.html
# Use 3.3V from FTDI for flashing
# Use 5V 1A+ power supply for powering the board
substitutions:
esphome_name: espcam_example
camera_name: Camera example
esphome: