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.
$ python -m SimpleHTTPServer 8000| # Create mount points for decrypted sparse bundle disk image and full Apple disk image. | |
| sudo mkdir /mnt/bundle /mnt/dmg | |
| # Ensure loopback kernel module is loaded. | |
| lsmod | grep ^loop || sudo modprobe loop | |
| # Decrypt and FUSE-mount sparse bundle disk image. Trailing options help with debugging. | |
| sudo sparsebundlefs <ENCRYPTED_SPARSE_BUNDLE_DISK_IMAGE> /mnt/bundle -s -f -D | |
| # Note partition 2's "Start" and "Size" values. |
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.
$ python -m SimpleHTTPServer 8000