Discussion:
Patch unshield-0.6
Mark Ellis
2009-07-22 09:05:46 UTC
Permalink
yop
Hi, I don't really do much with unshield, don't know the file format at
all, so I've forwarded your message to the synce-devel list.

Mark
I was testing unshield on a Dell archive.
"""
[unshield_read_headers:284] Version 0x020005dc handled as major
version 0
"""
So After debugging and hexdump the archive, it unshield works by
patching version test and force it to "9"
(file desciption are avery 0x57bytes, md5sum is in desc file...)
So I made a little patch, but maybe version handling is different in
the present cabfile.
"""
diff -r 56b5c54882d1 lib/libunshield.c
--- a/lib/libunshield.c Wed Jul 22 09:25:49 2009 +0200
+++ b/lib/libunshield.c Wed Jul 22 10:52:49 2009 +0200
@@ -269,7 +269,10 @@
goto error;
}
- header->major_version = (header->common.version >> 12) & 0xf;
+ if ((header->common.version >> 12) == 0x2000)
+ header->major_version = 9;
+ else
+ header->major_version = (header->common.version >> 12) &
0xf;
#if 0
if (header->major_version < 5)
"""
Maybe its a bit wreid, but it works :)
http://support.dell.com/support/downloads/download.aspx?c=us&cs=555&l=en&s=biz&releaseid=R206690&SystemID=LAT_E5400&servicetag=&os=WLH&osl=en&deviceid=16358&devlib=0&typecnt=0&vercnt=3&catid=-1&impid=-1&formatcnt=2&libid=25&fileid=289361
(sorry for big link)
ftp://ftp.us.dell.com/app/DRVR_WIN_R206690.EXE
Dell_ControlPoint-Security-M_A07_R206690.exe
data1.hdr data1.cab data2.cab
Note the setup.exe of installshied seems to have 15.0.0.498 in version
property.
+
serpilliere
David Eriksson
2009-07-22 18:17:12 UTC
Permalink
Hi,

Thanks, this patch might be more generic than the one already in svn.
I'll need to do some regression testing though.


Cheers,

David
Post by Mark Ellis
yop
Hi, I don't really do much with unshield, don't know the file format at
all, so I've forwarded your message to the synce-devel list.
Mark
I was testing unshield on a Dell archive.
"""
[unshield_read_headers:284] Version 0x020005dc handled as major
version 0
"""
So After debugging and hexdump the archive, it unshield works by
patching version test and force it to "9"
(file desciption are avery 0x57bytes, md5sum is in desc file...)
So I made a little patch, but maybe version handling is different in
the present cabfile.
"""
diff -r 56b5c54882d1 lib/libunshield.c
--- a/lib/libunshield.c Wed Jul 22 09:25:49 2009 +0200
+++ b/lib/libunshield.c Wed Jul 22 10:52:49 2009 +0200
@@ -269,7 +269,10 @@
goto error;
}
- header->major_version = (header->common.version >> 12) & 0xf;
+ if ((header->common.version >> 12) == 0x2000)
+ header->major_version = 9;
+ else
+ header->major_version = (header->common.version >> 12) &
0xf;
#if 0
if (header->major_version < 5)
"""
Maybe its a bit wreid, but it works :)
http://support.dell.com/support/downloads/download.aspx?c=us&cs=555&l=en&s=biz&releaseid=R206690&SystemID=LAT_E5400&servicetag=&os=WLH&osl=en&deviceid=16358&devlib=0&typecnt=0&vercnt=3&catid=-1&impid=-1&formatcnt=2&libid=25&fileid=289361
(sorry for big link)
ftp://ftp.us.dell.com/app/DRVR_WIN_R206690.EXE
Dell_ControlPoint-Security-M_A07_R206690.exe
data1.hdr data1.cab data2.cab
Note the setup.exe of installshied seems to have 15.0.0.498 in version
property.
+
serpilliere
------------------------------------------------------------------------------
_______________________________________________
SynCE-Devel mailing list
https://lists.sourceforge.net/lists/listinfo/synce-devel
--

Loading...