Switch to the Python version you want to use:
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 \ |
#!/usr/bin/env python3 | |
from cryptography.fernet import Fernet | |
from kdf import derive_key | |
passphrase = b"hunter2" | |
f = Fernet(derive_key(passphrase)) | |
with open('encrypted.txt', 'rb') as file: | |
encrypted = file.read() # binary read |
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://security.debian.org/debian-security/ buster/updates main contrib non-free | |
deb-src http://security.debian.org/debian-security/ buster/updates 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 |
install sip
wget https://sourceforge.net/projects/pyqt/files/sip/sip-4.19.13/sip-4.19.13.tar.gz
tar xzvf-sip-4.19.13.tar.gz
cd sip-4.19.13.tar.gz
python configure.py -b $HOME/local/bin -d $HOME/local/lib/python2.7/site-packages -e $HOME/local/include
make
make install
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 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) |
https://curl.se/mail/lib-2018-09/0013.html in this link there is pycurl version to get the windows version for windows 10 system
and to get the packages for pycurl there is sourceforge link https://pycurl.sourceforge.net/download/pycurl-7.21.5/