Skip to content

Instantly share code, notes, and snippets.

View phi10s's full-sized avatar

phi10s

View GitHub Profile
@phi10s
phi10s / enumit.py
Last active November 24, 2021 01:59
A simple, hacky python script to automate initial enumeration of hosts, for use by OSCP/general infosec students and in virtual labs. Some component scripts may be too loud and intrusive for use in actual pentests. Only use on hosts you own/have permission to test.
#!/usr/bin/python
import os
import sys
import subprocess
import random
import re
from time import sleep
import shlex
from ipaddress import ip_address
from termcolor import colored,cprint
@phi10s
phi10s / all_roads_to_philosophy.py
Created April 19, 2019 14:41
This simple Python script charts a path from any Wikipedia entry to the philosophy page. Like Six Degrees of Kevin Bacon, but for philosophy nerds.
#!/usr/bin/python
__author__="phi10s"
'''It is hypothesized that if you recursively click the first link
in the main body of any Wikipedia entry, you eventually will reach
the philosophy entry. This script maps the path from an arbitrary
entry to the Philosophy entry, and notes the number of hops required.
It's like Six Degrees of Kevin Bacon, but for philosophy nerds.