Here I save things that I have been learning or that i want to save about picoctf gym challenges.
View a binary as a hexdump inside VIM
:%!xxd
:%!xxd -r
This trick (piping things in vim with :%!
) is useful for escalating privileges. It allows to pop a shell when user has permissions over vim binary.