Switch to the Python version you want to use:
| sudo wireshark | |
| # go to: | |
| # Edit -> Preferences -> Protocols -> TLS (you can type) -> under "(Pre)-Master-Secret log filename | |
| " enter in input "/tmp/ssl-key.log" | |
| # then start capture | |
| # curl | |
| SSLKEYLOGFILE=/tmp/ssl-key.log curl https://example.com | |
| # firefox (don't forget to disable http2 in about:config and restart) |
| # My tmux configuration, partly based on https://github.com/wbkang/wbk-stow/blob/master/tmux-config/.tmux.conf | |
| # Scroll History | |
| set -g history-limit 50000 | |
| # show messages for 4 seconds instead | |
| set -g display-time 4000 | |
| # set first window to index 1 (not 0) to map more to the keyboard layout | |
| set-option -g renumber-windows on |
| FROM debian:jessie | |
| RUN apt-get update && apt-get install --no-install-recommends -y keyboard-configuration \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN apt-get update && apt-get install --no-install-recommends -y gnome-icon-theme tightvncserver xorg xserver-xorg \ | |
| xserver-xorg-video-dummy \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN apt-get update && apt-get install --no-install-recommends -y xfce4 xfce4-goodies iceweasel \ |
| sudo tee /etc/apt/sourc.list.d/debian.list << EOF | |
| deb http://deb.debian.org/debian buster main contrib non-free | |
| deb-src http://deb.debian.org/debian buster main contrib non-free | |
| deb http://deb.debian.org/debian buster-updates main contrib non-free | |
| deb-src http://deb.debian.org/debian buster-updates main contrib non-free | |
| deb http://deb.debian.org/debian buster-backports main contrib non-free | |
| deb-src http://deb.debian.org/debian buster-backports main contrib non-free |
| # Options | |
| set tabsize 4 | |
| set tabstospaces | |
| set indicator # side-bar for indicating cur position | |
| set linenumbers | |
| #set numbercolor green,normal | |
| set suspendable # allow nano be suspended | |
| set smarthome # home jumps to line start first | |
| set zap # delete selected text as a whole |
src: https://www.stationx.net/nmap-cheat-sheet
| Switch | Example | Description |
ref: http://6ftdan.com/allyourdev/2015/05/12/fake-a-smtp-server-with-python-for-rails-testing/
➜ ~ sudo python -m smtpd -n -c DebuggingServer localhost:25
Password:
---------- MESSAGE FOLLOWS ----------
From: [email protected]
Subject: test dayo