assets-from-spf
assets-from-spf copied to clipboard
A Python script to parse net blocks & domain names from SPF record
**Query** : ```python assets_from_spf.py reddit.com``` **Result** : /usr/lib/python3/dist-packages/ipwhois/whois.py:412: SyntaxWarning: "is not" with a literal. Did you mean "!="? if count is not 0 and count < 4: /usr/lib/python3/dist-packages/ipwhois/whois.py:548: SyntaxWarning: "is...
In the original script, `rdata.strings` was splitting the entire record every 256 characters. Therefore, sites with long SPF records were not getting complete results, and in some cases crashing the...