semvec/pypi-packages huggingface dataset:
spireg_c1101 0.1.0
SPIReg-C1101 provides predefined registers for the CC1101 chip. 

# SPIReg-C1101

**SPIReg-C1101** provides predefined register definitions for the **CC1101** transceiver using the SPIReg framework.

## Features

- Predefined register mappings for the CC1101 chip.
- Consistent access to register fields using the **SPIReg** notation.
- Supports both **status** and **configuration** registers.
- Ensures type-safe access to individual register fields.

## Installation

SPIReg-C1101 uses **spireg** under the hood.

```sh
pip install spireg_c1101
```

## Usage

```python
import spidev
from spireg_c1101.status_register import PARTNUM, VERSION
from spireg_c1101.configuration_register import IOCFG2

# Initialize SPI device
spi = spidev.SpiDev()
spi.open(0, 0)  # Use the appropriate SPI bus and device number
spi.max_speed_hz = 5000000  # Set the SPI clock speed

# Function to read a register
def read_register(register):
    address = register.register | 0x80  # Set the read bit
    response = spi.xfer2([address, 0x00])
    return response[1]

# Function to write a register
def write_register(register):
    address = register.register & 0x7F  # Clear the read bit
    spi.xfer2([address, int(register)])

# Read PARTNUM and VERSION
PARTNUM.value = read_register(PARTNUM.register)
VERSION.value = read_register(VERSION.register)
print(f"Part Number: {PARTNUM.value}")
print(f"Chip Version: {VERSION.value}")

# Read, toggle, and write IOCFG2
IOCFG2.value = read_register(IOCFG2)
IOCFG2.GDO2_INV ^= 1  # Toggle GDO2_INV
write_register(IOCFG2)
print(f"Updated IOCFG2: {IOCFG2.value}")

# Close SPI connection
spi.close()
```

## Registers

See the C1101 documentation for all available registers.

## SPI Communication

SPIReg-C1101 **only defines register structures**. The user is responsible for:

- Implementing SPI communication to read/write register values.
- Integrating with hardware-specific SPI drivers.
- Ensuring correct register access sequences as per the CC1101 datasheet.

## License
This project is licensed under **GPL-3.0-or-later**.  
For **commercial licensing**, please contact:
Daniël van den Berg
daniel@dmvandenberg.nl
spireg 0.1.3
SPIReg provides a method to define and access SPI registers

# SPIReg

**SPIReg** provides a method to define and access SPI registers and their individual fields.

## Features
- Define SPI registers with custom fields.
- Access and modify individual register fields dynamically.
- Ensures values fit within specified field sizes.
- Supports conversion between bit representations and integer values.

## Installation
Install SPIReg using:
```sh
pip install spireg
```

## Usage
```python
from spireg import Register, Entry
from ctypes import c_uint8
from typing import cast

class ExampleRegisterTypes(Register):
    FIELD_A: int
    FIELD_B: int
    FIELD_C: int

EXAMPLE_REG = cast(ExampleRegisterTypes, Register("EXAMPLE_REG", 0x12, "Example register description.", [
    Entry("FIELD_A", 1),  # Bit 7: Not used
    Entry("FIELD_B", 1),  # Bit 6: Example binary flag
    Entry("FIELD_C", 6, 0x15),  # Bits 5-0: Default value of 0x15
]))

# Print default values
print(EXAMPLE_REG.FIELD_A)  # Output: 0
print(EXAMPLE_REG.FIELD_B)  # Output: 0
print(EXAMPLE_REG.FIELD_C)  # Output: 21

# Set field values
EXAMPLE_REG.FIELD_B = 1
EXAMPLE_REG.FIELD_C = 0x1F

# Get modified field values
print(EXAMPLE_REG.FIELD_B)  # Output: 1
print(EXAMPLE_REG.FIELD_C)  # Output: 31
print(int(EXAMPLE_REG))     # Get full register value

print(EXAMPLE_REG)  # Outputs bit representation and field values
```

## License
This project is licensed under **GPL-3.0-or-later**.  
For **commercial licensing**, please contact:
Daniël van den Berg
daniel@dmvandenberg.nl
flashtest 0.1.5
A CLI-based penetration testing tool with reconnaissance and AI-driven exploits.
Requires Python: >=3.6

# Flashtest

Flashtest is a powerful CLI-based penetration testing tool designed to assist in reconnaissance, vulnerability scanning, and AI-driven exploit simulations. It integrates with various security tools to provide comprehensive security testing for web applications, servers, and networks.

## Features

- **Reconnaissance**: Perform DNS lookups, WHOIS searches, and gather IP information.
- **Vulnerability Scanning**: Run SQL injection tests, Nmap port scanning, and Nikto scans.
- **AI-Assisted Exploitation**: Use AI to simulate exploit scenarios for testing vulnerabilities.
  
## Installation

### Install via pip:
```bash
pip install flashtest
```

### Verify the installation:
```bash
flashtest --help
```

## Usage

Flashtest provides several commands for performing penetration testing operations.

### Reconnaissance Commands

#### DNS Information:
Get DNS information for a domain.
```bash
flashtest --dns example.com
```

#### WHOIS Information:
Retrieve WHOIS data for a domain.
```bash
flashtest --whois example.com
```

#### IP Information (Reverse DNS + Geolocation):
Get IP info, including reverse DNS and geolocation data.
```bash
flashtest --ipinfo 192.168.1.1
```

### Scanning Commands

#### SQL Injection Test:
Test for SQL Injection vulnerabilities on a web page (e.g., login form).
```bash
flashtest --sql http://example.com/login
```

#### Nmap Port Scan:
Scan a target for open ports using Nmap.
```bash
flashtest --nmap 192.168.1.1
```

#### Nikto Scan:
Run a basic security scan using Nikto.
```bash
flashtest --nikto http://example.com
```

### AI-Driven Exploitation

#### Simulate AI-Driven Exploitation:
Use AI to simulate a penetration test on a web target and find potential vulnerabilities.
```bash
flashtest --ai-exploit http://example.com
```

### Combined Vulnerability Identification

#### Identify SQL and Nikto Vulnerabilities:
Automatically identify SQL injection vulnerabilities and run Nikto for additional checks.
```bash
flashtest --identify http://example.com
```

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Acknowledgments

- Thanks to the open-source communities for tools like `requests`, `whois`, `nmap`, `nikto`, and others that helped make this tool possible.


### Key Points:

1. **Installation**:
   - Instructions to clone the repository, install dependencies, and set up `flashtest`.
2. **Usage**:
   - Detailed descriptions of the available commands (Recon, Scanning, AI Exploitation).
3. **License**:
   - MIT License, with a link to the license file.
4. **Acknowledgments**:
   - Thanks to libraries that helped build `flashtest`.