Anyone up for some *early* review, smoke-testing and commenting?
I don't feel like publishing the plugin just yet. Too many TODO items
left. Not yet run live, but tested quite extensively. The remaining
FIXMEs should be harmless. ;)
What I offer is a plugin, that is capable of de-obfuscating URIs for URI
DNSBL checks, and even re-writing path-style hosting to generic 3tld
variants suitable for URI DNSBL lookups. What I expect is merely peer
review, smoke-testing and comments within a couple days.
Hit me a note off-list. But please do strip the teaser. :)
Teaser generated with stuff found in very recent spam folders. Also have
seen DOB hits on these. (Obvious URI in the Report details stripped, to
make it through to the list.)
X-Spam-Report:
* 2.1 URIBL_WS_SURBL Contains an URL listed in the WS SURBL blocklist
* 2.9 URIBL_JP_SURBL Contains an URL listed in the JP SURBL blocklist
* 3.0 URIBL_BLACK Contains an URL listed in the URIBL blacklist
Received: by delta.local (Postfix, from userid 500) id A7F901068B9;
Sun, 19 Jul 2009 01:50:00 +0200
From: Foo <[email protected]>
To: Foo <[email protected]>
Subject: URI de-obfuscation Teaser
Message-Id: <1247961...@monkey>
Date: Sun, 19 Jul 2009 01:50:00 +0200
www[dot]shop75[dot]net
--
char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}