News:

The simplest way to help GStwin is to use this Amazon link to shop

Main Menu

Smart People Only Inside!!

Started by Mk1inCali, July 24, 2006, 10:51:51 AM

Previous topic - Next topic

Mk1inCali

So...I have a 4-dial combination lock which I have forgotten the combination on.


Any suggestions on how to crack the code?
Anthony
                         '00 GS500E + 33K miles
        Bob B advancerK&N Pods/Dynojet Stage 3/Yoshimura black can full system;
        F3 rearsets/MX bars/SV throttle tube/New cables/Galfer SS line/EBC HH pads;
        Buell Signals/AL ignition cover/Fender & Reflectors hacked off.

GeeP

10*10*10*10 = 10,000 possible combinations. 

At 4 seconds per combination that'll take 40,000 seconds, or about 11.1 hours. 

A new lock costs $5.

$5 / 11.1 hrs. = $0.45 an hour.

If your job pays less than 45 cents an hour, crack the lock.  If it pays more than that, buy a new one.

Yay math!   :icon_mrgreen: :laugh: :icon_mrgreen: :icon_razz:
Every zero you add to the tolerance adds a zero to the price.

If the product "fails" will the product liability insurance pay for the "failure" until it turns 18?

Red '96
Black MK2 SV

RVertigo


MrDan

What if it's a combination lockbox that you have to leave there.  There's a house for sale on a street I'm investing in and noone can locate the realtor.  We'd like to see inside (with our agent of course) but noone knows the combination.  Sucks.

CirclesCenter

If there was an easy way to bypass the lock would it be worth having?



Boom, no lock stops a rotary tool.
Rich, RIP.

ajaxgs

2k gs500 naked (sold)
07 sv650s

MrDan

barring the hacksaw/dremel/bolt cutters route .. any suggestions on how to approach a 10000 code lock that needs to be manually manipulated?  breaking the lock would be illegal in my case ... figuring out the code would not :)

ajaxgs

2k gs500 naked (sold)
07 sv650s

MrDan

it's an absentee owner.  house is listed in MLS but the agent is unreachable and the code posted to the listing is incorrect.  any other agent can go in IF they can figure out the code to get the key.  need to see it to see if it's worth tracking down the agent to put a contract in (i think it will be).

RVertigo

CodeList()
{
     int c1 = 0;
     int c2 = 0;
     int c3 = 0;
     int c4 = 0;

     for(c1 = 0; c1 < 10; c1++)
     {
          for(c2 = 0; c2 < 10; c2++)
          {
               for(c3 = 0; c3 < 10; c3++)
               {
                    for(c4 = 0; c4 < 10; c4++)
                    }
                    printf("%n %n %n %n", c1, c2, c3, c4);
                    }
               }
          }
     }
}

MrDan

Quote from: RVertigo on July 24, 2006, 12:40:59 PM
CodeList()
{
     int c1 = 0;
     int c2 = 0;
     int c3 = 0;
     int c4 = 0;

     for(c1 = 0; c1 < 10; c1++)
     {
          for(c2 = 0; c2 < 10; c2++)
          {
               for(c3 = 0; c3 < 10; c3++)
               {
                    for(c4 = 0; c4 < 10; c4++)
                    }
                    printf("%n %n %n %n", c1, c2, c3, c4);
                    }
               }
          }
     }
}

thanks - can you program that in to my hands now?

RVertigo

Oh right...


upload(MrDan_Brain);


There ya' go...

MrDan


Mk1inCali

It's actually one of those combo lock IN the cable type of bicycle locks, so I'd rather not hack it apart, don't need to, and I'd not like to throw it away.


I guess I'll just keep trying to think of it, and wait for it to come to me.
Anthony
                         '00 GS500E + 33K miles
        Bob B advancerK&N Pods/Dynojet Stage 3/Yoshimura black can full system;
        F3 rearsets/MX bars/SV throttle tube/New cables/Galfer SS line/EBC HH pads;
        Buell Signals/AL ignition cover/Fender & Reflectors hacked off.

scratch

I was going to ask if it was a collector's item, like a Master lock from 1966, or a famous one, like the one Marylyn Monroe used at her high school, when she was in high school.
The motorcycle is no longer the hobby, the skill has become the hobby.

Power does not compare to skill.  What good is power without the skill to use it?

QuoteOriginally posted by Wintermute on BayAreaRidersForum.com
good judgement trumps good skills every time.

mike_mike

Quote from: RVertigo on July 24, 2006, 12:40:59 PM
CodeList()
{
     int c1 = 0;
     int c2 = 0;
     int c3 = 0;
     int c4 = 0;

     for(c1 = 0; c1 < 10; c1++)
     {
          for(c2 = 0; c2 < 10; c2++)
          {
               for(c3 = 0; c3 < 10; c3++)

               {
                    for(c4 = 0; c4 < 10; c4++)
                    }
                    printf("%n %n %n %n", c1, c2, c3, c4);
                    }
               }
          }
     }
}

:mad: that programming style drives me insane.. MS visual studio loves that style.  :mad:

It's all about the T&R style!!  :)

CodeList() {
   do stuff
}


*this has been your daily dose of geek here on GStwin. Remeber this information, there's no better way to pick up ladies than to impress them with talks about programming style conventions!  :cheers:
2005 GS500F (blue)
Location: Toronto, Ontario, Soviet Canuckistan

RVertigo

You know...  I used to code like that:

func(){
     Stuff;
{

But, I realized that it's actually easier to read like:

func()
{

     Stuff;

{

So...  I do it that way...   And Yes...  Even when it's just ONE thing:

if(blah)
{
     func(stuff);
}



Some people HAAAAAAAAAAAAAAAAATE it...  But, it's easy to read...  And it's not like it's a while(0) or anything.   :mad: :mad: :mad:

NiceGuysFinishLast

Does it also have a key override? Cuz if it's a cheapo lock, chances are it could be picked fairly easily. Those are what I practice on. For fun, of course, no illegal activity.
irc.freequest.net

#GStwins gs500

Hang out there, we may flame, but we don't hate.

My attitude is in serious need of readjustment, and I'm ok with that.

Mk1inCali

No room for key access.



It's some Specialized bicycle lock.
Anthony
                         '00 GS500E + 33K miles
        Bob B advancerK&N Pods/Dynojet Stage 3/Yoshimura black can full system;
        F3 rearsets/MX bars/SV throttle tube/New cables/Galfer SS line/EBC HH pads;
        Buell Signals/AL ignition cover/Fender & Reflectors hacked off.

NiceGuysFinishLast

Quote from: RVertigo on July 24, 2006, 04:23:47 PM
You know...  I used to code like that:

func(){
     Stuff;
{

But, I realized that it's actually easier to read like:

func()
{

     Stuff;

{

So...  I do it that way...   And Yes...  Even when it's just ONE thing:

if(blah)
{
     func(stuff);
}



Some people HAAAAAAAAAAAAAAAAATE it...  But, it's easy to read...  And it's not like it's a while(0) or anything.   :mad: :mad: :mad:

I'm with you RVert.. much easier to read.
irc.freequest.net

#GStwins gs500

Hang out there, we may flame, but we don't hate.

My attitude is in serious need of readjustment, and I'm ok with that.

SMF spam blocked by CleanTalk