Mastering Python for networking and security: leverage Python scripts and libraries to overcome networking and security issues
Intro -- Cover -- Title Page -- Copyright and Credits -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Working with Python Scripting -- Technical requirements -- Programming and installing Python -- Introducing Python scripting -- Why choose Python? -- Multi-platform --...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Elektronisch E-Book |
Sprache: | English |
Veröffentlicht: |
Birmingham ; Mumbai
Packt
[2018]
|
Schlagworte: | |
Online-Zugang: | FHI01 FHM01 UBY01 UBY01 |
Zusammenfassung: | Intro -- Cover -- Title Page -- Copyright and Credits -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Working with Python Scripting -- Technical requirements -- Programming and installing Python -- Introducing Python scripting -- Why choose Python? -- Multi-platform -- Object-Oriented Programming -- Obtaining and installing Python -- Installing Python on Windows -- Installing Python for Linux -- Python collections -- Lists -- Reversing a List -- Comprehension lists -- Tuples -- Dictionaries -- Python functions and managing exceptions -- Python functions -- Managing exceptions -- Python as an OOP language -- Inheritance -- The OMSTD methodology and STB Module for Python scripting -- Python packages and modules -- What is a module in Python? -- Difference Between a Python Module and a Python Package -- Passing parameters in Python -- Managing dependencies in a Python project -- Generating the requirements.txt file -- Working with virtual environments -- Using virtualenv and virtualwrapper -- The STB (Security Tools Builder) module -- The main development environments for script-development -- Setting up a development environment -- Pycharm -- WingIDE -- Debugging with WingIDE -- Summary -- Questions -- Further reading -- Chapter 2: System Programming Packages -- Technical requirements -- Introducing system modules in python -- The system module -- The operating system module -- Contents of the current working directory -- Determining the operating system -- Subprocess module -- Working with the filesystem in Python -- Accessing files and directories -- Recursing through directories -- Checking whether a specific path is a file or directory -- Checking whether a file or directory exists -- Creating directories in Python -- Reading and writing files in Python -- File methods -- Opening a file -- With a Context Manager Reading a file line by line -- Threads in Python -- Introduction to Threads -- Types of threads -- Processes vs Threads -- Creating a simple Thread -- Threading module -- Multithreading and concurrency in Python -- Introduction to Multithreading -- Multithreading in Python -- Limitations with classic python threads -- Concurrency in python with ThreadPoolExecutor -- Creating ThreadPoolExecutor -- ThreadPoolExecutor in practice -- Executing ThreadPoolExecutor with Context Manager -- Python Socket.io -- Introducing WebSockets -- aiohttp and asyncio -- Implementing a Server with socket.io -- Summary -- Questions -- Further reading -- Chapter 3: Socket Programming -- Technical requirements -- Introduction to sockets -- Network sockets in Python -- The socket module -- Socket methods -- Server socket methods -- Client socket methods -- Basic client with the socket module -- Creating a simple TCP client and TCP server -- Creating a server and client with sockets -- Implementing the TCP serverIn this example, we are going to create a multithreaded TCP server. -- Implementing the TCP client -- Creating a simple UDP client and UDP server -- Introduction to the UDP protocol -- UDP client and server with the socket module -- Implementing the UDP Server -- Implementing the UDP client -- Resolving IP addresses and domains -- Gathering information with sockets -- Reverse lookup -- Practical use cases for sockets -- Port scanner with sockets -- Managing socket exceptions -- Summary -- Questions -- Further reading -- Chapter 4: HTTP Programming -- Technical requirements -- HTTP protocol and building HTTP clients in python -- Introduction to the HTTP Protocol -- Building an HTTP Client with httplib -- Building an HTTP Client with urllib2 -- Introduction to urllib2 -- Response objects -- Status codes -- Checking HTTP headers with urllib2 Using the urllib2 Request class -- Customizing requests with urllib2 -- Getting emails from a URL with urllib2 -- Getting links from a URL with urllib2 -- Building an HTTP Client with requests -- Introduction to requests -- Requests advantages -- Making GET Requests with the REST API -- Making POST Requests with the REST API -- Making Proxy Requests -- Managing exceptions with requests -- Authentication mechanisms with Python -- Authentication with the requests module -- HTTP Basic authentication -- HTTP Digest Authentication -- Summary -- Questions -- Further Reading -- Chapter 5: Analyzing Network Traffic -- Technical requirements -- Capturing and injecting packets with pcapy -- Introduction to pcapy -- Capturing packets with pcapy -- Reading headers from packets -- Capturing and injecting packets with scapy -- What can we do with scapy? -- Scapy advantages and disadvantages -- Introduction to scapy -- Scapy commands -- Sending packets with scapy -- Packet-sniffing with scapy -- Using Lamda functions with scapy -- Filtering UDP packets -- Port-scanning and traceroute with scapy -- Port-scanning with scapy -- Traceroute command with scapy -- Reading pcap files with scapy -- Introduction to the PCAP format -- Reading pcap files with scapy -- Writing a pcap file -- Sniffing from a pcap file with scapy -- Network Forensic with scapy -- Summary -- Questions -- Further reading -- Chapter 6: Gathering Information from Servers -- Technical requirements -- Introduction to gathering information -- Extracting information from servers with Shodan -- Introduction to Shodan -- Accessing Shodan services -- Shodan filters -- Shodan search with python -- Performing searches by a given host -- Searching for FTP servers -- Using python to obtain server information -- Extracting servers banners with python -- Finding whois information about a server |
Beschreibung: | 1 Online-Ressource (ix, 399 Seiten) Illustrationen (teilweise farbig) |
ISBN: | 9781788990707 |
Internformat
MARC
LEADER | 00000nmm a2200000 c 4500 | ||
---|---|---|---|
001 | BV045372867 | ||
003 | DE-604 | ||
005 | 20230207 | ||
007 | cr|uuu---uuuuu | ||
008 | 181217s2018 |||| o||u| ||||||eng d | ||
020 | |a 9781788990707 |c Online |9 978-1-78899-070-7 | ||
035 | |a (ZDB-221-PCL)9781788990707 | ||
035 | |a (OCoLC)1079408878 | ||
035 | |a (DE-599)GBV1032472693 | ||
040 | |a DE-604 |b ger |e rda | ||
041 | 0 | |a eng | |
049 | |a DE-706 |a DE-83 |a DE-11 |a DE-573 |a DE-M347 | ||
100 | 1 | |a Ortega, José Manuel |e Verfasser |0 (DE-588)1224571800 |4 aut | |
245 | 1 | 0 | |a Mastering Python for networking and security |b leverage Python scripts and libraries to overcome networking and security issues |c José Manuel Ortega |
264 | 1 | |a Birmingham ; Mumbai |b Packt |c [2018] | |
264 | 4 | |c © 2018 | |
300 | |a 1 Online-Ressource (ix, 399 Seiten) |b Illustrationen (teilweise farbig) | ||
336 | |b txt |2 rdacontent | ||
337 | |b c |2 rdamedia | ||
338 | |b cr |2 rdacarrier | ||
520 | 3 | |a Intro -- Cover -- Title Page -- Copyright and Credits -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Working with Python Scripting -- Technical requirements -- Programming and installing Python -- Introducing Python scripting -- Why choose Python? -- Multi-platform -- Object-Oriented Programming -- Obtaining and installing Python -- Installing Python on Windows -- Installing Python for Linux -- Python collections -- Lists -- Reversing a List -- Comprehension lists -- Tuples -- Dictionaries -- Python functions and managing exceptions -- Python functions -- Managing exceptions -- Python as an OOP language -- Inheritance -- The OMSTD methodology and STB Module for Python scripting -- Python packages and modules -- What is a module in Python? -- Difference Between a Python Module and a Python Package -- Passing parameters in Python -- Managing dependencies in a Python project -- Generating the requirements.txt file -- Working with virtual environments -- Using virtualenv and virtualwrapper -- The STB (Security Tools Builder) module -- The main development environments for script-development -- Setting up a development environment -- Pycharm -- WingIDE -- Debugging with WingIDE -- Summary -- Questions -- Further reading -- Chapter 2: System Programming Packages -- Technical requirements -- Introducing system modules in python -- The system module -- The operating system module -- Contents of the current working directory -- Determining the operating system -- Subprocess module -- Working with the filesystem in Python -- Accessing files and directories -- Recursing through directories -- Checking whether a specific path is a file or directory -- Checking whether a file or directory exists -- Creating directories in Python -- Reading and writing files in Python -- File methods -- Opening a file -- With a Context Manager | |
520 | 3 | |a Reading a file line by line -- Threads in Python -- Introduction to Threads -- Types of threads -- Processes vs Threads -- Creating a simple Thread -- Threading module -- Multithreading and concurrency in Python -- Introduction to Multithreading -- Multithreading in Python -- Limitations with classic python threads -- Concurrency in python with ThreadPoolExecutor -- Creating ThreadPoolExecutor -- ThreadPoolExecutor in practice -- Executing ThreadPoolExecutor with Context Manager -- Python Socket.io -- Introducing WebSockets -- aiohttp and asyncio -- Implementing a Server with socket.io -- Summary -- Questions -- Further reading -- Chapter 3: Socket Programming -- Technical requirements -- Introduction to sockets -- Network sockets in Python -- The socket module -- Socket methods -- Server socket methods -- Client socket methods -- Basic client with the socket module -- Creating a simple TCP client and TCP server -- Creating a server and client with sockets -- Implementing the TCP serverIn this example, we are going to create a multithreaded TCP server. -- Implementing the TCP client -- Creating a simple UDP client and UDP server -- Introduction to the UDP protocol -- UDP client and server with the socket module -- Implementing the UDP Server -- Implementing the UDP client -- Resolving IP addresses and domains -- Gathering information with sockets -- Reverse lookup -- Practical use cases for sockets -- Port scanner with sockets -- Managing socket exceptions -- Summary -- Questions -- Further reading -- Chapter 4: HTTP Programming -- Technical requirements -- HTTP protocol and building HTTP clients in python -- Introduction to the HTTP Protocol -- Building an HTTP Client with httplib -- Building an HTTP Client with urllib2 -- Introduction to urllib2 -- Response objects -- Status codes -- Checking HTTP headers with urllib2 | |
520 | 3 | |a Using the urllib2 Request class -- Customizing requests with urllib2 -- Getting emails from a URL with urllib2 -- Getting links from a URL with urllib2 -- Building an HTTP Client with requests -- Introduction to requests -- Requests advantages -- Making GET Requests with the REST API -- Making POST Requests with the REST API -- Making Proxy Requests -- Managing exceptions with requests -- Authentication mechanisms with Python -- Authentication with the requests module -- HTTP Basic authentication -- HTTP Digest Authentication -- Summary -- Questions -- Further Reading -- Chapter 5: Analyzing Network Traffic -- Technical requirements -- Capturing and injecting packets with pcapy -- Introduction to pcapy -- Capturing packets with pcapy -- Reading headers from packets -- Capturing and injecting packets with scapy -- What can we do with scapy? -- Scapy advantages and disadvantages -- Introduction to scapy -- Scapy commands -- Sending packets with scapy -- Packet-sniffing with scapy -- Using Lamda functions with scapy -- Filtering UDP packets -- Port-scanning and traceroute with scapy -- Port-scanning with scapy -- Traceroute command with scapy -- Reading pcap files with scapy -- Introduction to the PCAP format -- Reading pcap files with scapy -- Writing a pcap file -- Sniffing from a pcap file with scapy -- Network Forensic with scapy -- Summary -- Questions -- Further reading -- Chapter 6: Gathering Information from Servers -- Technical requirements -- Introduction to gathering information -- Extracting information from servers with Shodan -- Introduction to Shodan -- Accessing Shodan services -- Shodan filters -- Shodan search with python -- Performing searches by a given host -- Searching for FTP servers -- Using python to obtain server information -- Extracting servers banners with python -- Finding whois information about a server | |
650 | 0 | 7 | |a Python |g Programmiersprache |0 (DE-588)4434275-5 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Computersicherheit |0 (DE-588)4274324-2 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a Rechnernetz |0 (DE-588)4070085-9 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Python |g Programmiersprache |0 (DE-588)4434275-5 |D s |
689 | 0 | 1 | |a Rechnernetz |0 (DE-588)4070085-9 |D s |
689 | 0 | 2 | |a Computersicherheit |0 (DE-588)4274324-2 |D s |
689 | 0 | |5 DE-604 | |
776 | 0 | 8 | |i Erscheint auch als |n Druck-Ausgabe |z 978-1-78899-251-0 |
912 | |a ZDB-30-PQE |a ZDB-221-PCL |a ebook |a ZDB-4-NLEBK |a ZDB-5-WPSE | ||
999 | |a oai:aleph.bib-bvb.de:BVB01-030759324 | ||
966 | e | |u https://portal.igpublish.com/iglibrary/search/PACKT0004831.html |l FHI01 |p ZDB-221-PCL |x Aggregator |3 Volltext | |
966 | e | |u https://portal.igpublish.com/iglibrary/search/PACKT0004831.html |l FHM01 |p ZDB-221-PCL |q FHM_PDA_PCL_Kauf |x Aggregator |3 Volltext | |
966 | e | |u https://ebookcentral.proquest.com/lib/unibwm/detail.action?docID=5532253 |l UBY01 |p ZDB-30-PQE |q UBY01_Einzelkauf18 |x Aggregator |3 Volltext | |
966 | e | |u https://portal.igpublish.com/iglibrary/search/PACKT0004831.html |l UBY01 |p ZDB-221-PCL |q UBY01_ZDB-221-PCL21 |x Verlag |3 Volltext |
Datensatz im Suchindex
_version_ | 1804179217595760640 |
---|---|
any_adam_object | |
author | Ortega, José Manuel |
author_GND | (DE-588)1224571800 |
author_facet | Ortega, José Manuel |
author_role | aut |
author_sort | Ortega, José Manuel |
author_variant | j m o jm jmo |
building | Verbundindex |
bvnumber | BV045372867 |
collection | ZDB-30-PQE ZDB-221-PCL ebook ZDB-4-NLEBK ZDB-5-WPSE |
ctrlnum | (ZDB-221-PCL)9781788990707 (OCoLC)1079408878 (DE-599)GBV1032472693 |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>07742nmm a2200469 c 4500</leader><controlfield tag="001">BV045372867</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20230207 </controlfield><controlfield tag="007">cr|uuu---uuuuu</controlfield><controlfield tag="008">181217s2018 |||| o||u| ||||||eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781788990707</subfield><subfield code="c">Online</subfield><subfield code="9">978-1-78899-070-7</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(ZDB-221-PCL)9781788990707</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)1079408878</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)GBV1032472693</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rda</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-706</subfield><subfield code="a">DE-83</subfield><subfield code="a">DE-11</subfield><subfield code="a">DE-573</subfield><subfield code="a">DE-M347</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Ortega, José Manuel</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1224571800</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Mastering Python for networking and security</subfield><subfield code="b">leverage Python scripts and libraries to overcome networking and security issues</subfield><subfield code="c">José Manuel Ortega</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Birmingham ; Mumbai</subfield><subfield code="b">Packt</subfield><subfield code="c">[2018]</subfield></datafield><datafield tag="264" ind1=" " ind2="4"><subfield code="c">© 2018</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 Online-Ressource (ix, 399 Seiten)</subfield><subfield code="b">Illustrationen (teilweise farbig)</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="520" ind1="3" ind2=" "><subfield code="a">Intro -- Cover -- Title Page -- Copyright and Credits -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Working with Python Scripting -- Technical requirements -- Programming and installing Python -- Introducing Python scripting -- Why choose Python? -- Multi-platform -- Object-Oriented Programming -- Obtaining and installing Python -- Installing Python on Windows -- Installing Python for Linux -- Python collections -- Lists -- Reversing a List -- Comprehension lists -- Tuples -- Dictionaries -- Python functions and managing exceptions -- Python functions -- Managing exceptions -- Python as an OOP language -- Inheritance -- The OMSTD methodology and STB Module for Python scripting -- Python packages and modules -- What is a module in Python? -- Difference Between a Python Module and a Python Package -- Passing parameters in Python -- Managing dependencies in a Python project -- Generating the requirements.txt file -- Working with virtual environments -- Using virtualenv and virtualwrapper -- The STB (Security Tools Builder) module -- The main development environments for script-development -- Setting up a development environment -- Pycharm -- WingIDE -- Debugging with WingIDE -- Summary -- Questions -- Further reading -- Chapter 2: System Programming Packages -- Technical requirements -- Introducing system modules in python -- The system module -- The operating system module -- Contents of the current working directory -- Determining the operating system -- Subprocess module -- Working with the filesystem in Python -- Accessing files and directories -- Recursing through directories -- Checking whether a specific path is a file or directory -- Checking whether a file or directory exists -- Creating directories in Python -- Reading and writing files in Python -- File methods -- Opening a file -- With a Context Manager</subfield></datafield><datafield tag="520" ind1="3" ind2=" "><subfield code="a">Reading a file line by line -- Threads in Python -- Introduction to Threads -- Types of threads -- Processes vs Threads -- Creating a simple Thread -- Threading module -- Multithreading and concurrency in Python -- Introduction to Multithreading -- Multithreading in Python -- Limitations with classic python threads -- Concurrency in python with ThreadPoolExecutor -- Creating ThreadPoolExecutor -- ThreadPoolExecutor in practice -- Executing ThreadPoolExecutor with Context Manager -- Python Socket.io -- Introducing WebSockets -- aiohttp and asyncio -- Implementing a Server with socket.io -- Summary -- Questions -- Further reading -- Chapter 3: Socket Programming -- Technical requirements -- Introduction to sockets -- Network sockets in Python -- The socket module -- Socket methods -- Server socket methods -- Client socket methods -- Basic client with the socket module -- Creating a simple TCP client and TCP server -- Creating a server and client with sockets -- Implementing the TCP serverIn this example, we are going to create a multithreaded TCP server. -- Implementing the TCP client -- Creating a simple UDP client and UDP server -- Introduction to the UDP protocol -- UDP client and server with the socket module -- Implementing the UDP Server -- Implementing the UDP client -- Resolving IP addresses and domains -- Gathering information with sockets -- Reverse lookup -- Practical use cases for sockets -- Port scanner with sockets -- Managing socket exceptions -- Summary -- Questions -- Further reading -- Chapter 4: HTTP Programming -- Technical requirements -- HTTP protocol and building HTTP clients in python -- Introduction to the HTTP Protocol -- Building an HTTP Client with httplib -- Building an HTTP Client with urllib2 -- Introduction to urllib2 -- Response objects -- Status codes -- Checking HTTP headers with urllib2</subfield></datafield><datafield tag="520" ind1="3" ind2=" "><subfield code="a">Using the urllib2 Request class -- Customizing requests with urllib2 -- Getting emails from a URL with urllib2 -- Getting links from a URL with urllib2 -- Building an HTTP Client with requests -- Introduction to requests -- Requests advantages -- Making GET Requests with the REST API -- Making POST Requests with the REST API -- Making Proxy Requests -- Managing exceptions with requests -- Authentication mechanisms with Python -- Authentication with the requests module -- HTTP Basic authentication -- HTTP Digest Authentication -- Summary -- Questions -- Further Reading -- Chapter 5: Analyzing Network Traffic -- Technical requirements -- Capturing and injecting packets with pcapy -- Introduction to pcapy -- Capturing packets with pcapy -- Reading headers from packets -- Capturing and injecting packets with scapy -- What can we do with scapy? -- Scapy advantages and disadvantages -- Introduction to scapy -- Scapy commands -- Sending packets with scapy -- Packet-sniffing with scapy -- Using Lamda functions with scapy -- Filtering UDP packets -- Port-scanning and traceroute with scapy -- Port-scanning with scapy -- Traceroute command with scapy -- Reading pcap files with scapy -- Introduction to the PCAP format -- Reading pcap files with scapy -- Writing a pcap file -- Sniffing from a pcap file with scapy -- Network Forensic with scapy -- Summary -- Questions -- Further reading -- Chapter 6: Gathering Information from Servers -- Technical requirements -- Introduction to gathering information -- Extracting information from servers with Shodan -- Introduction to Shodan -- Accessing Shodan services -- Shodan filters -- Shodan search with python -- Performing searches by a given host -- Searching for FTP servers -- Using python to obtain server information -- Extracting servers banners with python -- Finding whois information about a server</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Python</subfield><subfield code="g">Programmiersprache</subfield><subfield code="0">(DE-588)4434275-5</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Computersicherheit</subfield><subfield code="0">(DE-588)4274324-2</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Rechnernetz</subfield><subfield code="0">(DE-588)4070085-9</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Python</subfield><subfield code="g">Programmiersprache</subfield><subfield code="0">(DE-588)4434275-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">Rechnernetz</subfield><subfield code="0">(DE-588)4070085-9</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="2"><subfield code="a">Computersicherheit</subfield><subfield code="0">(DE-588)4274324-2</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="776" ind1="0" ind2="8"><subfield code="i">Erscheint auch als</subfield><subfield code="n">Druck-Ausgabe</subfield><subfield code="z">978-1-78899-251-0</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-30-PQE</subfield><subfield code="a">ZDB-221-PCL</subfield><subfield code="a">ebook</subfield><subfield code="a">ZDB-4-NLEBK</subfield><subfield code="a">ZDB-5-WPSE</subfield></datafield><datafield tag="999" ind1=" " ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-030759324</subfield></datafield><datafield tag="966" ind1="e" ind2=" "><subfield code="u">https://portal.igpublish.com/iglibrary/search/PACKT0004831.html</subfield><subfield code="l">FHI01</subfield><subfield code="p">ZDB-221-PCL</subfield><subfield code="x">Aggregator</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="966" ind1="e" ind2=" "><subfield code="u">https://portal.igpublish.com/iglibrary/search/PACKT0004831.html</subfield><subfield code="l">FHM01</subfield><subfield code="p">ZDB-221-PCL</subfield><subfield code="q">FHM_PDA_PCL_Kauf</subfield><subfield code="x">Aggregator</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="966" ind1="e" ind2=" "><subfield code="u">https://ebookcentral.proquest.com/lib/unibwm/detail.action?docID=5532253</subfield><subfield code="l">UBY01</subfield><subfield code="p">ZDB-30-PQE</subfield><subfield code="q">UBY01_Einzelkauf18</subfield><subfield code="x">Aggregator</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="966" ind1="e" ind2=" "><subfield code="u">https://portal.igpublish.com/iglibrary/search/PACKT0004831.html</subfield><subfield code="l">UBY01</subfield><subfield code="p">ZDB-221-PCL</subfield><subfield code="q">UBY01_ZDB-221-PCL21</subfield><subfield code="x">Verlag</subfield><subfield code="3">Volltext</subfield></datafield></record></collection> |
id | DE-604.BV045372867 |
illustrated | Not Illustrated |
indexdate | 2024-07-10T08:16:21Z |
institution | BVB |
isbn | 9781788990707 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-030759324 |
oclc_num | 1079408878 |
open_access_boolean | |
owner | DE-706 DE-83 DE-11 DE-573 DE-M347 |
owner_facet | DE-706 DE-83 DE-11 DE-573 DE-M347 |
physical | 1 Online-Ressource (ix, 399 Seiten) Illustrationen (teilweise farbig) |
psigel | ZDB-30-PQE ZDB-221-PCL ebook ZDB-4-NLEBK ZDB-5-WPSE ZDB-221-PCL FHM_PDA_PCL_Kauf ZDB-30-PQE UBY01_Einzelkauf18 ZDB-221-PCL UBY01_ZDB-221-PCL21 |
publishDate | 2018 |
publishDateSearch | 2018 |
publishDateSort | 2018 |
publisher | Packt |
record_format | marc |
spelling | Ortega, José Manuel Verfasser (DE-588)1224571800 aut Mastering Python for networking and security leverage Python scripts and libraries to overcome networking and security issues José Manuel Ortega Birmingham ; Mumbai Packt [2018] © 2018 1 Online-Ressource (ix, 399 Seiten) Illustrationen (teilweise farbig) txt rdacontent c rdamedia cr rdacarrier Intro -- Cover -- Title Page -- Copyright and Credits -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Chapter 1: Working with Python Scripting -- Technical requirements -- Programming and installing Python -- Introducing Python scripting -- Why choose Python? -- Multi-platform -- Object-Oriented Programming -- Obtaining and installing Python -- Installing Python on Windows -- Installing Python for Linux -- Python collections -- Lists -- Reversing a List -- Comprehension lists -- Tuples -- Dictionaries -- Python functions and managing exceptions -- Python functions -- Managing exceptions -- Python as an OOP language -- Inheritance -- The OMSTD methodology and STB Module for Python scripting -- Python packages and modules -- What is a module in Python? -- Difference Between a Python Module and a Python Package -- Passing parameters in Python -- Managing dependencies in a Python project -- Generating the requirements.txt file -- Working with virtual environments -- Using virtualenv and virtualwrapper -- The STB (Security Tools Builder) module -- The main development environments for script-development -- Setting up a development environment -- Pycharm -- WingIDE -- Debugging with WingIDE -- Summary -- Questions -- Further reading -- Chapter 2: System Programming Packages -- Technical requirements -- Introducing system modules in python -- The system module -- The operating system module -- Contents of the current working directory -- Determining the operating system -- Subprocess module -- Working with the filesystem in Python -- Accessing files and directories -- Recursing through directories -- Checking whether a specific path is a file or directory -- Checking whether a file or directory exists -- Creating directories in Python -- Reading and writing files in Python -- File methods -- Opening a file -- With a Context Manager Reading a file line by line -- Threads in Python -- Introduction to Threads -- Types of threads -- Processes vs Threads -- Creating a simple Thread -- Threading module -- Multithreading and concurrency in Python -- Introduction to Multithreading -- Multithreading in Python -- Limitations with classic python threads -- Concurrency in python with ThreadPoolExecutor -- Creating ThreadPoolExecutor -- ThreadPoolExecutor in practice -- Executing ThreadPoolExecutor with Context Manager -- Python Socket.io -- Introducing WebSockets -- aiohttp and asyncio -- Implementing a Server with socket.io -- Summary -- Questions -- Further reading -- Chapter 3: Socket Programming -- Technical requirements -- Introduction to sockets -- Network sockets in Python -- The socket module -- Socket methods -- Server socket methods -- Client socket methods -- Basic client with the socket module -- Creating a simple TCP client and TCP server -- Creating a server and client with sockets -- Implementing the TCP serverIn this example, we are going to create a multithreaded TCP server. -- Implementing the TCP client -- Creating a simple UDP client and UDP server -- Introduction to the UDP protocol -- UDP client and server with the socket module -- Implementing the UDP Server -- Implementing the UDP client -- Resolving IP addresses and domains -- Gathering information with sockets -- Reverse lookup -- Practical use cases for sockets -- Port scanner with sockets -- Managing socket exceptions -- Summary -- Questions -- Further reading -- Chapter 4: HTTP Programming -- Technical requirements -- HTTP protocol and building HTTP clients in python -- Introduction to the HTTP Protocol -- Building an HTTP Client with httplib -- Building an HTTP Client with urllib2 -- Introduction to urllib2 -- Response objects -- Status codes -- Checking HTTP headers with urllib2 Using the urllib2 Request class -- Customizing requests with urllib2 -- Getting emails from a URL with urllib2 -- Getting links from a URL with urllib2 -- Building an HTTP Client with requests -- Introduction to requests -- Requests advantages -- Making GET Requests with the REST API -- Making POST Requests with the REST API -- Making Proxy Requests -- Managing exceptions with requests -- Authentication mechanisms with Python -- Authentication with the requests module -- HTTP Basic authentication -- HTTP Digest Authentication -- Summary -- Questions -- Further Reading -- Chapter 5: Analyzing Network Traffic -- Technical requirements -- Capturing and injecting packets with pcapy -- Introduction to pcapy -- Capturing packets with pcapy -- Reading headers from packets -- Capturing and injecting packets with scapy -- What can we do with scapy? -- Scapy advantages and disadvantages -- Introduction to scapy -- Scapy commands -- Sending packets with scapy -- Packet-sniffing with scapy -- Using Lamda functions with scapy -- Filtering UDP packets -- Port-scanning and traceroute with scapy -- Port-scanning with scapy -- Traceroute command with scapy -- Reading pcap files with scapy -- Introduction to the PCAP format -- Reading pcap files with scapy -- Writing a pcap file -- Sniffing from a pcap file with scapy -- Network Forensic with scapy -- Summary -- Questions -- Further reading -- Chapter 6: Gathering Information from Servers -- Technical requirements -- Introduction to gathering information -- Extracting information from servers with Shodan -- Introduction to Shodan -- Accessing Shodan services -- Shodan filters -- Shodan search with python -- Performing searches by a given host -- Searching for FTP servers -- Using python to obtain server information -- Extracting servers banners with python -- Finding whois information about a server Python Programmiersprache (DE-588)4434275-5 gnd rswk-swf Computersicherheit (DE-588)4274324-2 gnd rswk-swf Rechnernetz (DE-588)4070085-9 gnd rswk-swf Python Programmiersprache (DE-588)4434275-5 s Rechnernetz (DE-588)4070085-9 s Computersicherheit (DE-588)4274324-2 s DE-604 Erscheint auch als Druck-Ausgabe 978-1-78899-251-0 |
spellingShingle | Ortega, José Manuel Mastering Python for networking and security leverage Python scripts and libraries to overcome networking and security issues Python Programmiersprache (DE-588)4434275-5 gnd Computersicherheit (DE-588)4274324-2 gnd Rechnernetz (DE-588)4070085-9 gnd |
subject_GND | (DE-588)4434275-5 (DE-588)4274324-2 (DE-588)4070085-9 |
title | Mastering Python for networking and security leverage Python scripts and libraries to overcome networking and security issues |
title_auth | Mastering Python for networking and security leverage Python scripts and libraries to overcome networking and security issues |
title_exact_search | Mastering Python for networking and security leverage Python scripts and libraries to overcome networking and security issues |
title_full | Mastering Python for networking and security leverage Python scripts and libraries to overcome networking and security issues José Manuel Ortega |
title_fullStr | Mastering Python for networking and security leverage Python scripts and libraries to overcome networking and security issues José Manuel Ortega |
title_full_unstemmed | Mastering Python for networking and security leverage Python scripts and libraries to overcome networking and security issues José Manuel Ortega |
title_short | Mastering Python for networking and security |
title_sort | mastering python for networking and security leverage python scripts and libraries to overcome networking and security issues |
title_sub | leverage Python scripts and libraries to overcome networking and security issues |
topic | Python Programmiersprache (DE-588)4434275-5 gnd Computersicherheit (DE-588)4274324-2 gnd Rechnernetz (DE-588)4070085-9 gnd |
topic_facet | Python Programmiersprache Computersicherheit Rechnernetz |
work_keys_str_mv | AT ortegajosemanuel masteringpythonfornetworkingandsecurityleveragepythonscriptsandlibrariestoovercomenetworkingandsecurityissues |