<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for ~magog/public</title>
	<atom:link href="http://www.joachim-bauch.de/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joachim-bauch.de</link>
	<description>random::entropy</description>
	<lastBuildDate>Sun, 07 Apr 2013 06:44:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
	<item>
		<title>Comment on Loading a DLL from memory by Exécuter une application en mémoire comme un nul(l) &#124; Pirater comme un nul(l)</title>
		<link>http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/comment-page-1/#comment-81936</link>
		<dc:creator>Exécuter une application en mémoire comme un nul(l) &#124; Pirater comme un nul(l)</dc:creator>
		<pubDate>Sun, 07 Apr 2013 06:44:18 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/~magog/wordpress/?page_id=32#comment-81936</guid>
		<description>[...] http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/" rel="nofollow">http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Loading a DLL from memory by Exécuter une application en mémoire comme un nul(l) &#124; Pirater comme un nul(l)</title>
		<link>http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/comment-page-1/#comment-81935</link>
		<dc:creator>Exécuter une application en mémoire comme un nul(l) &#124; Pirater comme un nul(l)</dc:creator>
		<pubDate>Sun, 07 Apr 2013 06:44:16 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/~magog/wordpress/?page_id=32#comment-81935</guid>
		<description>[...] http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/" rel="nofollow">http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Loading a DLL from memory by Reflective DLL Injection with PowerShell &#124; clymb3r</title>
		<link>http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/comment-page-1/#comment-81817</link>
		<dc:creator>Reflective DLL Injection with PowerShell &#124; clymb3r</dc:creator>
		<pubDate>Sat, 06 Apr 2013 06:26:37 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/~magog/wordpress/?page_id=32#comment-81817</guid>
		<description>[...] http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/" rel="nofollow">http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Loading a DLL from memory by Entrada Aviso</title>
		<link>http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/comment-page-1/#comment-80884</link>
		<dc:creator>Entrada Aviso</dc:creator>
		<pubDate>Thu, 28 Mar 2013 14:09:50 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/~magog/wordpress/?page_id=32#comment-80884</guid>
		<description>Hello alright ..
