Skip to content

Instantly share code, notes, and snippets.

IT"S A LKEAKED SECRET
Seems like Gitlab changed the format of their routable token once again.
An example of the previous routable format would be this: "glpat-testd_Rb5_cHeWe1JH56wr2FCBA.0r1pum4t4"
and the new routable format is like this:
"glpat-TESTtokenGq5K56y8RBbu286MQp1OmFwOAk.01.0z11111is" (with two dots and a longer string)
@zricethezav
zricethezav / gitleaks_creddata.toml
Created September 19, 2025 15:51
gitleaks_creddata.toml
# This is an expanded gitleaks config based on the default config.
# It adds a few new regular rules and a few composite rules.
title = "gitleaks config"
# TODO: change to [[allowlists]]
[allowlist]
description = "global allow lists"
paths = [
'''gitleaks\.toml''',
@zricethezav
zricethezav / gitleaks-malicious-urls.toml
Created August 5, 2022 13:36
gitleaks-malicious-urls.toml
title = "gitleaks config w/ malicious url detection"
[extend]
useDefault = true
[[rules]]
description = "Malicious URLs"
id = "malicious-urls"
regex = '''ovz1\.j19544519\.pr46m\.vps\.myjino'''
keywords = [
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import facebook
import requests
import os
import json
import time
import datetime
from whaaaaat import style_from_dict, Token, prompt, print_json, default_style,\
Separator
idea: encrypt files and upload to pastebin in fragments
@zricethezav
zricethezav / Makefile
Last active January 11, 2018 14:59
VRMMINER
DOTFILES := $(shell pwd)
UNAME := $(shell uname)
all: deps docker miner
.PHONY: deps docker miner
deps:
sudo apt-get install -y curl git
docker:
curl -fsSL get.docker.com -o get-docker.sh
sh get-docker.sh
class Address:
name = str()
class Person:
name = str()
home = fk(Address)
class Car:
name = str()
owner = fk(Person, related_name='cars')
logit() {
if [[ ! -f ~/.logit ]]; then
touch ~/.logit
fi
if [[ -z $1 ]]; then
vim ~/.logit_tmp +startinsert
if [[ ! -f ~/.logit_tmp ]]; then
echo "Log entry cancelled"
return