-
- #iot
- #chrome-and-friends: Chrome, V8, Blink, Mojo, etc.
- Linux kernel #todo
- expdev #todo
- fuzzing #todo
I have created a local Kubernetes cluster with kind. Following are changes you need to get metric-server running on Kind.
Deploy latest metric-server release.
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.5.0/components.yamlWithin existing arguments to metric-server container, you need to add argument --kubelet-insecure-tls.
| #!/bin/bash | |
| # Written by Frans Rosén (twitter.com/fransrosen) | |
| _debug="$2" #turn on debug | |
| _timeout="20" | |
| #you need a valid key, since the errors happens after it validates that the key exist. we do not need the secret key, only access key | |
| _aws_key="AKIA..." | |
| H_ACCEPT="accept-language: en-US,en;q=0.9,sv;q=0.8,zh-TW;q=0.7,zh;q=0.6,fi;q=0.5,it;q=0.4,de;q=0.3" | |
| H_AGENT="user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36" |
| ## A few tools for working with Azure OAuth2 Authentication Codes and access_tokens | |
| ## By Beau Bullock @dafthack | |
| Function Get-AzureAccessToken{ | |
| Param | |
| ( | |
| [Parameter(Position = 0, Mandatory = $false)] | |
| [string] |
| using System; | |
| using System.IO; | |
| using System.Diagnostics; | |
| using System.Reflection; | |
| using System.Runtime.InteropServices; | |
| using System.Net; | |
| using System.IO.Compression; | |
| public class Payload | |
| { |
| package main | |
| // uwords.go by corben leo (@hacker_) | |
| // gets all unique words given a host | |
| // and a list of paths | |
| import ( | |
| "bytes" | |
| "crypto/tls" | |
| "fmt" |
| package main | |
| import ( | |
| "bufio" | |
| "fmt" | |
| "net/url" | |
| "os" | |
| "strings" | |
| ) |
| #!/bin/bash | |
| if [[ -z "`which jq 2>/dev/null`" ]]; | |
| then | |
| echo '[!!] Error: jq is required to continue' | |
| fi | |
| if [[ -z "`which amass 2>/dev/null`" ]]; | |
| then | |
| echo '[!!] Error: amass is required to continue' |
| /ip address | |
| add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=Local | |
| add address=192.168.1.2/24 network=192.168.1.0 broadcast=192.168.1.255 interface=WAN1 | |
| add address=192.168.2.2/24 network=192.168.2.0 broadcast=192.168.2.255 interface=WAN2 | |
| /ip dns set allow-remote-requests=yes cache-max-ttl=1w cache-size=5000KiB max-udp-packet-size=512 servers=221.132.112.8,8.8.8.8 | |
| /ip firewall mangle | |
| add chain=input in-interface=WAN1 action=mark-connection new-connection-mark=WAN1_conn | |
| add chain=input in-interface=WAN2 action=mark-connection new-connection-mark=WAN2_conn | |
| add chain=output connection-mark=WAN1_conn action=mark-routing new-routing-mark=to_WAN1 | |
| add chain=output connection-mark=WAN2_conn action=mark-routing new-routing-mark=to_WAN2 |
| #!/bin/bash | |
| export DEBIAN_FRONTEND=noninteractive; | |
| echo "[*] Starting Install... [*]" | |
| echo "[*] Upgrade installed packages to latest [*]" | |
| echo -e "\nRunning a package upgrade...\n" | |
| apt-get -qq update && apt-get -qq dist-upgrade -y | |
| apt full-upgrade -y | |
| apt-get autoclean | |
| echo "[*] Install stuff I use all the time [*]" |