EH-Net

Ethical Hacking Discussions and Related Certifications => Programming => Topic started by: Andrew Waite on April 24, 2009, 03:24:30 AM



Title: Gray Hat Python
Post by: Andrew Waite on April 24, 2009, 03:24:30 AM
New book, Gray Hat Python (http://www.amazon.com/Gray-Hat-Python-Programming-Engineers/dp/1593271921) just released, if blurb is anything to go by should be a good addition to the library.

Hoping to get a copy soon so I'll try to let you all know if it lives up to billing.

Word of warning to other UKians; I haven't don't the maths completely, but it may be cheaper to order from Amazon.com and pay international shipping than to purchase through *.co.uk. Wonders of international commerce.


Title: Re: Gray Hat Python
Post by: NickFnord on April 24, 2009, 03:38:47 AM
That actually looks really good - I found python very easy to pick up, but then hit the wall of having to search for an hour or more for every 2 minutes of code I wanted to write. was thinking of buying a python manual anyway so this looks like it could be the one to get. 

I'll be very interested in knowing your thoughts on it.


Title: Re: Gray Hat Python
Post by: BillV on April 24, 2009, 06:25:01 AM
Cool. I came across this one about two months ago looking for something else and have been waiting for it. Sounds like it should be pretty good. I almost forgot all about it. Thanks for the update RR!


Title: Re: Gray Hat Python
Post by: Andrew Waite on April 24, 2009, 08:06:59 AM
Looks like a USAian may have to beat me to a review. Not released in UK for another week :( (according to Waterstones.com, amazon.co.uk lists as unavailable)

At least it pushes it back until after payday...


Title: Re: Gray Hat Python
Post by: don on April 24, 2009, 08:46:07 AM
No Starch is sending me copies for giveaways at ChicagoCon and for review purposes. Once I get this assigned, we should have a review in time for summer reading lists.  :)

Don


Title: Re: Gray Hat Python
Post by: timmedin on April 25, 2009, 10:34:25 AM
Sweet! I am going to have to order this! Don, do you have a link so we can get any affialiate $$ to EH.net through amazon or someone else?


Title: Re: Gray Hat Python
Post by: don on April 25, 2009, 02:15:22 PM
Thanks for asking as even that little bit for each book helps support the site. You can click Gray Hat Python (http://www.amazon.com/gp/product/1593271921?ie=UTF8&tag=thedigitalcon-20&link_code=as3&camp=211189&creative=373489&creativeASIN=1593271921) or everyone can use the search field in the right column under the poll.

Much appreciated,
Don





Title: Re: Gray Hat Python
Post by: Thegmandrive on April 27, 2009, 04:48:24 PM
Wow, looks like a very interesting book, just ordered my copy today :). Happy to support EH.

Peace


Title: Re: Gray Hat Python
Post by: jmseitz on April 27, 2009, 09:48:03 PM
Hey guys!

I hope my book serves you all well, and let me know what you think of it. If you have any questions on anything don't hesitate to drop me a note!  I am happy to see so many decide to come to the Python-dark side :)

JS


Title: Re: Gray Hat Python
Post by: BillV on April 28, 2009, 06:31:59 AM
Hey there JS! Welcome to the site :)

We're all looking forward to checking it out ;D Thank you!

BillV


Title: Re: Gray Hat Python
Post by: hayabusa on April 28, 2009, 06:59:40 AM
Yes, welcome JS!

Looking forward to reading this one.  I've dabbled a 'little' in Python, but have previously spent more time in Ruby and C.  I really want a better feel for it, as I have some things I'd like to port over, and use with some of the premium tools, like Canvas and Core.

Anxiously awaiting my copy in the mail!


Title: Re: Gray Hat Python
Post by: don on April 28, 2009, 09:44:10 AM
Hey JS,

Welcome to EH-Net, and hopefully this isn't just a single stop for you. Would love to have you as a regular.  8)

FYI to all - I have thrown this review to Ryan Linn.

Looking forward,
Don


Title: Re: Gray Hat Python
Post by: Andrew Waite on April 28, 2009, 11:06:57 AM
JS, welcome.

I've used python for the last few months and have been looking for something 'useful' to stick my teeth into, so I'm looking forward to getting a copy of the book.

Don/Ryan, looking forward to the review, hope you don't make me wait too long ;)....


Title: Re: Gray Hat Python
Post by: jmseitz on April 29, 2009, 10:28:16 AM
Hey guys!

Thanks for all the kind words, I hope I don't let you down! The cool thing with Python (over a LOT of other languages) is that it is very easy to perform powerful tasks without a lot of low-level madness.

The other cool thing is that some of the best tools are written in Python, including commercial tools like CANVAS, so having some Python experience can be useful if you ever want to extend those tools or build your own modules.

I have left my email address available on my profile, you guys are all welcome to email me whenever you please! I try to keep up with forums, mailing lists, etc. as best I can, so if you post a question and I am not getting back to you, fire me an email :) Thanks again guys, I hope you enjoy it!


Title: Re: Gray Hat Python
Post by: ethicalhack3r on April 29, 2009, 03:34:59 PM
Does any one know if the book is written for python 2.5 or 3? And are the examples just windows examples or are their linux ones too?



Title: Re: Gray Hat Python
Post by: LSOChris on April 30, 2009, 08:06:47 AM
dont know but maybe the sample chapter will help

http://www.nostarch.com/download/ghpython_ch2and4.pdf


Title: Re: Gray Hat Python
Post by: hayabusa on April 30, 2009, 01:17:33 PM
I don't, either, but seeing as Mr. Seitz is now a member, and posting in this thread, I'll bet he could provide the answer...   ::)


Title: Re: Gray Hat Python
Post by: don on May 01, 2009, 11:01:28 PM
Got my copies of the book from No Starch for ChicagoCon and for Ryan to review. Quote from Chapter 1 of the book answers your question:

Quote

This chapter quickly covers the installation of Python 2.5, configuring your Eclipse development environment, and the basics of writing C-compatible code with Python. Once you have set up the environment and understand the basics, the world is your oyster; this book will show you how to crack it open.


Not surprisingly (especially if you read Juston's bio), it is recommended that you install Immunity Debugger (http://debugger.immunityinc.com/) which also contains an installer for Python 2.5. The book uses Immunity Debugger in many later chapters, so he simply thinks you should kill 2 birds with one stone. Makes sense.

I'll stop here as to not steal Ryan's thunder before he even gets his hands on the book.  :-X

Don


Title: Re: Gray Hat Python
Post by: apollo on May 02, 2009, 01:16:46 AM
As a side note, if you haven't tried Immunity Debugger yet you should give it a try.  I started using it when I went for NOP certification at Defcon last year and it was pretty sweet.  I hope to get the write up done shortly after ChicagoCon so I will share more then.  But as many RE tools seem to be moving to Python, checking out Immunity Debugger is something folks should do anyway.


Title: Re: Gray Hat Python
Post by: phn1x on May 03, 2009, 06:43:20 PM
Review:
http://carnal0wnage.blogspot.com/2009/05/gray-hat-python-python-programming-for.html


Title: Re: Gray Hat Python
Post by: hayabusa on May 06, 2009, 01:01:03 PM
Looking forward to your review, Ryan.

Always nice to compare against one's own thinking.  I picked up my copy, yesterday, and really looking forward to diving into it.  (Would've last night, already, but had an exceedingly long drive back from an onsite gig.)

Anxious doesn't give it enough weight...!