semvec/pypi-packages huggingface dataset:
GattFuzz 0.0.3
A tool for fuzzing BLE GATT
Requires Python: >=3.6

# GattFuzz
GattFuzz 是一款针对BLE Gatt的模糊测试工具。

### 环境
Linux

### Requirements
Bluepy、Scapy

### 安装与使用
#### 方法一

```
pip install -r requirements.txt
python main.py
```

#### 方法二

```
python setup.py install
gattfuzz 
```

#### 方法三

```
pip install gattfuzz
gattfuzz
```

#### 使用
```
gattfuzz -h
```
支持两个参数，-f 和 -m，-f为可选。 -m为目标的mac地址。-f 就是你抓取到的pcap包，会根据包提取去进行变异fuzz。如果不指定，则直接遍历目标设备gatt，并进行fuzzing 测试。


### 功能描述

#### 支持两种方式：

1. 基于抓到的数据包进行pyload变异，具体变异规则待述；
2. 没有数据包的情况下支持随机数Fuzz。


#### 预期结果：

当检测到目标设备结束广播、断连会push error，可进一步人工核实目标设备状态，重放pyload

### 可能遇到的一些问题

目前支持手机hci log抓的pcap包（需要自己转格式）和抓取的空中包两种pcap包，其他的包解析出可能欢迎提issue
smart-alpha-connect 0.0.2
SmartAlpha Connect

# Smart Alpha Connect API

## Installation

Run the following command to install :

```bash
pip install smart-alpha-connect
```

## Usage

```python
from SmartAlphaConnect import create_session
# Create a session using your clientID and smarttraderkey
session_data = create_session(clientID, smarttraderkey)
if session_data is not None:
    print(session_data)

# Get the access token from the response received through create_session in session_data
access_token = session_data.get("accesstoken")

# Import all the other functionalities
from SmartAlphaConnect import get_funds,get_orderbook,place_order,get_tradebook

# Get the funds data
funds_data = get_funds(clientID, access_token)
if funds_data is not None:
    print(funds_data)

# Get the orderbook data
orderbook_data = get_orderbook(clientID, access_token)
if orderbook_data is not None:
    print(orderbook_data)

# Place an order
placeorder_data = place_order(access_token, exchange, token,action, producttype, quantity, price, clientID, orderidentifier)
if placeorder_data is not None:
    print(placeorder_data)

# Get the tradebook data
tradebook_data = get_tradebook(clientID, access_token)
if tradebook_data is not None:
    print(tradebook_data)

```