Article View: alt.privacy.anon-server
Article #95920Re: [ANNOUNCE] JBN 2.2 available
From: Michael Schierl
Date: Fri, 10 Oct 2003 16:32
Date: Fri, 10 Oct 2003 16:32
49 lines
3373 bytes
3373 bytes
Anonymous-Remailer@See.Comment.Header (Frog-Admin) wrote: >If, by "file", you mean "the .EXE", your answer is *FALSE*: > compiling 2 times the *same* source will give *different* results > successive compiles of the simplest VB program > (an empty form, or even just an empty Main() > will result in a dozen differences between the resulting .EXEs > number of differences grows with number of forms .... Yes, AFAIK this is caused by the fact that values are "padded" in the binary (e.g. a 5 byte string is followed by 3 dummy bytes before a long), and VB is too lazy to fill these values. (I already saw it to have filenames or other content previously in memory (on Win9x/ME) in the resulting .exe file. Additionally, your VB licence number will be encoded into the binary file. (Maybe also a CLSID like in Word documents, which could theoretically be used to get your network card's MAC address). >I am still looking for a way to check that a resulting .exe *really* comes from a VB source > http://frogadmin.yi.org/HELP/DisDevLOT.html >AFAIK, the answer to the question is "You can't check that" > and I would be *delighted* to be wrong You are right. However, one can compile a file say 10 times and find all the bytes that are equal in all files (all files will have same length anyway - if they are not, it was *not* the same source). If these bytes are also equal in the "foreign" file, it is *quite* sure that the file was the right one. On the other hand, if it is not so, it does not necessarily mean that the file is different. But i won't suggest to do it that way - especially not in this newsgroup; this is kinda "sna*ke oi*l"... To have some figures: I compiled a program i already compiled some time ago 5 times and compared the files. 279756 bytes were equal in all of the files (including the old one), 2347 bytes were not equal in the 5 new copies, and (still) 521 bytes (that is more than half a kilobyte) were equal in the 5 new copies, but different in the old file. --> forget this idea. Michael -- "New" PGP Key! User ID: Michael Schierl <schierlm@gmx.de> Key ID: 0x58B48CDD Size: 2048 Created: 26.03.2002 Fingerprint: 68CE B807 E315 D14B 7461 5539 C90F 7CC8 http://home.arcor.de/mschierlm/mschierlm.asc
Technical Details
Message-ID:
<bm6n0m$jpkb2$1@ID-39741.news.uni-berlin.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.mbox.zip!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!ags9-d9ba53dd.pool.mediaways.NET!not-for-mailReferences:
<9c219b1010cff3153a1dbd84b343b3a8@dizum.com> <1920ac86c2226f27fc03220644df106a@dizum.com> <JYSSEU6437903.8614351852@Gilgamesh-frog.org>Show Full Headers
Complete Article Headers
Message-ID: <bm6n0m$jpkb2$1@ID-39741.news.uni-berlin.de> Subject: Re: [ANNOUNCE] JBN 2.2 available Date: Fri, 10 Oct 2003 18:32:21 +0200 From: Michael Schierl <schierlm-usenet@gmx.de> References: <9c219b1010cff3153a1dbd84b343b3a8@dizum.com> <1920ac86c2226f27fc03220644df106a@dizum.com> <JYSSEU6437903.8614351852@Gilgamesh-frog.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.mbox.zip!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!ags9-d9ba53dd.pool.mediaways.NET!not-for-mail Newsgroups: alt.privacy.anon-server Lines: 49 Reply-To: schierlm@gmx.de NNTP-Posting-Host: ags9-d9ba53dd.pool.mediaways.net (217.186.83.221) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1065803607 20762978 217.186.83.221 (16 [39741]) X-Newsreader: Forte Agent 1.93/32.576 English (American)