Skip to content

Instantly share code, notes, and snippets.

View tankmek's full-sized avatar
🏠
Working from home

Michael Edie tankmek

🏠
Working from home
View GitHub Profile
@tankmek
tankmek / CiscoIOSUpgrade
Last active January 21, 2018 16:19
I have a 3560G switch that came with IOS 12.2(25)SEB4 (c3560-ipservicesk9-mz.122-25.SEB4.bin).
show version
show flash:
copy tftp: flash:
show flash:
verify /md5 flash:c3560-ipservicesk9-mz.150-2.SE11.bin
show boot
configure terminal
boot system flash:c3560-ipservicesk9-mz.150-2.SE11.bin
exit
show boot
@tankmek
tankmek / UpgradeShell2TTY
Created January 7, 2018 15:36
allows you to use history and tab completion.
python -c 'import pty; pty.spawn("/bin/bash")'
CTRL-Z
$ stty -a (grab rows/columns)
$ fg
$ stty raw -echo
$ reset
$ export SHELL=bash
$ export TERM=xterm-256color
$ stty rows 94 columns 189
@tankmek
tankmek / VSCMDLine.txt
Created December 27, 2017 17:01
Visual Studio Dev Environment for Exploits
#PreRequisites
##
## You will need about 15-20GB of free disk space
##
1. Download Visual Studio Community Edition
https://www.visualstudio.com/thank-you-downloading-visual-studio/?sku=Community&rel=15
2. Check the boxes for the following workloads:
[X] Universal Windows Platform Development
@tankmek
tankmek / jtrinstall.sh
Created December 27, 2017 02:16 — forked from goffinet/jtrinstall.sh
John the Ripper 1.8.0 Installation for Centos 7
#!/bin/bash
# Centos 7 John the Ripper Installation
yum -y install wget gpgme
yum -y group install "Development Tools"
cd
wget http://www.openwall.com/john/j/john-1.8.0.tar.xz
wget http://www.openwall.com/john/j/john-1.8.0.tar.xz.sign
wget http://www.openwall.com/signatures/openwall-signatures.asc
gpg --import openwall-signatures.asc
gpg --verify john-1.8.0.tar.xz.sign