Bruteforcing Blackberry PersistentStore?

Posted by Haoest on Stack Overflow See other posts from Stack Overflow or by Haoest
Published on 2010-05-18T02:51:02Z Indexed on 2010/05/18 4:00 UTC
Read the original article Hit count: 223

Hello, I am experimenting with Blackberry's Persistent Store, but I have gotten nowhere so far, which is good, I guess.

So I have written a a short program that attempts iterator through 0 to a specific upper bound to search for persisted objects. Blackberry seems to intentionally slow the loop. Check this out:

String result = "result: \n";
            int ub = 3000;
            Date start = Calendar.getInstance().getTime();
            for(int i=0; i<ub; i++){
                PersistentObject o = PersistentStore.getPersistentObject(i);
                if (o.getContents() !=  null){
                    result += (String) o.getContents() + "\n";
                }
            }
            result += "end result\n";
            result += "from 0 to " + ub + " took " + (Calendar.getInstance().getTime().getTime() - start.getTime()) / 1000 + " seconds";

From 0 to 3000 took 20 seconds. Is this enough to conclude that brute-forcing is not a practical method to breach the Blackberry?

In general, how secure is BB Persistent Store?

© Stack Overflow or respective owner

Related posts about blackberry

Related posts about persistent-store