Skip to content

Instantly share code, notes, and snippets.

@VABAS
VABAS / web-servers.md
Created August 4, 2018 11:22 — forked from willurd/web-servers.md
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@VABAS
VABAS / autobuild.sh
Last active March 7, 2018 07:00
Couple of scripts to build and run autopsy on Debian
#!/bin/bash
# Downloads sleuthkit 4.6.0 and autopsy 4.6.0 to current directory and builds
# them.
ROOT="$(pwd)"
# Checking required programs to exist.
type wget >/dev/null 2>&1 || {
echo >&2 "Wget not found. Aborting."; exit 1;
}
type autoreconf >/dev/null 2>&1 || {