Skip to content

Instantly share code, notes, and snippets.

View xinity's full-sized avatar

Rachid Zarouali xinity

View GitHub Profile

Talos

cat << EOF > patch.yaml
cluster:
  proxy:
    disabled: true
  network:
    cni:
      name: none
@tormath1
tormath1 / README.md
Last active April 28, 2024 11:30
Cluster API OpenStack using Flatcar
@noperator
noperator / log4j.md
Last active December 29, 2021 09:41
Emerging threat details on CVE-2021-44228 in Apache Log4j

Update: Please see Bishop Fox's rapid response post Log4j Vulnerability: Impact Analysis for latest updates about this vulnerability.

Technologies using Apache Log4j

The Cosmos 🌌 team at Bishop Fox 🦊 is currently researching open-source projects that appear to use Log4j by default.

  • Apache Druid
  • Apache Dubbo
  • Apache Flink
  • Apache Flume
@byt3bl33d3r
byt3bl33d3r / log4j_rce_check.py
Created December 10, 2021 06:02
Python script to detect if an HTTP server is potentially vulnerable to the log4j 0day RCE (https://www.lunasec.io/docs/blog/log4j-zero-day/)
#! /usr/bin/env python3
'''
Needs Requests (pip3 install requests)
Author: Marcello Salvati, Twitter: @byt3bl33d3r
License: DWTFUWANTWTL (Do What Ever the Fuck You Want With This License)
This should allow you to detect if something is potentially exploitable to the log4j 0day dropped on December 9th 2021.
@bgarcial
bgarcial / Makefile
Last active April 4, 2023 15:14
Steps/actions needed to be done to deploy loki logging backend on staging aks cluster.
loki-install:
sh ./variables.sh
sh ./setup-loki-fluentbit.sh
@strund3r
strund3r / csgo.ps1
Last active March 23, 2022 22:17
Start CSGO and Aurora
$Principal = New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())
# Add log color command to clipboard
Set-Clipboard -Value "log_color General FFD700FF; cl_showpos 1"
# Start CSGO
(New-Object -Com Shell.Application).Open("steam://rungameid/730")
Start-Sleep 10
@colorchestra
colorchestra / get-gitlab-user-id-by-name.sh
Created August 2, 2019 16:05
Uses the Gitlab API and jq to get the Gitlab User ID by supplying the username.
#!/bin/bash
# requires curl and jq
# assumes usage of Gitlab API v4
# hella hacky
url="https://git.example.net"
token="abcdefghijklmnop"
username="$1"
# output is always paginated - get total number of pages from http header
@thaJeztah
thaJeztah / README.md
Last active December 12, 2021 00:05
Docker Changelog CLI plugin

Docker Changelog CLI plugin

Based on a tweet by @Tomwillfixit

Just a quick fun conversion to make it work as a Docker CLI plugin

To use it (assuming you're running a beta of Docker 19.03):

@android10
android10 / oh-my-zsh-powerlevel9k-theme.md
Last active June 26, 2024 00:21
oh-my-zsh with PowerLevel9k on Arch Linux

Attention: This is DEPRECATED in favor of PowerLevel10K, I wrote an article about it:

Install oh-my-zsh with powerlevel9k theme on Arch Linux

This gist aims to facilitate the switching from bash to zsh as our defaut shell. We will be using oh-my-zsh with the powerful theme: Powerlevel9k. You will find all the links below. This process applies mainly for Arch Linux, but can be setup for any other distro (in theory :)). I'm also using Gnome Terminal and pacaur as package manager.

---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: traefik-ingress-controller
rules:
- apiGroups:
- ""
resources:
- services