Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79910 > unrolled thread

problem with pefile

Started bygandalf23@mail.com
First post2014-10-29 06:15 -0700
Last post2014-10-29 08:49 -0700
Articles 10 — 4 participants

Back to article view | Back to comp.lang.python


Contents

  problem with pefile gandalf23@mail.com - 2014-10-29 06:15 -0700
    Re: problem with pefile Tim Golden <mail@timgolden.me.uk> - 2014-10-29 13:39 +0000
      Re: problem with pefile gandalf23@mail.com - 2014-10-29 08:34 -0700
        Re: problem with pefile Kiuhnm <gandalf23@mail.com> - 2014-10-29 08:50 -0700
        Re: problem with pefile Cameron Simpson <cs@zip.com.au> - 2014-10-31 11:32 +1100
          Re: problem with pefile Kiuhnm <gandalf23@mail.com> - 2014-10-30 17:58 -0700
            Re: problem with pefile Cameron Simpson <cs@zip.com.au> - 2014-10-31 12:22 +1100
              Re: problem with pefile Kiuhnm <gandalf23@mail.com> - 2014-10-31 06:12 -0700
                Re: problem with pefile Cameron Simpson <cs@zip.com.au> - 2014-11-01 08:36 +1100
    Re: problem with pefile Kiuhnm <gandalf23@mail.com> - 2014-10-29 08:49 -0700

#79910 — problem with pefile

