Author Topic: Learning Python to Hack  (Read 5251 times)

0 Members and 1 Guest are viewing this topic.

Offline theshadow

  • /dev/null
  • *
  • Posts: 5
  • Cookies: 1
    • View Profile
Learning Python to Hack
« on: August 04, 2015, 07:25:24 pm »
UPDATE 1:

Been a slow week for coding, but I've gone through the first 9 sections in Infiniteskills Learning Python.  Setup my MacBook Pro with Ubuntu which works perfectly on my mid-2009 MBP.  Later today I'm going to post a zip file of all the books I'm using in the Ebooks board and provide a list to the torrents of the instructional videos I'm using.  Over at PyGame they have a map generator source code which I will print out later today to use as a basis for my Ultima clone.

Someone made a tutorial for PyGame on YouTube.  I'm not sure how good it is, but it may be useful with the above book.

https://m.youtube.com/playlist?list=PLQVvvaa0QuDdLkP8MrOXLe_rKuf6r80KO

ORIGINAL POST BELOW:

I'm getting back into programming and hacking after 20 yrs.  So I decided to start with Python.  Here's my idea for myself and any other newbies who want to join in.

  • Learn Python (InfiniteSkills course or something similar)
  • Write a game similar to the old Ultima game on the C64.  (You can't handle the Commodore!)
  • Learn basic Pentesting (InfiniteSkills again or something similar)
  • Learn Wireless Network hacking (yeah, the same)
  • Pick an app (Cain&Abel) to port to Mac OSX and Linux(Ubuntu 15 on refit) in python
  • Write something similar to HackPorts for Mac OSX and Linux
  • Build our own ProxyHam version
This week I'm starting Learning Python at InfiniteSkills.  The course will take about a week.  No it isn't very intense, but it gives a good foundation to build from.  From there, I'll use pygame to write an old Ultima style game.  After that, I'll pick some easy hacking/pentesting tool to port to Linux or OSX.
My plan is to keep this thread up to date as I go.  If you're new to hacking and programming as well, then join me.  One of the benefits of this site is that all of those wonderful books about Hacking with Python are here.  Here are the one's I'll use as reference guides for hacking: 
  • Gray Hat Python
  • Black Hat Python
  • Python Hacking Essentials
  • Practical Packet Analysis
  • Metasploit:  The Penetration Tester's Guide
I'll also use the following books for Python programming
  • Beginning Python (Wrox and Apress)
  • Programming in Python 4th ed
  • Thinking in Python
  • Beginning Game Development with Python & Pygame
  • Thinking Like a Programmer
If you don't have these books and can't find them here, let me know and I'll upload them.
Eventually I would like to port a series of tools to Android that allow for pentesting with just a rooted phone.  I know they're out there, but writing your own tools is one of the best ways to learn.


« Last Edit: August 07, 2015, 09:02:54 pm by theshadow »

Offline Rytiou

  • Noob Zombie
  • VIP
  • Knight
  • *
  • Posts: 199
  • Cookies: 45
  • EZ's Noob
    • View Profile
Re: Learning Python to Hack
« Reply #1 on: August 04, 2015, 09:11:07 pm »
Python is a decent language to start with. IMO Learn Python the Hard Way is an amazing resource to learn python and it's free. Helped me when I was first starting off with the fundamentals and what not.
Quote from: Evilzone IRC
<EZBot> life, you're so lame we decided to change your nick to Rytiou's bitch.
<EZBot> Rytiou is lord of the fags and will suck dicks for shells.

Offline Blackoutt

  • Serf
  • *
  • Posts: 31
  • Cookies: 4
  • Just fooling around
    • View Profile
Re: Learning Python to Hack
« Reply #2 on: August 04, 2015, 09:57:54 pm »
Nice posts!

My bigger problem is get motivated to go coding. I know a thing or two in Python but can't focus on programming.

I gather a list of new ideas from EZ to see if I can motivate to code

I'll try this guide too.

Offline theshadow

  • /dev/null
  • *
  • Posts: 5
  • Cookies: 1
    • View Profile
Re: Learning Python to Hack
« Reply #3 on: August 04, 2015, 11:10:59 pm »
Thanks for the book recommend. I'll add it to list.

I think my first hacker python project will be a port for LOIC into Python and to MacOSX and Linux.

LPTHW is available as a torrent with videos.  Again thanks for the recommend Rytiou
« Last Edit: August 07, 2015, 09:03:46 pm by theshadow »

Offline 0E 800

  • Not a VIP
  • VIP
  • Baron
  • *
  • Posts: 895
  • Cookies: 131
  • • тнε ιηтεяηεт ιs мү яεcүcℓε-вιη •
    • View Profile
Re: Learning Python to Hack
« Reply #4 on: August 07, 2015, 06:40:59 pm »
bruh...





« Last Edit: August 07, 2015, 06:42:04 pm by 0E 800 »
The invariable mark of wisdom is to see the miraculous in the common.

Offline theshadow

  • /dev/null
  • *
  • Posts: 5
  • Cookies: 1
    • View Profile
Re: Learning Python to Hack
« Reply #5 on: August 07, 2015, 07:45:22 pm »
Where's the double post?  Only see one of each on my device.

Offline gray-fox

  • Knight
  • **
  • Posts: 208
  • Cookies: 52
    • View Profile
Re: Learning Python to Hack
« Reply #6 on: August 07, 2015, 08:33:27 pm »
*facepalm*
Don't post new reply if yours is already last one in thread, use modify button if you have something to add. That OE 800 meant.
« Last Edit: August 07, 2015, 08:34:41 pm by gray-fox »

Offline theshadow

  • /dev/null
  • *
  • Posts: 5
  • Cookies: 1
    • View Profile
Re: Learning Python to Hack
« Reply #7 on: August 07, 2015, 08:59:26 pm »
Ahh.  Check on that.

Offline Youngsalinger

  • NULL
  • Posts: 3
  • Cookies: -1
    • View Profile
Re: Learning Python to Hack
« Reply #8 on: August 11, 2015, 02:25:00 am »
hey, can you upload those books?
some if not all..
im going to do the same thing with you, but im using codecademy
I hear mixed things about it.
im already 30% done with the course.

was going to start java after. or should I focus on python first?
is that moving to fast?

Offline mysterioux

  • NULL
  • Posts: 2
  • Cookies: 0
    • View Profile
Re: Learning Python to Hack
« Reply #9 on: August 12, 2015, 09:03:17 am »
UPDATE 1:

Been a slow week for coding, but I've gone through the first 9 sections in Infiniteskills Learning Python.  Setup my MacBook Pro with Ubuntu which works perfectly on my mid-2009 MBP.  Later today I'm going to post a zip file of all the books I'm using in the Ebooks board and provide a list to the torrents of the instructional videos I'm using.  Over at PyGame they have a map generator source code which I will print out later today to use as a basis for my Ultima clone.

Someone made a tutorial for PyGame on YouTube.  I'm not sure how good it is, but it may be useful with the above book.

https://m.youtube.com/playlist?list=PLQVvvaa0QuDdLkP8MrOXLe_rKuf6r80KO

ORIGINAL POST BELOW:

I'm getting back into programming and hacking after 20 yrs.  So I decided to start with Python.  Here's my idea for myself and any other newbies who want to join in.

  • Learn Python (InfiniteSkills course or something similar)
  • Write a game similar to the old Ultima game on the C64.  (You can't handle the Commodore!)
  • Learn basic Pentesting (InfiniteSkills again or something similar)
  • Learn Wireless Network hacking (yeah, the same)
  • Pick an app (Cain&amp;Abel) to port to Mac OSX and Linux(Ubuntu 15 on refit) in python
  • Write something similar to HackPorts for Mac OSX and Linux
  • Build our own ProxyHam version
This week I'm starting Learning Python at InfiniteSkills.  The course will take about a week.  No it isn't very intense, but it gives a good foundation to build from.  From there, I'll use pygame to write an old Ultima style game.  After that, I'll pick some easy hacking/pentesting tool to port to Linux or OSX.
My plan is to keep this thread up to date as I go.  If you're new to hacking and programming as well, then join me.  One of the benefits of this site is that all of those wonderful books about Hacking with Python are here.  Here are the one's I'll use as reference guides for hacking: 
  • Gray Hat Python
  • Black Hat Python
  • Python Hacking Essentials
  • Practical Packet Analysis
  • Metasploit:  The Penetration Tester's Guide
I'll also use the following books for Python programming
  • Beginning Python (Wrox and Apress)
  • Programming in Python 4th ed
  • Thinking in Python
  • Beginning Game Development with Python &amp; Pygame
  • Thinking Like a Programmer
If you don't have these books and can't find them here, let me know and I'll upload them.
Eventually I would like to port a series of tools to Android that allow for pentesting with just a rooted phone.  I know they're out there, but writing your own tools is one of the best ways to learn.
I am with you on this. Left programming for some years now I am back to a field I always love.. Cybersecurity. Kindly upload all books to help have a one point of access.. Nice bro. Let's go hacking

Sent from my Infinix-X551 using Tapatalk


Offline mysterioux

  • NULL
  • Posts: 2
  • Cookies: 0
    • View Profile
Re: Learning Python to Hack
« Reply #10 on: August 12, 2015, 09:04:47 am »
hey, can you upload those books?
some if not all..
im going to do the same thing with you, but im using codecademy
I hear mixed things about it.
im already 30% done with the course.

was going to start java after. or should I focus on python first?
is that moving to fast?
Stay on python bro. You will never regret it.

Offline gray

  • Serf
  • *
  • Posts: 33
  • Cookies: 16
    • View Profile
Re: Learning Python to Hack
« Reply #11 on: August 12, 2015, 12:59:55 pm »
I see that Violent Python is not in your list for hacking-with-Python books. I strongly recommend you read it, it's an excellent book with lots of code samples and explanations for various security and hacking related topics. It's by far my favorite book for how to use Python for penetration testing.

Offline ignignokt

  • NULL
  • Posts: 1
  • Cookies: 0
    • View Profile
Re: Learning Python to Hack
« Reply #12 on: August 21, 2015, 10:30:08 am »
Gray Hat Python seems to be written in a way accessible to beginners, but it was written in 2009.
It sounds like you've read this before; do you think its datedness will cause issues for anybody using Python 2.7 wanting to follow it start to finish?
Also, I did a google search for InfiniteSkills, and I couldn't find these books listed there?

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: Learning Python to Hack
« Reply #13 on: August 21, 2015, 11:53:06 am »
Gray Hat Python seems to be written in a way accessible to beginners, but it was written in 2009.
It sounds like you've read this before; do you think its datedness will cause issues for anybody using Python 2.7 wanting to follow it start to finish?
Also, I did a google search for InfiniteSkills, and I couldn't find these books listed there?

Python 2.7 wont be an issue at all, now when you move to Python 3 it will be a problem. You can adapt most all of it (if libs used will let you) to python 3 once you learn what's changed and all.

Gray Hat and Black Hat Python are both really good. I recommend Black Hat Python more since I my self got more out of it. The books I link to in the Ref Material found in this tut are really good.
>>>import this
-----------------------------

Offline Synfer

  • Serf
  • *
  • Posts: 28
  • Cookies: 7
  • One fag to rule them all
    • View Profile
Re: Learning Python to Hack
« Reply #14 on: August 24, 2015, 08:11:49 am »
ok guys so I have a question.
I know its stupid but whatever,

ok so I know the purpose of a hacker name  to hide identity,
but when would u even need one?

like whats an example where youd even leave behind a name much less a hacking name>

I know tv is a load of shit but I always see they have these hacking names,

like in the matrix.. mr, Anderson's hacker name was neo first, ?

am I making the question clear?

i'll delete this off the thread because this is a good thread, I just wanted to know.
Because that's basically how we know each other here, I'm answering to Youngsalinger because that's the name you chose to show us. To me it's just being able to recognize each other, just like a "normal" name. (And please dont' call this a "hacker name", it's just a nickname, nothing more).
Using a name and then leaving it somewhere is kind of a signature (which is kinda dumb)
"A malicious program has attempted to shut down Windows. As a precaution, Windows was shut down."
We should create for the process, not the product.