begood Posted July 5, 2010 Report Posted July 5, 2010 If you are involved in vulnerability research, reverse engineering or penetration testing, I suggest to try out the Python programming language. It has a rich set of useful libraries and programs. This page lists some of them. Most of the listed tools are written in Python, others are just Python bindings for existing C libraries, i.e. they make those libraries easily usable from Python programs. Some of the more aggressive tools (pentest frameworks, bluetooth smashers, web application vulnerability scanners, war-dialers, etc.) are left out, because the legal situation of these tools is still a bit unclear in Germany -- even after the decision of the highest court. This list is clearly meant to help whitehats, and for now I prefer to err on the safe side. NetworkScapy: send, sniff and dissect and forge network packets. Usable interactively or as a librarypypcap, Pcapy and pylibpcap: several different Python bindings for libpcaplibdnet: low-level networking routines, including interface lookup and Ethernet frame transmissiondpkt: fast, simple packet creation/parsing, with definitions for the basic TCP/IP protocolsImpacket: craft and decode network packets. Includes support for higher-level protocols such as NMB and SMBpynids: libnids wrapper offering sniffing, IP defragmentation, TCP stream reassembly and port scan detectionDirtbags py-pcap: read pcap files without libpcapflowgrep: grep through packet payloads using regular expressionshttplib2: comprehensive HTTP client library that supports many features left out of other HTTP libraries Debugging and reverse engineeringPaimei: reverse engineering framework, includes PyDBG, PIDA, pGRAPHImmunity Debugger: scriptable GUI and command line debuggerIDAPython: IDA Pro plugin that integrates the Python programming language, allowing scripts to run in IDA ProPyEMU: fully scriptable IA-32 emulator, useful for malware analysispefile: read and work with Portable Executable (aka PE) filespydasm: Python interface to the libdasm x86 disassembling libraryPyDbgEng: Python wrapper for the Microsoft Windows Debugging Engineuhooker: intercept calls to API calls inside DLLs, and also arbitrary addresses within the executable file in memorydiStorm64: disassembler library for AMD64, licensed under the BSD licensepython-ptrace: debugger using ptrace (Linux, BSD and Darwin system call to trace processes) written in Python FuzzingSulley: fuzzer development and fuzz testing framework consisting of multiple extensible componentsPeach Fuzzing Platform: extensible fuzzing framework for generation and mutation based fuzzingantiparser: fuzz testing and fault injection APITAOF, including ProxyFuzz, a man-in-the-middle non-deterministic network fuzzeruntidy: general purpose XML fuzzerPowerfuzzer: highly automated and fully customizable web fuzzer (HTTP protocol based application fuzzer)FileP: file fuzzer. Generates mutated files from a list of source files and feeds them to an external program in batchesSMUDGEMistress: probe file formats on the fly and protocols with malformed data, based on pre-defined patternsFuzzbox: multi-codec media fuzzerForensic Fuzzing Tools: generate fuzzed files, fuzzed file systems, and file systems containing fuzzed files in order to test the robustness of forensics tools and examination systemsWindows IPC Fuzzing Tools: tools used to fuzz applications that use Windows Interprocess Communication mechanismsWSBang: perform automated security testing of SOAP based web servicesConstruct: library for parsing and building of data structures (binary or textual). Define your data structures in a declarative mannerfuzzer.py (feliam): simple fuzzer by Felipe Andres anzano WebProxMon: processes proxy logs and reports discovered issuesWSMap: find web service endpoints and discovery filesTwill: browse the Web from a command-line interface. Supports automated Web testingWindmill: web testing tool designed to let you painlessly automate and debug your web applicationFunkLoad: functional and load web tester ForensicsVolatility: extract digital artifacts from volatile memory (RAM) samplesSandMan: read the hibernation file, regardless of Windows versionLibForensics: library for developing digital forensics applicationsTrIDLib, identify file types from their binary signatures. Now includes Python binding Malware analysispyew: command line hexadecimal editor and disassembler, mainly to analyze malwareDidier Stevens' PDF tools: analyse, identify and create PDF files (includes PDFiD, pdf-parser and make-pdf and mPDF)Origapy: Python wrapper for the Origami Ruby module which sanitizes PDF filesExefilter: filter file formats in e-mails, web pages or files. Detects many common file formats and can remove active contentpyClamAV: add virus detection capabilities to your Python software MiscInlineEgg: toolbox of classes for writing small assembly programs in PythonExomind: framework for building decorated graphs and developing open-source intelligence modules and ideas, centered on social network services, search engines and instant messagingRevHosts: enumerate virtual hosts for a given IP addresssimplejson: JSON encoder/decoder, e.g. to use Google's AJAX API Other useful libraries and toolsIPython: enhanced interactive Python shell with many features for object introspection, system shell access, and its own special command systemBeautiful Soup: HTML parser optimized for screen-scrapingmatplotlib: make 2D plots of arraysMayavi: 3D scientific data visualization and plottingRTGraph3D: create dynamic graphs in 3DTwisted: event-driven networking engineSuds: lightweight SOAP client for consuming Web ServicesM2Crypto: most complete OpenSSL wrapperNetworkX: graph library (edges, nodes)pyparsing: general parsing modulelxml: most feature-rich and easy-to-use library for working with XML and HTML in the Python languagePexpect: control and automate other programs, similar to Don Libes `Expect` systemSikuli, visual technology to search and automate GUIs using screenshots. Scriptable in JythonDirk Loss: Python tools for penetration testers 2 Quote
Flubber Posted July 5, 2010 Report Posted July 5, 2010 Super, multumesc frumos![Page bookmarked] Quote
cmiN Posted July 5, 2010 Report Posted July 5, 2010 Si eu cand va spuneam ca Python-ul e viitorul ... lumea zicea ca is haNcu de la 0TV sau alti paranoici ca "omu invizibil". Google, youtube, nasa, robotica si automatizare, unix, yahoo, mii de alte site-uri, MIT si nu stiu care roboti pentru chirurgie ... si ... acum pack-ul asta . Quote
Nytro Posted July 6, 2010 Report Posted July 6, 2010 "others are just Python bindings for existing C libraries"Hmm, poate o sa arunc si eu un ochi pe acest limbaj. Quote