Fromgandalf23@mail.com
Date2014-10-29 06:15 -0700
Subjectproblem with pefile
Message-ID<a2e273c3-9596-400b-9ea0-37a63de779bb@googlegroups.com>
Where is DIRECTORY_ENTRY_LOAD_CONFIG?
In the changelog (https://code.google.com/p/pefile/) one can read:

"Version: 1.2.10-60

    Besides some small bugfixes in this release I've added functionality to parse the LOAD_CONFIG data directory. Now one can access this structure's fields like, for instance, pe.DIRECTORY_ENTRY_LOAD_CONFIG.struct.SecurityCookie or pe.DIRECTORY_ENTRY_LOAD_CONFIG.struct.SEHandlerTable"

[toc] | [next] | [standalone]


#79912

FromTim Golden <mail@timgolden.me.uk>
Date2014-10-29 13:39 +0000
Message-ID<mailman.15298.1414589946.18130.python-list@python.org>
In reply to#79910
On 29/10/2014 13:15, gandalf23@mail.com wrote:
> Where is DIRECTORY_ENTRY_LOAD_CONFIG? In the changelog
> (https://code.google.com/p/pefile/) one can read:
> 
> "Version: 1.2.10-60
> 
> Besides some small bugfixes in this release I've added functionality
> to parse the LOAD_CONFIG data directory. Now one can access this
> structure's fields like, for instance,
> pe.DIRECTORY_ENTRY_LOAD_CONFIG.struct.SecurityCookie or
> pe.DIRECTORY_ENTRY_LOAD_CONFIG.struct.SEHandlerTable"
> 

I suggest you engage with the maintainers of that project. It appears to
have an issue tracker:

https://code.google.com/p/pefile/issues/list

TJG

[toc] | [prev] | [next] | [standalone]


#79918

Fromgandalf23@mail.com
Date2014-10-29 08:34 -0700
Message-ID<11bb3aad-9d8b-442a-b5d3-09af6b771737@googlegroups.com>
In reply to#79912
On Wednesday, October 29, 2014 2:39:30 PM UTC+1, Tim Golden wrote:
> On 29/10/2014 13:15, gandalf23 wrote:
> > Where is DIRECTORY_ENTRY_LOAD_CONFIG? In the changelog
> > (https://code.google.com/p/pefile/) one can read:
> > 
> > "Version: 1.2.10-60
> > 
> > Besides some small bugfixes in this release I've added functionality
> > to parse the LOAD_CONFIG data directory. Now one can access this
> > structure's fields like, for instance,
> > pe.DIRECTORY_ENTRY_LOAD_CONFIG.struct.SecurityCookie or
> > pe.DIRECTORY_ENTRY_LOAD_CONFIG.struct.SEHandlerTable"
> > 
> 
> I suggest you engage with the maintainers of that project. It appears to
> have an issue tracker:
> 
> https://code.google.com/p/pefile/issues/list
> 
> TJG

I found out what's the problem by reading the source code.
The attributes DIRECTORY_ENTRY_* are added dynamically to an instance of the class PE when/if the corresponding directories are found in the PE file.

OT: how can I hide my email in these posts?
Every time I try to send a post, google warns me that my email is visible and so I edit it out.

[toc] | [prev] | [next] | [standalone]


#79920

FromKiuhnm <gandalf23@mail.com>
Date2014-10-29 08:50 -0700
Message-ID<bfe0eecc-9f16-4e49-ab86-adff44110d26@googlegroups.com>
In reply to#79918
On Wednesday, October 29, 2014 4:34:42 PM UTC+1, Kiuhnm wrote:
> OT: how can I hide my email in these posts?
> Every time I try to send a post, google warns me that my email is visible and so I edit it out.

Problem solved :)

[toc] | [prev] | [next] | [standalone]


#79980

FromCameron Simpson <cs@zip.com.au>
Date2014-10-31 11:32 +1100
Message-ID<mailman.15336.1414715565.18130.python-list@python.org>
In reply to#79918
On 29Oct2014 08:34, gandalf23@mail.com <gandalf23@mail.com> wrote:
>OT: how can I hide my email in these posts?
>Every time I try to send a post, google warns me that my email is visible and so I edit it out.

Why would you want to hide your email?

Cameron Simpson <cs@zip.com.au>

[toc] | [prev] | [next] | [standalone]


#79982

FromKiuhnm <gandalf23@mail.com>
Date2014-10-30 17:58 -0700
Message-ID<59be2b15-3995-4cfa-a11d-58d001ddc622@googlegroups.com>
In reply to#79980
On Friday, October 31, 2014 1:33:07 AM UTC+1, Cameron Simpson wrote:
> On 29Oct2014 08:34, gandalf23 wrote:
> >OT: how can I hide my email in these posts?
> >Every time I try to send a post, google warns me that my email is visible and so I edit it out.
> 
> Why would you want to hide your email?
> 
> Cameron Simpson <cs@zip.com.au>

I don't want more spam.

[toc] | [prev] | [next] | [standalone]


#79985

FromCameron Simpson <cs@zip.com.au>
Date2014-10-31 12:22 +1100
Message-ID<mailman.15337.1414718595.18130.python-list@python.org>
In reply to#79982
On 30Oct2014 17:58, Kiuhnm <gandalf23@mail.com> wrote:
>On Friday, October 31, 2014 1:33:07 AM UTC+1, Cameron Simpson wrote:
>> On 29Oct2014 08:34, gandalf23 wrote:
>> >OT: how can I hide my email in these posts?
>> >Every time I try to send a post, google warns me that my email is visible and so I edit it out.
>>
>> Why would you want to hide your email?
>
>I don't want more spam.

You just need to filter your email better.
Most of us do not hide our addresses.

I manage to filter most of my spam by filing anything which gets past all my 
rules that catch mailing lists and which do not come from addresses in my 
"known" group into a probably-spam folder. It is surprisingly effective.

Basicly:
   - to me (me in to/cc/bcc), from a "known" author ==> inbox
   - matches one of my mailing list rules ==> appropriate-folder
   - otherwise ==> probably-spam

That is a simplification, but it is my basic scheme. Works fairly well.

Anyway, this is off-topic for python-list so I'll shut up now.

Cheers,
Cameron Simpson <cs@zip.com.au>

It must be public fact, because I'm not the only one who knows about it.
         - Stefan A. Werner <iczer-1!saw@uunet.uu.net>

[toc] | [prev] | [next] | [standalone]


#80013

FromKiuhnm <gandalf23@mail.com>
Date2014-10-31 06:12 -0700
Message-ID<89082d33-3518-4f85-940f-d88e7930155e@googlegroups.com>
In reply to#79985
On Friday, October 31, 2014 2:23:26 AM UTC+1, Cameron Simpson wrote:
> On 30Oct2014 17:58, Kiuhnm <gandalf23> wrote:
> >On Friday, October 31, 2014 1:33:07 AM UTC+1, Cameron Simpson wrote:
> >> On 29Oct2014 08:34, gandalf23 wrote:
> >> >OT: how can I hide my email in these posts?
> >> >Every time I try to send a post, google warns me that my email is visible and so I edit it out.
> >>
> >> Why would you want to hide your email?
> >
> >I don't want more spam.
> 
> You just need to filter your email better.
> Most of us do not hide our addresses.
> 
> I manage to filter most of my spam by filing anything which gets past all my 
> rules that catch mailing lists and which do not come from addresses in my 
> "known" group into a probably-spam folder. It is surprisingly effective.
> 
> Basicly:
>    - to me (me in to/cc/bcc), from a "known" author ==> inbox
>    - matches one of my mailing list rules ==> appropriate-folder
>    - otherwise ==> probably-spam

If it's *probably*-spam, you need to check it anyway, so that doesn't solve the problem. What happens if I miss an important email?

[toc] | [prev] | [next] | [standalone]


#80059

FromCameron Simpson <cs@zip.com.au>
Date2014-11-01 08:36 +1100
Message-ID<mailman.15371.1414791418.18130.python-list@python.org>
In reply to#80013
On 31Oct2014 06:12, Kiuhnm <gandalf23@mail.com> wrote:
>On Friday, October 31, 2014 2:23:26 AM UTC+1, Cameron Simpson wrote:
>> On 30Oct2014 17:58, Kiuhnm <gandalf23> wrote:
>> >On Friday, October 31, 2014 1:33:07 AM UTC+1, Cameron Simpson wrote:
>> >> On 29Oct2014 08:34, gandalf23 wrote:
>> >> >OT: how can I hide my email in these posts?
>> >> >Every time I try to send a post, google warns me that my email is visible and so I edit it out.
>> >>
>> >> Why would you want to hide your email?
>> >
>> >I don't want more spam.
>>
>> You just need to filter your email better.
>> Most of us do not hide our addresses.
>>
>> I manage to filter most of my spam by filing anything which gets past all my
>> rules that catch mailing lists and which do not come from addresses in my
>> "known" group into a probably-spam folder. It is surprisingly effective.
>>
>> Basicly:
>>    - to me (me in to/cc/bcc), from a "known" author ==> inbox
>>    - matches one of my mailing list rules ==> appropriate-folder
>>    - otherwise ==> probably-spam
>
>If it's *probably*-spam, you need to check it anyway, so that doesn't solve the problem. What happens if I miss an important email?

I review that folder ("unknown") every so often (a few times a day). But it 
keeps most of the noise out of everything else. The "probably spam" effect is 
one reason I don't discard things outright.

I also find it easier to review a single folder whose contents are almost 
always spam than to constantly have little bits of spam floating by in my 
normal mail folders.

If you want to pursue this discussions we should take it off-list to private 
email; we're not talking about Python any more.

Cheers,
Cameron Simpson <cs@zip.com.au>

[toc] | [prev] | [next] | [standalone]


#79919

FromKiuhnm <gandalf23@mail.com>
Date2014-10-29 08:49 -0700
Message-ID<eb66106b-1f70-4272-8c6a-9068411d88ce@googlegroups.com>
In reply to#79910
Little test...sorry.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web