appsec.fyi › Python

Python Resources

Page 7 of 7: resources 301–318 of 318, added Jan 2016 to Dec 2021.

The newest Python resources are on the Python page. For a reading order instead of a date order, see the Python learning path.

Date AddedLinkExcerpt
2021-12-06 2021How to Brute-Force SSH Servers in Python intermediate 3 min read RCEPython Paramiko library enables building an SSH brute-force script. This method repeatedly tries password combinations against an SSH server, using the `paramiko` library to connect and authenticate. The script handles connection timeouts, authentication failures, and SSH protocol exceptions, including rate limiting, and can save successful credentials to a file.
2021-11-28 2021Quickstart Web3.py 5.22.0 documentation beginner 2 min readweb3.py is an application security library for interacting with the Ethereum blockchain. It supports connecting to local nodes via IPC, HTTP, and WebSocket protocols, as well as remote nodes. The library facilitates reading block data, signing and sending transactions, and deploying and interacting with smart contracts, offering both synchronous and asynchronous interfaces.
2021-11-28 2021Quickstart Web3.py 5.23.1 documentation beginner 2 min readWeb3.py 5.23.1 documentation provides a quickstart for interacting with the Ethereum blockchain using Python. The library supports various connection providers, including test providers like `eth-tester` for prototyping, local node connections via IPC, HTTP, or WebSockets, and remote node providers. Once connected, `w3` instances can be used to read block data, sign and send transactions, and deploy or interact with smart contracts. The documentation also points to further guides on features, the `w3.eth` API, contract usage, and transaction handling.
2021-11-27 2021Bit Twiddling in Python beginnerBit Twiddling in Python
2021-11-20 2021Python Scripting for Hackers Part 1: Getting Started beginner 5 min readLibrary for learning Python scripting for hacking, covering installation of third-party modules like the `python-nmap` module via `pip` and `wget`, fundamental syntax, formatting importance, running files with `chmod`, and incorporating comments. It emphasizes Python's extensive standard libraries and numerous third-party modules available from PyPI for reconnaissance and other hacking tasks. → hackers-arise.com
2021-11-14 2021A Beginners Guide to Python for Cybersecurity beginner 5 min readPython is a crucial programming language for cybersecurity, widely utilized by professionals for tasks like penetration testing and automating security processes. Key Python libraries such as NLTK, NumPy, Pandas, Scikit, Nmap, Twisted, Scapy, Beautiful Soup, Cryptography Library, YARA, Pymetasploit3, and Mechanize offer extensive capabilities for data analysis, malware identification, network scanning, packet manipulation, and web scraping, all contributing to a more robust security posture.
2021-11-11 2021Game Hacking with Python and cheat engine intermediate 6 min read RCEGame hacking with Python and Cheat Engine details how to manipulate game memory to create cheats. The process involves using Cheat Engine to find the memory address of desired values like health, then identifying static pointers that consistently point to that address across game sessions. This guide shows how to use Python with the PyMeow library to access and modify these memory addresses programmatically, enabling automated in-game modifications.
2021-09-15 2021How To Track Phone Number Location With Python intermediate OSINTHow To Track Phone Number Location With Python → python.plainenglish.io
2021-08-25 2021API Testing with HTTPie beginner API SecAPI Testing with HTTPie
2021-08-14 2021Elliptic Curve Keys Python and Hazmat intermediateElliptic Curve Keys Python and Hazmat
2021-08-10 2021RSA Signatures Python and Hazmat intermediateThis content likely discusses the implementation and usage of RSA signatures in Python, specifically leveraging the `cryptography.hazmat` library. It would cover how to generate RSA keys, sign data using private keys, and verify signatures using public keys. The focus would be on the practical application of these cryptographic operations within a Python environment, utilizing the robust `hazmat` module for secure and efficient handling of RSA cryptography.
2021-06-15 2021Python Cybersecurity beginner OSINTThis content, titled "Python Cybersecurity," appears to be a brief placeholder or topic introduction. It suggests a focus on the intersection of Python programming and cybersecurity. The content is too minimal to extract specific key points, main ideas, or any details regarding bug bounty payouts. It simply indicates that Python is a relevant tool or language within the cybersecurity domain.
2021-06-07 2021whey-cewler.py beginner 5 min readTool written in Python that integrates with Burp Suite to automatically generate custom wordlists from crawled sitemaps. Whey CeWLer parses HTTP responses, extracts text content from HTML, XML, and JSON, and uses regular expressions to identify word candidates, which are then added to a wordlist. It builds upon the concept of CeWL but offers enhanced convenience by running within the Burp Suite environment.
2021-01-20 2021Accessing the Dark Web with Python intermediateThe content discusses using Python to access the Dark Web by creating new Tor identities. This process allows users to browse the Dark Web confidently and safely. By utilizing Python, individuals can enhance their privacy and security while exploring the hidden corners of the internet.
2019-08-26 2019A Python prompt into a running process: debugging with Manhole intermediate 4 min readManhole is a Python project that enables live debugging of running processes by providing an interactive Python prompt through a Unix domain socket. This allows developers to inspect process state, examine objects, and diagnose issues when logging is insufficient. It can be used with tools like `socat` to access the prompt and offers methods for accessing specific objects, emphasizing its role as a tool of last resort for debugging unexpected behavior.
2019-08-23 201910 common security gotchas in Python and how to avoid them intermediate 7 min readPython applications face common security risks like input injection through methods such as SQL or command injection, and XML parsing vulnerabilities like "billion laughs" or external entity expansion. Developers should use `shlex` for command injection, `defusedxml` for safe XML parsing, and avoid `assert` statements for security checks, opting instead for `secrets.compare_digest` to prevent timing attacks. Securely manage dependencies by vetting packages and using virtual environments, and use the `tempfile` module for temporary files. When parsing YAML, always prefer `yaml.safe_load` over the unsafe `yaml.load`.
2019-08-23 2019How to scrape websites with Python and BeautifulSoup beginnerThe content discusses the use of Python and BeautifulSoup for web scraping to extract information from websites efficiently. It highlights the vast amount of data available on the internet and the need for tools like BeautifulSoup to gather and process this information. Web scraping allows users to automate the extraction of data from websites for various purposes.
2016-01-21 2016python/scapy DNS sniffer and parser - Stack Overflow intermediatePython Scapy DNS sniffer and parser uses Scapy library to capture and analyze DNS traffic on a specified network interface with a BPF filter for UDP port 53. The script distinguishes between DNS queries (DNSQR) and responses (DNSRR), printing timestamps for each detected message, offering a foundational tool for DNS traffic inspection. → stackoverflow.com