Skip to content

Instantly share code, notes, and snippets.

View 0xpeanutbutter's full-sized avatar
:octocat:
Growing

o'mar 0xpeanutbutter

:octocat:
Growing
View GitHub Profile
@0xpeanutbutter
0xpeanutbutter / README.md
Last active October 4, 2021 14:09
References

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@0xpeanutbutter
0xpeanutbutter / README.md
Last active May 6, 2021 00:29
CTF cheatgist

Forensics

Hexdump of all files start with 8dig hexnum

Stegano

For hiding data in files like jpeg,bmp,wav and AU Encrytion

steghide -cf imagefile -ef textfile

cover file : the open that appears

@0xpeanutbutter
0xpeanutbutter / Makefile
Created March 9, 2021 20:59
Using make command and makefile
# Suppose we have two or more file to compile
# Suppose we need to include the necessary libraries for the same
# Eg : gcc -o obj ojb.c objfunc.c -I
# Everytime we make changes to our code or if we change our system. We have re-run the command which is not best use of our time
# This is where makefile comes into limelight. We just go to directory which has makefile and type command $make and its done
# This might look small but while handling long repos/directories/files we need something easy and user friendly. So makefile
# Steps for building makefile