scapy
pwntools
Our great sponsors
scapy | pwntools | |
---|---|---|
26 | 8 | |
10,028 | 11,447 | |
1.8% | 1.9% | |
9.3 | 9.1 | |
2 days ago | 6 days ago | |
Python | Python | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
scapy
-
Seven Python Projects to Elevate Your Coding Skills
Example Network Scanner Scapy
-
Python Networking: TCP and UDP
In the last installment we looked at IP headers. One thing you might have seen missing is the port numbers. That's pretty important for making an internet connection. Well it turns out that IP tends to encapsulate other protocols (which is why it has protocol as part of the header). In this article we'll be looking at two popular protocols for internet traffic: TCP and UDP. Before we begin though install scapy which we'll be using to make things easier, and dnslib that will be used during the UDP section:
-
🛜 What is ARP Spoofing?
I've coded my small ARP spoofer in Go because I love the language, though it can very well be coded in other languages, for example Python with Scapy.
- What are the most underrated python libraries?
-
Is it possible to send raw data over an IP network, not encapsulated in TCP or UDP?
Scapy: https://github.com/secdev/scapy
- packet-rs - A Scapy like rust packet interface
-
tshark live statistics (-z) display?
Tshark can't do that. The Wireshark app does update its Conversations window pretty frequently when doing a live capture, so that might be a reasonable alternative. Otherwise you could probably also cobble something together yourself with a tool like scapy or some other Python library, but that would clearly be more work.
- Is there a script/program to find similarities among multiple pcap files?
- Scapy - Packet Crafting
-
Extract data from a pcap file
I don't know if you can do it within the gui, I don't see anything but perhaps a bit of Python code would do it. There is a python library called Scapy that may have functions to help you along the way.
pwntools
-
PwnTools for Exploit Development
The Pwntools library stands out as a sophisticated toolset for CTF enthusiasts and security researchers. It aids in creating and executing shellcode, designing payloads, and interacting with remote processes. For instance, the context feature allows developers to switch between different architectures effortlessly, while the 'tube' module streamlines the communication between local and remote processes. And it's not just limited to Linux; the library has support for various platforms including Windows, making it versatile and comprehensive.
-
unable to install pwntools on mac m1
you have to remove the unicorn dependency from the setup.py because doesn't support m1 git clone https://github.com/Gallopsled/pwntools cd pwntools sed -i'' '/unicorn/d' setup.py pip install --upgrade .
-
Awesome CTF : Top Learning Resource Labs
Pwntools - CTF Framework for writing exploits.
-
Awesome Penetration Testing
Pwntools - Rapid exploit development framework built for use in CTFs.
-
Not sure if belongs here
Pwntools is a thing.
-
What is Calypso?
One library that I may eventually make which will probably not be an officially maintained library but which I will maintain myself will be a partial or full port of pwntools (a library written in Python for CTFs) to Calypso. For more information on CTFs, atan made a pretty cool post about them:
- Use pwntools for your exploits
-
anybody know good packet crafting resources?
Scapy is great if you're attacking low level networking protocol stacks like TCP/IP or UDP. In that case, you may be modifying packet headers and such. Otherwise, it's much easier to just use the Python socket module and craft your custom payload in Python. Even better is the pwntools module.
What are some alternatives?
pyshark - Python wrapper for tshark, allowing python packet parsing using wireshark dissectors
Metasploit - Metasploit Framework
pySerial - Python serial port access library
pwndbg - Exploit Development and Reverse Engineering with GDB Made Easy
impacket - Impacket is a collection of Python classes for working with network protocols. [Moved to: https://github.com/SecureAuthCorp/impacket]
one_gadget - The best tool for finding one gadget RCE in libc.so.6
keyboard - Hook and simulate global keyboard events on Windows and Linux.
angr - A powerful and user-friendly binary analysis platform!
RustScan - 🤖 The Modern Port Scanner 🤖
padding-oracle-attacker - 🔓 CLI tool and library to execute padding oracle attacks easily, with support for concurrent network requests and an elegant UI.
elmocut - Eye candy ARP spoofer for Windows
gophish - Open-Source Phishing Toolkit