Archive for the 'infosec' Category

Simple BASH script to mass query reverse DNS PTR records for a subnet

Wrote this up the other day to do a quick reverse PTR query of some internal subnets. Possibly handy if you don’t have quick access to another tool like dnsrecon. #!/bin/bash #Populate subnets.txt with the first three sections of the target subnet IP, one subnet per line eg #192.168.1 #192.168.20 #etc subnets=$(cat ‘./subnets.txt’); for subnet […]

Except where specified otherwise, the content of this site is licensed under a
Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License.