Skip to content

Instantly share code, notes, and snippets.

@adricnet
Last active March 16, 2017 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adricnet/0c7a76aa449eb03c56aca436cbb4e4a6 to your computer and use it in GitHub Desktop.
Save adricnet/0c7a76aa449eb03c56aca436cbb4e4a6 to your computer and use it in GitHub Desktop.
Fun stuff from #investigationtheory class. Get these to work and then share. Save time, reduce dangerous typos.

##Fun stuff from ITTAM class. Get these to work and then share. Save time, reduce dangerous typos.

alias safe="pbpaste| sed -e 's,http,hXXp,g' -e 's,\.,[.],g' | pbcopy; echo 'URLs broken!'" 
alias unsafe="pbpaste| sed -e 's,hXXp,http,g' -e 's,\[\.\],.,g' | pbcopy; echo 'URLs restored!'" 

alias unb64="pbpaste | base64 -D"

alias infected="7z -pinfected a infected.7z"

alias viper="viper-cli"

alias newcase="today=$(date FIXME ); mkdir ~/casefiles/$today; cd ~/casefiles/$today"

alias vol="vol.py --plugin ~/sw/vol-comm"
##ovftool: paste this one in from my mac

md5sum="openssl md5"
sha1sum="openssl sha1"
sha2sum="openssl sha256"

##jupyter notebook ## make sure its using the right python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment