First we index the numbers from 1 to 10 using json_lines and cryptocli in a temporary index.
seq 1 10 | \
bash json_lines.sh number 1 2>/dev/null | \
./cryptocli \
-- stdin \
-- line \
-- elasticsearch-put \
--index number_messages \
package main | |
import ( | |
"net/url" | |
"fmt" | |
"github.com/tehmoon/errors" | |
"github.com/aws/aws-sdk-go/aws/session" | |
"github.com/aws/aws-sdk-go/service/s3/s3manager" | |
"github.com/aws/aws-sdk-go/service/s3" | |
"io" |
#!/bin/sh | |
set -e | |
## SEE https://medium.com/@ebuschini/iptables-and-docker-95e2496f0b45 | |
## You need to add rules in DOCKER-BLOCK AND INPUT for traffic that does not go to a container. | |
## You only need to add one rule if the traffic goes to the container | |
CWD=$(cd "$(dirname "${0}")"; pwd -P) | |
FILE="${CWD}/$(basename "${0}")" |
First we index the numbers from 1 to 10 using json_lines and cryptocli in a temporary index.
seq 1 10 | \
bash json_lines.sh number 1 2>/dev/null | \
./cryptocli \
-- stdin \
-- line \
-- elasticsearch-put \
--index number_messages \
#!/bin/bash | |
set -e | |
mkdir -pv /opt/local/{share,tools,bin} | |
mkdir -pv /opt/local/share/wordlists | |
PATH=/opt/local/bin:${PATH} | |
echo "deb http://kali.download/kali kali-rolling main contrib non-free" > /etc/apt/sources.list |
How to install xmind (on kali):
apt install openjdk-8-jdk libwebkit2gtk-4.0
libwebkitgtk-1.0-0
from the setup.sh
scriptsetup.sh
as root./XMind_64/Xmind
# Example for tor client to connect to onion service | |
HidServAuth <onion service> <auth from hostname> | |
DataDir ~/.tor | |
SocksPort 9050 # set the port of the proxy |
This is specific to Alpine
using the go apk
.
Compiling go binaries in same arch:
go build -buildmode exe -ldflags '-linkmode external -extldflags "-static"' .
Compiling go binaries in other arch:
unbind [ | |
unbind p | |
bind Escape copy-mode | |
bind p paste-buffer | |
bind-key -Tcopy-mode-vi 'v' send -X begin-selection | |
bind-key -Tcopy-mode-vi 'y' send -X copy-pipe-and-cancel "xclip -se c -i" | |
bind-key -Tcopy-mode-vi Escape send -X cancel |