Well I gave up trying to fuzz it with a program and googled it, which revealed which command was vulnerable. After that I just adapted my original script which to find the number of chars necessary to cause a BOF.
I guess the moral is in these situations you're best off trying to fuzz each command one by one, as oppose to using a program to do it for you.
Cheers


