Skip to content

Instantly share code, notes, and snippets.

@steakknife
steakknife / audit_nmap_dependencies_dmg_installer.sh
Last active Aug 29, 2015
Audit dependencies of nmap installed by the DMG
View audit_nmap_dependencies_dmg_installer.sh
#!/bin/sh
BAD="$0.bad"
GOOD="$0.good"
trap 'RESULT=$?; rm -f "$BAD" "$GOOD"; exit $RESULT' INT QUIT TERM HUP EXIT ERR
receipts() {
find /private/var/db/receipts -iregex '.*/org\.insecure\.nmap.*'
You can’t perform that action at this time.