Dear friends since ja wanna thank not only more praise this MemoryModule&#039;s great use in everything that I can use very good. I finally just a problem in version 0.0.1 creating the dll in memory using an executable. funcitona EXE perfect but when I try to create a dll from another dll error and dynamic occurs following line (l_successfull: l_DllEntry = (Cardinal (l_code) DLL_PROCESS_ATTACH, nil)) within the function BTMemoryLoadLibary
execpt and he comes calling BTMemoryFreeLibrary (l_result); ... Well that and my problem would be very grateful if you could ever help me .... from already thank you dear friends await response.</description>
		<content:encoded><![CDATA[<p>Hello alright ..<br />
Dear friends since ja wanna thank not only more praise this MemoryModule&#8217;s great use in everything that I can use very good. I finally just a problem in version 0.0.1 creating the dll in memory using an executable. funcitona EXE perfect but when I try to create a dll from another dll error and dynamic occurs following line (l_successfull: l_DllEntry = (Cardinal (l_code) DLL_PROCESS_ATTACH, nil)) within the function BTMemoryLoadLibary<br />
execpt and he comes calling BTMemoryFreeLibrary (l_result); &#8230; Well that and my problem would be very grateful if you could ever help me &#8230;. from already thank you dear friends await response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About me by babydream</title>
		<link>http://www.joachim-bauch.de/about/comment-page-1/#comment-76296</link>
		<dc:creator>babydream</dc:creator>
		<pubDate>Wed, 20 Feb 2013 07:13:47 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/~magog/wordpress/?page_id=2#comment-76296</guid>
		<description>hi,JY.
your idea about the load dll in momery is very interesting,also it can work compatible with dll,but not so good with exe,i konw it not so easy to execute a .exe from memory buffer,ie tls、hook and imagebase relaction confuse me the most,writeprocess sincerely work well,but is there a way like loading dll from memory to execute a .exe file?</description>
		<content:encoded><![CDATA[<p>hi,JY.<br />
your idea about the load dll in momery is very interesting,also it can work compatible with dll,but not so good with exe,i konw it not so easy to execute a .exe from memory buffer,ie tls、hook and imagebase relaction confuse me the most,writeprocess sincerely work well,but is there a way like loading dll from memory to execute a .exe file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PyLZMA by kbec</title>
		<link>http://www.joachim-bauch.de/projects/pylzma/comment-page-1/#comment-75637</link>
		<dc:creator>kbec</dc:creator>
		<pubDate>Thu, 14 Feb 2013 18:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/~magog/wordpress/?page_id=20#comment-75637</guid>
		<description>Is there a chance to get py7ziplib.Archive7z works with archive&#039;s subdirs on Windows? I got &quot;IndexError: list index out of range&quot; if opened archive contains directories.</description>
		<content:encoded><![CDATA[<p>Is there a chance to get py7ziplib.Archive7z works with archive&#8217;s subdirs on Windows? I got &#8220;IndexError: list index out of range&#8221; if opened archive contains directories.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Loading a DLL from memory by Ann</title>
		<link>http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/comment-page-1/#comment-74327</link>
		<dc:creator>Ann</dc:creator>
		<pubDate>Mon, 04 Feb 2013 16:10:27 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/~magog/wordpress/?page_id=32#comment-74327</guid>
		<description>if i add this in MFC project - it doesnt work. 

Please help me!

link to the my project(standart MFCdialog + 2 files of MemoryModule):
https://docs.google.com/file/d/0B5vKtHYfk6o5WFh5MTBlYVBYOEE/edit?usp=sharing</description>
		<content:encoded><![CDATA[<p>if i add this in MFC project &#8211; it doesnt work. </p>
<p>Please help me!</p>
<p>link to the my project(standart MFCdialog + 2 files of MemoryModule):<br />
<a href="https://docs.google.com/file/d/0B5vKtHYfk6o5WFh5MTBlYVBYOEE/edit?usp=sharing" rel="nofollow">https://docs.google.com/file/d/0B5vKtHYfk6o5WFh5MTBlYVBYOEE/edit?usp=sharing</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Loading a DLL from memory by Hardware ID Licensing System Techniques &#124; Programming for Fun</title>
		<link>http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/comment-page-1/#comment-66132</link>
		<dc:creator>Hardware ID Licensing System Techniques &#124; Programming for Fun</dc:creator>
		<pubDate>Tue, 25 Dec 2012 10:57:17 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/~magog/wordpress/?page_id=32#comment-66132</guid>
		<description>[...] Memory Module &#8211; http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/ Share this:TwitterFacebookLike this:LikeBe the first to like this.   This entry was posted in [...]</description>
		<content:encoded><![CDATA[<p>[...] Memory Module &#8211; <a href="http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/" rel="nofollow">http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/</a> Share this:TwitterFacebookLike this:LikeBe the first to like this.   This entry was posted in [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PyLZMA by Hamish</title>
		<link>http://www.joachim-bauch.de/projects/pylzma/comment-page-1/#comment-65479</link>
		<dc:creator>Hamish</dc:creator>
		<pubDate>Fri, 21 Dec 2012 16:37:40 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/~magog/wordpress/?page_id=20#comment-65479</guid>
		<description>Hi Joachim,

thanks very much for your port of LZMA - I find it very useful for filtering archives of network data.  However, I have a problem decompressing archives which are generated incrementally adding two or more files simultaneously.  I have found that the assumption in Archive7z.__init__ that &quot;every file has it&#039;s own folder&quot; does not hold.  I appreciate this may be a cause of &quot;Don&#039;t Do That!&quot;.  I am sure I should raise this on your bugzilla, but you do not seem to have a category for py7zlib bugs? 

In order to work around the problem I found that (1) SubstreamsInfo.__init__ contained a bug:
Where id == PROPERTY_SIZE, the sum must be set to zero before the inner loop (otherwise the total is carried across and incorrect sizes (often negative!) result.

(2) In order to more easily process the unpacking info, I changed the loop and its preamble in Archive7z.__init__ to: 

        self.solid = packinfo.numstreams == 1
        if self.solid:
            # the files are stored in substreams
            if hasattr(subinfo, &#039;unpacksizes&#039;):
                unpacksizes = subinfo.unpacksizes
            else:
                unpacksizes = [x.unpacksizes[0] for x in folders]
        else:
            # check every file has its own folder with compressed data
            if unpackinfo.numfolders == files.numfiles:
                unpacksizes = [x.unpacksizes[0] for x in folders]
            else:
                unpacksizes = subinfo.unpacksizes
        
        src_pos = self.afterheader
        maxsize = (self.solid and packinfo.packsizes[0]) or None

        idx2 = 0
        for fidx in range(unpackinfo.numfolders):
            folder = folders[fidx]

            pos = 0
            old_src_pos = src_pos
            numps = subinfo.numunpackstreams[fidx]
            for ssidx in range(numps):
                info = files.files[idx2]
                if info[&#039;emptystream&#039;]:
                    continue

                info[&#039;compressed&#039;] = (not self.solid and packsizes[fidx]) or None
                filesize = unpacksizes[idx2]
                info[&#039;uncompressed&#039;] = filesize                                
                file = ArchiveFile(info, pos, src_pos, 
                                    # unpacksizes[fidx], 
                                    filesize,
                                    folder, self, maxsize=maxsize)
                if subinfo.digestsdefined[idx2]:
                    file.digest = subinfo.digests[idx2]
                self.files.append(file)
                pos += unpacksizes[idx2]

                idx2 += 1    

            src_pos = old_src_pos
            if not self.solid:
                src_pos += packsizes[fidx]

My apologies for the length of this post, and any poor code formatting.  I should also add that I have not conducted exhastive testing on my workaround - it just works for the kind of archives I am encoundering.

Regards,
Hamish</description>
		<content:encoded><![CDATA[<p>Hi Joachim,</p>
<p>thanks very much for your port of LZMA &#8211; I find it very useful for filtering archives of network data.  However, I have a problem decompressing archives which are generated incrementally adding two or more files simultaneously.  I have found that the assumption in Archive7z.__init__ that &#8220;every file has it&#8217;s own folder&#8221; does not hold.  I appreciate this may be a cause of &#8220;Don&#8217;t Do That!&#8221;.  I am sure I should raise this on your bugzilla, but you do not seem to have a category for py7zlib bugs? </p>
<p>In order to work around the problem I found that (1) SubstreamsInfo.__init__ contained a bug:<br />
Where id == PROPERTY_SIZE, the sum must be set to zero before the inner loop (otherwise the total is carried across and incorrect sizes (often negative!) result.</p>
<p>(2) In order to more easily process the unpacking info, I changed the loop and its preamble in Archive7z.__init__ to: </p>
<p>        self.solid = packinfo.numstreams == 1<br />
        if self.solid:<br />
            # the files are stored in substreams<br />
            if hasattr(subinfo, &#8216;unpacksizes&#8217;):<br />
                unpacksizes = subinfo.unpacksizes<br />
            else:<br />
                unpacksizes = [x.unpacksizes[0] for x in folders]<br />
        else:<br />
            # check every file has its own folder with compressed data<br />
            if unpackinfo.numfolders == files.numfiles:<br />
                unpacksizes = [x.unpacksizes[0] for x in folders]<br />
            else:<br />
                unpacksizes = subinfo.unpacksizes</p>
<p>        src_pos = self.afterheader<br />
        maxsize = (self.solid and packinfo.packsizes[0]) or None</p>
<p>        idx2 = 0<br />
        for fidx in range(unpackinfo.numfolders):<br />
            folder = folders[fidx]</p>
<p>            pos = 0<br />
            old_src_pos = src_pos<br />
            numps = subinfo.numunpackstreams[fidx]<br />
            for ssidx in range(numps):<br />
                info = files.files[idx2]<br />
                if info['emptystream']:<br />
                    continue</p>
<p>                info['compressed'] = (not self.solid and packsizes[fidx]) or None<br />
                filesize = unpacksizes[idx2]<br />
                info['uncompressed'] = filesize<br />
                file = ArchiveFile(info, pos, src_pos,<br />
                                    # unpacksizes[fidx],<br />
                                    filesize,<br />
                                    folder, self, maxsize=maxsize)<br />
                if subinfo.digestsdefined[idx2]:<br />
                    file.digest = subinfo.digests[idx2]<br />
                self.files.append(file)<br />
                pos += unpacksizes[idx2]</p>
<p>                idx2 += 1    </p>
<p>            src_pos = old_src_pos<br />
            if not self.solid:<br />
                src_pos += packsizes[fidx]</p>
<p>My apologies for the length of this post, and any poor code formatting.  I should also add that I have not conducted exhastive testing on my workaround &#8211; it just works for the kind of archives I am encoundering.</p>
<p>Regards,<br />
Hamish</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Loading a DLL from memory by Justin Arndt</title>
		<link>http://www.joachim-bauch.de/tutorials/loading-a-dll-from-memory/comment-page-1/#comment-59885</link>
		<dc:creator>Justin Arndt</dc:creator>
		<pubDate>Thu, 29 Nov 2012 11:25:27 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/~magog/wordpress/?page_id=32#comment-59885</guid>
		<description>I ran into the same MFC issue, is there a workaround for that yet??</description>
		<content:encoded><![CDATA[<p>I ran into the same MFC issue, is there a workaround for that yet??</p>
]]></content:encoded>
	</item>
</channel>
</rss>
