> I have been working on extracting VBA code from the MS Office document component > parts that the OLE2 unpacker I sent a couple of weeks ago generates. > > The code linked below should work on files from Office97 onwards, VBA 5 and 6. I > have tested some Word and Excel files, and things look quite good. > > NOTE: I have also make some very minor changes to the OLE2 unpacker, and you'll > need the version linked below, or vba_extract will fail. > > http://www.uncon.org/files/ole2_extract.c > http://www.uncon.org/files/vba_extract.c
Trog, what do you think about rewriting these programs (at least ole2_extract.c) to not use global variables: int big_block_size, small_block_size; int sbat_start=-1; Think about what will happen, if an unpacked OLE2 part will be scanned and recursively unpacked as OLE2. ---------- Tomasz Klim, [EMAIL PROTECTED] http://www.euroneto.pl Phone: +48 61 8433535 Fax: +48 61 8434455 Euronet Sp. z o.o., Dabrowskiego 81/85, 60-529 Poznan, Poland ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users