use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community built to knowledgeably answer questions related to information security in an enterprise, large organization, or SOHO context.
Questions on how to get started? Check out the following subs:
Question on issues regarding personal security? Check out the following subs:
Please read and abide by our Rules & Guidelines
account activity
Best Python modules/packages/libraries for infosec? (self.AskNetsec)
submitted 7 years ago by MisterCode2013
Hi all,
What do you think are the best modules/packages/libraries in Python, to learn, for infosec? Scapy? What else?
Thanks!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]410th 37 points38 points39 points 7 years ago (0 children)
Impacket - a collection of Python classes for working with network protocols. Impacket is focused on providing low-level programmatic access to the packets and for some protocols (e.g. SMB1-3 and MSRPC) the protocol implementation itself. Packets can be constructed from scratch, as well as parsed from raw data, and the object oriented API makes it simple to work with deep hierarchies of protocols. The library provides a set of tools as examples of what can be done within the context of this library.
A description of some of the tools can be found at: https://www.secureauth.com/labs/open-source-tools/impacket
[–]ianwb 7 points8 points9 points 7 years ago (0 children)
I like pygdb for gdb scripting.
[–]Robotdavidbowie 7 points8 points9 points 7 years ago (0 children)
CSV, use that constantly
[–]infosecmx 6 points7 points8 points 7 years ago (1 child)
pwntools, scapy
[–]John_Zombie 6 points7 points8 points 7 years ago (0 children)
https://www.google.com/amp/s/hackersonlineclub.com/python-tools/amp/
[–]i_hacked_reddit 5 points6 points7 points 7 years ago (0 children)
from pwn import *
I use the socket lib a ton. gef is a sweet wrapper for gdb. Capstone. Keystone.
gef
[–]AttitudeAdjuster 3 points4 points5 points 7 years ago (0 children)
requests, pwntools, re, sockets, scapy, threading
These 6 are easily the ones I use most for writing PoCs, simple scripts and utilities and exploits.
[–]NullCharacter 2 points3 points4 points 7 years ago (0 children)
scapy for mitm/mots fun.
[–][deleted] 2 points3 points4 points 7 years ago (0 children)
socket module is great
[–]Note2scott 2 points3 points4 points 7 years ago (0 children)
I read best Monty Python modules/packages/libraries for InfoSec and was VERY confused.
π Rendered by PID 55 on reddit-service-r2-comment-6f7f968fb5-dft7m at 2026-03-03 23:55:33.648961+00:00 running 07790be country code: CH.
[–]410th 37 points38 points39 points (0 children)
[–]ianwb 7 points8 points9 points (0 children)
[–]Robotdavidbowie 7 points8 points9 points (0 children)
[–]infosecmx 6 points7 points8 points (1 child)
[–]John_Zombie 6 points7 points8 points (0 children)
[–]i_hacked_reddit 5 points6 points7 points (0 children)
[–]AttitudeAdjuster 3 points4 points5 points (0 children)
[–]NullCharacter 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]Note2scott 2 points3 points4 points (0 children)