This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; These memory maps I take to create TFTPServer exploit on Windows 10 | |
0062FF72 66:81CA FF0F OR DX,0FFF | |
0062FF77 42 INC EDX | |
0062FF78 52 PUSH EDX | |
0062FF79 33C0 XOR EAX,EAX | |
0062FF7B 66:B8 C601 MOV AX,1C6 | |
0062FF7F CD 2E INT 2E | |
0062FF81 3C 05 CMP AL,5 | |
0062FF83 5A POP EDX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deb http://kali.cs.nctu.edu.tw/kali kali-rolling main non-free contrib InRelease Release | |
deb-src http://kali.cs.nctu.edu.tw/kali kali-rolling main non-free contrib InRelease Release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
import binascii | |
''' | |
This python script will generate tcp/udp socket wrapper from PEACH crash binary | |
Always check this script's output! | |
Only works on single file PEACH crash binary | |
All printable characters will be printed out normally (instead of \\x) | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
import binascii | |
''' | |
This python script will generate tcp/udp socket wrapper from PEACH crash binary | |
Always check this script's output! | |
Only works on single file PEACH crash binary | |
All printable characters will be printed out normally (instead of \\x) | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install virtualbox | |
curl -Lo minikube https://github.com/kubernetes/minikube/releases/download/v0.28.1/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/ | |
curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.10.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/ | |
## CRI-O, but has to stopped first! | |
minikube start --container-runtime=cri-o | |
minikube dashboard --url | |
##learn on how to use kubectl | |
kubectl config view | |
kubectl cluster-info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos/systemd | |
RUN yum -y update && yum -y install initscripts && yum clean all | |
CMD ["/usr/sbin/init"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws ec2 describe-instances --filters "Name=image-id,Values=ami-0c84dc4545a01d840" --query "Reservations[].Instances[].NetworkInterfaces[].PrivateIpAddresses[].PrivateIpAddress" --region=ap-southeast-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================ | |
all.yml | |
================================ | |
- hosts: serv | |
tasks: | |
- name: "Updating YUM" | |
shell: "yum update" | |
register: out | |
- debug: var=out.stdout_lines |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: serv | |
tasks: | |
- name: "Updating YUM" | |
shell: "yum update -y" | |
register: out | |
- debug: var=out.stdout_lines | |
- name: "Install pkgconfig wget" | |
shell: "yum install -y pkgconfig wget" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Reference: https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/high-availability/ | |
1. Set /proc/sys/net/bridge/bridge-nf-call-iptables to 1 by running sysctl net.bridge.bridge-nf-call-iptables=1 to pass bridged IPv4 traffic to iptables’ chains. | |
2. Ubuntu 18.04 | |
3. Disable swap | |
4. Install docker | |
https://kubernetes.io/docs/setup/production-environment/container-runtimes/#docker | |
5. Disable firewall / Allow all access | |
6. Install kubeadm and kubelet | |
apt-get update && apt-get install -y apt-transport-https curl |
OlderNewer