Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Network programming in python..

3,003 views

Published on

Published in: Technology, Education
  • Login to see the comments

Network programming in python..

  1. 1. Network programming in Python Mastering the layers of protocol stack
  2. 2. >>>dir(speaker) • Not a developer. • Security guy who codes from time to time • Been using Python for over four years. • Interested Networks & Software exploitation • In love with Python & Assembly ;) • Sucks at making power points.
  3. 3. Why Python? • Batteries included. • Powerful third party libraries. • Python saves a lot of 'programmer’ time. • Simple Learning curve. http://xkcd.com/353/
  4. 4. Some Python tools.. http://www.dirk-loss.de/python-tools.htm
  5. 5. Python’s popularity
  6. 6. Let’s get to the fun stuff!!
  7. 7. PART - I • Core protocols(TCP, UDP, IPV4, IPV6) • TCP options, IP options • Packet headers • Byte order Essential Networking
  8. 8. PART - II • Socket address structures • Socket options • TCP Sockets, UDP Sockets • Name functions, Byte order functions • Basic scripts(day time, echo, time out) • Simple port scanner Elementary Sockets
  9. 9. PART - III • DNS • HTTP • FTP • SSL/TLS • SSH • POP/IMAP • Others Protocols
  10. 10. PART - IV • Typical network errors & exception handling Network errors & Debugging
  11. 11. PART - V • Scapy • Impacket • python-shodan • pymaltego • python-nmap • Others Third party libraries
  12. 12. PART - VI • Intro to Raw Sockets • Port scanner using raw sockets - SYN Scan - ACK Scan - Other techniques Raw Sockets
  13. 13. PART - VII • Some interesting scenario based scripts. (possibly using a WLAN to watch them in action) Scenario based scripts
  14. 14. PART - VIII • Going beyond what's covered in the workshop Moving Forward..

×