X-Received: by 10.67.5.33 with SMTP id cj1mr1748241pad.39.1414498541785; Tue, 28 Oct 2014 05:15:41 -0700 (PDT) X-Received: by 10.140.25.174 with SMTP id 43mr3218qgt.26.1414498541521; Tue, 28 Oct 2014 05:15:41 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!h15no733085igd.0!news-out.google.com!u5ni10qab.1!nntp.google.com!s7no1119654qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.python Date: Tue, 28 Oct 2014 05:15:40 -0700 (PDT) In-Reply-To: <387322ee-d76f-43dc-9a0b-69067a0d5fbc@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=87.18.240.102; posting-account=OO3zHwoAAADRa6q93j9CYxrTLzO3xtQE NNTP-Posting-Host: 87.18.240.102 References: <49c92881-e8bf-4e80-9e4d-8b88c0d12133@googlegroups.com> <387322ee-d76f-43dc-9a0b-69067a0d5fbc@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <802a6f09-77dc-4612-8b87-e642c4e22ba8@googlegroups.com> Subject: Re: memory, PE files, etc... From: gandalf23@mail.com Injection-Date: Tue, 28 Oct 2014 12:15:41 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.lang.python:79837 On Tuesday, October 28, 2014 3:37:19 AM UTC+1, Rustom Mody wrote: > On Tuesday, October 28, 2014 12:41:40 AM UTC+5:30, kiuh...@yahoo.it wrote: > > On Monday, October 27, 2014 6:24:19 PM UTC+1, Tim Golden wrote: > > > psutil is definitely your friend: > > > > > > https://github.com/giampaolo/psutil > > > > > > Although WMI can be quite handy too, depending on what you're trying to do: > > > > > > http://timgolden.me.uk/python/wmi/ > > > > > > TJG > > > > Thanks for answering. > > I don't know if psutil is what I'm looking for. > > What I need to do is more related to debugging than to administration. > > Let's say I want to search for a sequence of bytes in the .text section of a given module. Can I do that with psutil? > > https://code.google.com/p/pefile/ > > ? I need to analyze the memory of running processes. The answer is PyDbg or direct access to the API of Windows.