1 2 3 4 5 6 7
#!/bin/sh # Run the DF-2448 PoC. Must be root and dm must be loaded. # `kldload dm` first (root only); then this PoC. if ! kldstat -n dm >/dev/null 2>&1; then kldload dm || { echo "kldload dm failed (need root)"; exit 1; } fi ./dm_nulldata_deref