Skip to content

Instantly share code, notes, and snippets.

View Anas-jaf's full-sized avatar
🎯
Focusing

Anas Mahmoud Anas-jaf

🎯
Focusing
View GitHub Profile
@Anas-jaf
Anas-jaf / instructions.sh
Created July 11, 2023 10:53 — forked from miguelmota/instructions.sh
linux wireshark SSLKEYLOGFILE ssl decrypt curl
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)
@Anas-jaf
Anas-jaf / .tmux.conf
Created August 17, 2022 22:55 — forked from rodricels/.tmux.conf
tmux configuration, mouse copy & paste added
# 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
@Anas-jaf
Anas-jaf / Dockerfile
Created August 7, 2022 21:07 — forked from yudhiwidyatama/Dockerfile
Dockerfile for VNC Server running XFCE Desktop on Debian Jessie, version 2
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 \
@Anas-jaf
Anas-jaf / sources.list
Last active August 7, 2022 18:47 — forked from ishad0w/sources.list
Debian 10 (Buster) -- Full sources.list
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
@Anas-jaf
Anas-jaf / install.md
Created August 5, 2022 21:20 — forked from ZoomQuiet/install.md
Install SIP and PyQT4 (pyenv, pyenv-virtualenv)

Download

pyenv virtualenv

Switch to the Python version you want to use:

@Anas-jaf
Anas-jaf / .nanorc
Created July 22, 2022 18:21 — forked from ShyftXero/.nanorc
A good nanorc file
# 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
@Anas-jaf
Anas-jaf / nmap_examples.md
Created July 20, 2022 16:41 — forked from rsperl/nmap_examples.md
nmap examples