GStwin.com GS500 Message Forum

Main Area => Odds n Ends => Topic started by: Mk1inCali on July 24, 2006, 10:51:51 AM

Title: Smart People Only Inside!!
Post by: Mk1inCali on July 24, 2006, 10:51:51 AM
So...I have a 4-dial combination lock which I have forgotten the combination on.


Any suggestions on how to crack the code?
Title: Re: Smart People Only Inside!!
Post by: GeeP on July 24, 2006, 10:58:31 AM
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:
Title: Re: Smart People Only Inside!!
Post by: RVertigo on July 24, 2006, 11:03:01 AM
Hacksaw.  :thumb:
Title: Re: Smart People Only Inside!!
Post by: MrDan on July 24, 2006, 11:40:10 AM
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.
Title: Re: Smart People Only Inside!!
Post by: CirclesCenter on July 24, 2006, 11:45:12 AM
If there was an easy way to bypass the lock would it be worth having?

(http://www.happyhobby.com/hobb_html/images/dremel/8059600275.jpg)

Boom, no lock stops a rotary tool.
Title: Re: Smart People Only Inside!!
Post by: ajaxgs on July 24, 2006, 11:47:52 AM
bolt cutters :2guns:
Title: Re: Smart People Only Inside!!
Post by: MrDan on July 24, 2006, 11:53:01 AM
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 :)
Title: Re: Smart People Only Inside!!
Post by: ajaxgs on July 24, 2006, 11:55:13 AM
does any body know the owner?????
Title: Re: Smart People Only Inside!!
Post by: MrDan on July 24, 2006, 12:01:29 PM
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).
Title: Re: Smart People Only Inside!!
Post by: 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);
                    }
               }
          }
     }
}
Title: Re: Smart People Only Inside!!
Post by: MrDan on July 24, 2006, 12:45:26 PM
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?
Title: Re: Smart People Only Inside!!
Post by: RVertigo on July 24, 2006, 12:47:30 PM
Oh right...


upload(MrDan_Brain);


There ya' go...
Title: Re: Smart People Only Inside!!
Post by: MrDan on July 24, 2006, 12:49:16 PM
Quote from: RVertigo on July 24, 2006, 12:47:30 PM
Oh right...


upload(MrDan_Brain);


There ya' go...

ow
Title: Re: Smart People Only Inside!!
Post by: Mk1inCali on July 24, 2006, 02:01:15 PM
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.
Title: Re: Smart People Only Inside!!
Post by: scratch on July 24, 2006, 03:44:42 PM
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.
Title: Re: Smart People Only Inside!!
Post by: mike_mike on July 24, 2006, 04:17:58 PM
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:
Title: Re: Smart People Only Inside!!
Post by: 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:
Title: Re: Smart People Only Inside!!
Post by: NiceGuysFinishLast on July 24, 2006, 04:52:17 PM
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.
Title: Re: Smart People Only Inside!!
Post by: Mk1inCali on July 24, 2006, 05:07:01 PM
No room for key access.



It's some Specialized bicycle lock.
Title: Re: Smart People Only Inside!!
Post by: NiceGuysFinishLast on July 24, 2006, 05:23:10 PM
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.
Title: Re: Smart People Only Inside!!
Post by: aaronstj on July 24, 2006, 05:26:31 PM
I like to freely mix the two, depending on my mood at the moment!  Take that, maintenance engineers!
Title: Re: Smart People Only Inside!!
Post by: NiceGuysFinishLast on July 24, 2006, 05:32:37 PM
Quote from: aaronstj on July 24, 2006, 05:26:31 PM
I like to freely mix the two, depending on my mood at the moment!  Take that, maintenance engineers!


haha.. no comments either, eh?
Title: Re: Smart People Only Inside!!
Post by: aaronstj on July 24, 2006, 05:34:04 PM
Oh, there's comments.  They're just misleading.  When they're not outright lying.  :icon_mrgreen:
Title: Re: Smart People Only Inside!!
Post by: RVertigo on July 24, 2006, 05:55:03 PM
 :laugh:

Sounds like our main SDET...  For a while I tried to figure his code on my own... :o  I decided that I had two choices, bother him all the time or shoot myself in the head.  He wasn't even consistent with return values...  Sometimes 1 was success, sometimes 0 was...  Sometimes it was any positive number....  But, it was never the same from func to func... AUGH!!!

And, like you said...  The comments were either missing or wrong. :o :cookoo: :o :cookoo:


My code is like this:

/*This is all the different possible things you could ever think of doing with this little tiny bit of code and perhaps a life story and what I was wearing at the time and had for lunch the day I wrote it... Blah Blah Blah and on and on...  Return values...  Exit codes...  Failure codes... And on and on...  Blah Blah Blah*/

tinyfuncthatdoesnothing()
{
     blah;
}



:laugh:


But...  That's probably why I don't write any code these days. :icon_rolleyes:  If you're too good at something, they fire you, demote you, or promote you...  Which ever will make you the least efficient. :laugh:
Title: Re: Smart People Only Inside!!
Post by: NiceGuysFinishLast on July 24, 2006, 05:55:15 PM
Quote from: aaronstj on July 24, 2006, 05:34:04 PM
Oh, there's comments.  They're just misleading.  When they're not outright lying.  :icon_mrgreen:

Am I a nerd because that made me laugh out loud?
Title: Re: Smart People Only Inside!!
Post by: yamahonkawazuki on July 24, 2006, 08:04:49 PM
yes but im laughing with ya  :laugh: and a few of these too  :flipoff:
Title: Re: Smart People Only Inside!!
Post by: Mk1inCali on December 07, 2006, 07:47:56 PM
Yeah...so...I randomly was organizing/paring down my stuff tonight and I guessed it.


I guess waiting a few months makes all the difference...it was first guess!
Title: Re: Smart People Only Inside!!
Post by: annguyen1981 on December 07, 2006, 09:42:28 PM
Hey Anthony...

There most likely is a way...  I've hacked into my Master Lock Combination locks.

What's the brand?  Model?
Title: Re: Smart People Only Inside!!
Post by: annguyen1981 on December 07, 2006, 09:43:24 PM
I'll find a way for you, so the next time, you don't have to wait months. :laugh:
Title: Re: Smart People Only Inside!!
Post by: pandy on December 08, 2006, 10:31:48 AM
Just passing through! I didn't see the "Smart Peeps" only sign before entering.  :flipoff:  :icon_mrgreen:
Title: Re: Smart People Only Inside!!
Post by: natedawg120 on December 08, 2006, 11:23:47 AM
i am with Rvertigo on the coding.  It is easier to read and its not like your going to run out of virtual paper  :laugh: :laugh:
Title: Re: Smart People Only Inside!!
Post by: skoebl on December 08, 2006, 03:03:03 PM
If it were a regular combination lock...then I would say do this....

http://www.metacafe.com/watch/297062/how_to_crack_a_combination_lock/

This guy figured out how to do it  :)
Title: Re: Smart People Only Inside!!
Post by: Mk1inCali on December 09, 2006, 02:20:45 AM
I guess I didn't make it clear...I figured it out (guessed it correctly)...so I'm done!
Title: Re: Smart People Only Inside!!
Post by: skoebl on December 09, 2006, 08:29:34 AM
Quote from: Mk1inCali on December 09, 2006, 02:20:45 AM
I guess I didn't make it clear...I figured it out (guessed it correctly)...so I'm done!

Haha, well too bad! We're gonna keep giving you suggestions for ever!!!  :icon_twisted:
Title: Re: Smart People Only Inside!!
Post by: Mk1inCali on December 09, 2006, 05:34:43 PM
Well, if it keeps you from being bored and lonely like An is...I guess do whatever ya feel like...
Title: Re: Smart People Only Inside!!
Post by: annguyen1981 on December 09, 2006, 07:58:55 PM
Quote from: Mk1inCali on December 09, 2006, 05:34:43 PM
Well, if it keeps you from being bored and lonely like An is...I guess do whatever ya feel like...


YOU TAKE THAT BACK, SIR!!!

I'm not bored.











:laugh: