Skip to content

Instantly share code, notes, and snippets.

@wjmccann
wjmccann / Shodan Subnet Recon
Created January 25, 2018 05:08
A quick script to quickly get details from Shodan.io from an entire subnet
#!/usr/bin/python
import os
cmd = "wget https://www.shodan.io/host/xxx.xxx.xxx."
for x in range(256):
os.system(cmd + str(x))
@wjmccann
wjmccann / 6-digits.py
Created January 8, 2018 05:14
Generate all possible 6 digit combinations in Python
import itertools
for combination in itertools.product(range(10), repeat=6):
print(''.join(map(str, combination)))

Keybase proof

I hereby claim:

  • I am wjmccann on github.
  • I am wjmccann (https://keybase.io/wjmccann) on keybase.
  • I have a public key ASBKQVdJ0TZD_igMYbjTE2YbhZn7iU2JGcVrdVgQ2-EM1Qo

To claim this, I am signing this object: