securecurebt5 / collective-intelligence-framework

Automatically exported from code.google.com/p/collective-intelligence-framework
0 stars 0 forks source link

country code data-type #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
create datatype that will index and search blobs for country code

Original issue reported on code.google.com by saxjazm...@gmail.com on 12 Apr 2011 at 1:52

GoogleCodeExporter commented 9 years ago

Original comment by saxjazm...@gmail.com on 12 Apr 2011 at 1:53

GoogleCodeExporter commented 9 years ago
regex against:

http://data.iana.org/TLD/tlds-alpha-by-domain.txt

Original comment by saxjazm...@gmail.com on 12 Apr 2011 at 1:58

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/collective-intelligence-framework/source/detail?r=475

still need to tie this to the iana list and clean up some of the CIF::WebAPI to 
use this as a plugin. But structurally this works:

$ cif -q US

Feed Restriction: RESTRICTED
Feed Created: 2011-04-13T21:16:30Z

restriction|severity|address|portlist|detecttime            |description        
            |alternativeid_restriction|alternativeid                            

PRIVILEGED |high    |       |        |2011-04-13 00:00:00+00|hijacked network 
infrastructure|LIMITED                  
|http://www.spamhaus.org/sbl/sbl.lasso?query=SBL51908 
PRIVILEGED |high    |       |        |2011-04-13 00:00:00+00|hijacked network 
infrastructure|LIMITED                  
|http://www.spamhaus.org/sbl/sbl.lasso?query=SBL102578
PRIVILEGED |high    |       |        |2011-04-13 00:00:00+00|hijacked network 
infrastructure|LIMITED                  
|http://www.spamhaus.org/sbl/sbl.lasso?query=SBL56563 
PRIVILEGED |high    |       |        |2011-04-13 00:00:00+00|hijacked network 
infrastructure|LIMITED                  
|http://www.spamhaus.org/sbl/sbl.lasso?query=SBL84898 

$ cif -q PH

Feed Restriction: RESTRICTED
Feed Created: 2011-04-13T21:16:48Z

restriction|severity|address|portlist|detecttime            |description        
            |alternativeid_restriction|alternativeid                            

PRIVILEGED |high    |       |        |2011-04-13 00:00:00+00|hijacked network 
infrastructure|LIMITED                  
|http://www.spamhaus.org/sbl/sbl.lasso?query=SBL87493
PRIVILEGED |high    |       |        |2011-04-13 00:00:00+00|hijacked network 
infrastructure|LIMITED                  
|http://www.spamhaus.org/sbl/sbl.lasso?query=SBL79384
PRIVILEGED |high    |       |        |2011-04-13 00:00:00+00|hijacked network 
infrastructure|LIMITED                  
|http://www.spamhaus.org/sbl/sbl.lasso?query=SBL79386
PRIVILEGED |high    |       |        |2011-04-13 00:00:00+00|hijacked network 
infrastructure|LIMITED                  
|http://www.spamhaus.org/sbl/sbl.lasso?query=SBL79387

Original comment by saxjazm...@gmail.com on 13 Apr 2011 at 9:20

GoogleCodeExporter commented 9 years ago

Original comment by saxjazm...@gmail.com on 15 Apr 2011 at 1:00

GoogleCodeExporter commented 9 years ago

Original comment by saxjazm...@gmail.com on 26 Apr 2011 at 8:05