Skip to main content

# PyRIC 0.1.6.3: Python Radio Interface Controller ## Linux wireless library for the Python Wireless Developer and Pentester

## DESCRIPTION: PyRIC (is a Linux only) library providing wireless developers and pentesters the ability to identify, enumerate and manipulate their system’s wireless cards programmatically in Python. Pentesting applications and scripts written in Python have increased dramatically in recent years. However, these tools still rely on Linux command lines tools for setup/preparation and restoration of the system for use. Until now. Why use subprocess.Popen, regular expressions and str.find to interact with your wireless cards? PyRIC is:

1. Pythonic: no ctypes, SWIG etc. PyRIC redefines C header files as Python and uses sockets to communicate with the kernel. 2. Self-sufficient: No third-party files used. PyRIC is completely self-contained. 3. Fast: (relatively speaking) PyRIC is faster than using command line tools through subprocess.Popen 4. Parseless: Get the output you want without parsing output from command line tools. Never worry about newer iw versions and having to rewrite your parsers. 5. Easy: If you can use iw, you can use PyRIC.

## CURRENT STATE ATT, PyRIC pyw provides the following: * enumerate interfaces and wireless interfaces * identify a cards chipset and driver * get/set hardware address * get/set ip4 address, netmask and or broadcast * turn card on/off * get supported standards * get supported commands * get supported modes * get dev info * get phy info * get link info * get/set regulatory domain * get/set mode * get/set coverage class, RTS threshold, Fragmentation threshold & retry limits * add/delete interfaces * enumerate ISM and UNII channels * block/unblock rfkill devices * check ‘connectivity’, disconnect from AP

In utils, several helpers can be found that can be used to: * enumerate channels and frequencies and convert between the two * manipulate mac addresses and generate random ones * fetch and parse the IEEE oui text file * further rfkill operations to include listing all rfkill devices

At it’s heart, PyRIC is a Python port of (a subset of) iw and by extension, a Python port of Netlink w.r.t nl80211 functionality. The original goal of PyRIC was to provide a simple interface to the underlying nl80211 kernel support, handling the complex operations of Netlink seamlessy while maintaining a minimum of “code walking” to understand, modify and extend. But, why stop there? Since it’s initial inception, PyRIC has grown. PyRIC puts iw, ifconfig, rfkill, udevadm, airmon-ng and macchanger in your hands (or your program).

Release files for PyRIC 0.1.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyRIC 0.1.6.3
File Size Uploaded
PyRIC-0.1.6.3.tar.gz 870.4 kB Details

Release files / PyRIC-0.1.6.3.tar.gz

Download URL PyRIC-0.1.6.3.tar.gz
Size 870.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b539b01cafebd2406c00097f94525ea0f8ecd1dd92f7731f43eac0ef16c2ccc9
BLAKE2b-256 checksum
How to use checksums
0864a99f27d3b4347486c7bfc0aa516016c46dc4c0f380ffccbd742a61af1eda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.6.3 This release

1 release file

0.1.6.2

1 release file

0.1.6

1 release file

0.1.5.2

1 release file

0.1.5.1

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2.1

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page