Last updated 5 years ago
grep -E -o -r -n "(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)" file.txt
-E: Use extended regular expression
-o: Print IP addresses only
-r: scan files in the current directory and all sub-directories
-n: Show line number
Official Page:
Mobile App Security Checklist (Excel):
Gitbook: