From owner-freebsd-questions Fri Aug 30 4:47:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6835C37B400 for ; Fri, 30 Aug 2002 04:47:42 -0700 (PDT) Received: from hotmail.com (oe23.pav2.hotmail.com [64.4.36.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21BD243E72 for ; Fri, 30 Aug 2002 04:47:42 -0700 (PDT) (envelope-from unixtools@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 30 Aug 2002 04:47:42 -0700 X-Originating-IP: [202.41.224.36] From: "Unix Tools" To: "Patrick Thomas" , References: <20020818071521.B58763-100000@utility.clubscholarship.com> Subject: Re: how to determine the time zone a system has ? Date: Fri, 30 Aug 2002 05:32:27 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 30 Aug 2002 11:47:42.0057 (UTC) FILETIME=[0C4DF590:01C2501B] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG just type the command date arya# date Sat Jan 24 23:09:19 EST 1998 You get teh time zone ----- Original Message ----- From: "Patrick Thomas" To: Sent: Sunday, August 18, 2002 07:47 PM Subject: how to determine the time zone a system has ? > > Hello, > > I loosely understand that the correct mechanism to determine the time zone > that a freebsd system has is to md5 a certain file and then compare that > md5 with the time zone files themselves and then look at the name of the > file that matches....i think... > > Anyway, someone once gave me a small bit of shellcode that does that - > md5s the right file, then md5s all the other ones and echos the one that > matches - does anyone have that bit of shellcode ? > > thanks, > > PT > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message