#!/bin/bash # Sample exploit: -exec sh ; echo -n "Enter exploit: " read EXPLOIT if (echo "$EXPLOIT" | grep -q "z"); then echo "Bad!" exit 1 fi echo "Executing: find $EXPLOIT" find $EXPLOIT