Skip to content

Instantly share code, notes, and snippets.

View etenzy's full-sized avatar

Michael Rödel etenzy

View GitHub Profile
@etenzy
etenzy / gist:0245db5523434f7df780642959b69352
Created June 10, 2025 10:27
google chrome: disable autoupdate on mac
defaults write com.google.Keystone "{ updatePolicies = { global = { UpdateDefault = 3; }; }; }"
@etenzy
etenzy / main.go
Created April 2, 2025 14:31 — forked from ayubmalik/main.go
Golang AWS SSO login from the command line. Will start a new AWS SSO session and retrieve valid access token.
package main
import (
"context"
"log"
"strings"
"time"
"github.com/aws/aws-sdk-go-v2/aws"
"github.com/aws/aws-sdk-go-v2/config"
@etenzy
etenzy / synology_pubkey_auth.sh
Created January 12, 2025 01:23
Setup PubkeyAuthentication for synology user
#!/usr/bin/env bash
chmod 755 ~
mkdir ~/.ssh
chmod 700 ~/.ssh
touch ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
@etenzy
etenzy / revision.py
Created January 12, 2024 01:11
translate raspberry pi revcodes
import subprocess
import sys
revcode = sys.argv[1]
code = int(revcode, 16)
new = (code >> 23) & 0x1
model = (code >> 4) & 0xff
mem = (code >> 20) & 0x7
@etenzy
etenzy / cilium-install.yaml
Last active July 12, 2024 21:57
cilium helm installer
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: cilium-install
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
@etenzy
etenzy / flux-install.yaml
Last active June 3, 2025 09:03
install flux from helm using a job
---
apiVersion: v1
kind: Namespace
metadata:
name: flux-system
labels:
kubernetes.io/metadata.name: flux-system
name: flux-system
---
apiVersion: v1
site.com/file.php
response = nothing
http://site.com/file.php~
response = source
-------------------------------------
https://github.com/kleiton0x00/CRLF-one-liner
------------------------------------------
try to add admin as your user,
change his email to yours,
@etenzy
etenzy / vhost.bash
Created July 24, 2022 20:55 — forked from oxtd/vhost.bash
vhost
gobuster vhost -u http://horizontall.htb/ -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt -t 200
===============================================================
Gobuster v3.1.0
by OJ Reeves (@TheColonial) & Christian Mehlmauer (@firefart)
===============================================================
[+] Url: http://horizontall.htb/
[+] Method: GET
[+] Threads: 200
[+] Wordlist: /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt
[+] User Agent: gobuster/3.1.0