- Install Termux on android device.
- Find Termux username.
# -*- coding: utf-8 -*- | |
# To list this file sections: $ grep '^"" ' notes.py | |
""""""""""""" | |
"" Why Python ? | |
""""""""""""" | |
- extremely readable (cf. zen of Python + [this 2013 study](http://redmonk.com/dberkholz/2013/03/25/programming-languages-ranked-by-expressiveness/)) | |
- simple & fast to write | |
- very popular (taught in many universities) | |
- has an extremely active development community |
#!/bin/bash | |
OUT="~/nuclei-results/$1" | |
TPL="~/nuclei-templates" | |
mkdir -p ${OUT} | |
SUB=$(subfinder -d $1 -silent | httprobe | tee ${OUT}/$1.txt) | |
cd ${TPL}; git pull origin master && cd - | |
for tpl in $(find $TPL -name "*.yaml"); do $GOPATH/bin/nuclei -l ${OUT}/$1.txt -t $tpl -o "${OUT}/$(basename "$tpl" .yaml).txt"; done | |
find ${OUT} -name "*.txt" -size 0 -delete |
fay() { | |
packages=$(awk {'print $1'} <<< $(yay -Ss $1 | awk 'NR%2 {printf "\033[1;32m%s \033[0;36m%s\033[0m — ",$1,$2;next;}{ print substr($0, 5, length($0) - 4); }' | fzf -m --ansi)) | |
[ "$packages" ] && yay -S $(echo "$packages" | tr "\n" " ") | |
} | |
fzfman() { | |
packages="$(awk {'print $1'} <<< $(pacman -Ss $1 | awk 'NR%2 {printf "\033[1;32m%s \033[0;36m%s\033[0m — ",$1,$2;next;}{ print substr($0, 5, length($0) - 4); }' | fzf -m --ansi --select-1))" | |
[ "$packages" ] && pacman -S $(echo "$packages" | tr "\n" " ") | |
} |
; A simple Win32 application that runs the Windows calculator. | |
; | |
; This version constructs the whole EXE file "from scratch" in the | |
; assembler -- no linker needed. | |
; This is a sectionless executable with an "import by hash" loader | |
; in which as many stuff as possible has been collapsed (overlaid) | |
; into the headers. In addition, all cleanup code has been removed, | |
; it's assumed that kernel32.dll is the third loaded image in the | |
; PE loader's list, that the kernel32.dll image is actually valid, | |
; and that all required functions are available. |
Ever wanted to put your Rapsberry Pi cluster to great use? Our team is working remotely, so we started to play Minecraft. I decided I would host the Minecraft server on my Raspberry Pi cluster. This gist will guide you through the steps I took to get a k3s cluster up with k3sup and later installed Minecraft as well as metrics exporter and Prometheus Operator
Quoniam Possumus - Because we can
This mini how-to walks you through the steps of translating Rubber Ducky scripts and installing all tools needed to flash a new firmware onto your attiny85 board.
- Install Arduino from https://www.arduino.cc/en/main/software .
- Open Arduino, go to
File/Preferences
and paste the following URL intoAdditional Boards Manager URLs
.- http://digistump.com/package_digistump_index.json
- If your Arduino IDE does not show you the
Additional Boards Manger URL
, your IDE version may be outdated.
Game.DirSymlinkExclusions = ["OakGame\\Binaries\\Win64"]; | |
Game.GameName = "Borderlands 3"; | |
Game.HandlerInterval = 100; | |
Game.SymlinkExe = false; | |
Game.SymlinkGame = true; | |
Game.SymlinkFolders = true; | |
Game.ExecutableName = "Borderlands3.exe"; | |
Game.GUID = "Borderlands 3"; | |
Game.MaxPlayers = 4; | |
Game.MaxPlayersOneMonitor = 4; |
When conducting exploit development with pwntools you will often want to utilize the pwnlib gdb feature which will ease the usage of gdb and gdb scripts. Let's look into a simple example.
Assume that you have the following code you are analyzing:
// Compile: gcc -o /tmp/example -no-pie -fno-stack-protector example.c && chmod +x /tmp/example