semvec/pypi-packages huggingface dataset:
burpsuite 0.0.3
A small library for working with the Burp Suite API

### Burp Suite Professional & Enterprise API client (Unofficial)

A small Python library for working with the Burp Suite API.

Note - Requires Burp Suite Professional or Enterprise - https://portswigger.net/

Example usage:

```py3
import burpsuite
import os

# This example uses the DVWA web application running on localhost as the target app to scan.
# https://hub.docker.com/r/vulnerables/web-dvwa/

# It's recommended to use an API key when working with the Burp Suite API. It can be set in the 'User Options' menu

SERVER_URL = os.getenv("BURP_SERVER_URL", None)
API_KEY = os.getenv("BURP_API_KEY", None)

burp_api_client = burpsuite.BurpSuiteApi(server_url=SERVER_URL, api_key=API_KEY)

# Each scan request requires a scan options object. You can learn more about these options via the Burp Suite REST API
# documentation along with the values required
options = {
    "urls": ["http://localhost/login.php"],
    "application_logins": [{"username": "admin", "password": "example"}],
    "scan_callback": {"url": "https://mycallback.com/callbacks/burp/c540ce68-eb7f-469b-914e-b21a903bc152"}
}

# Initiate a scan
task_id = burp_api_client.initiate_scan(options=options)
print("Burp Suite scan initiated! task_id: {}".format(task_id))

# Get the scan progress of a task
progress = burp_api_client.get_scan(task_id=task_id)
print(progress)


```
wmonitor 0.0.9
send http request to wmonitor

# wmonitor #
## wmonitor ##
+ wmonitor会从环境变量中获取"BUILD_TYPE"与"CONFIG_DIR"

demo.py
```python
from wmonitor.metric import Metric

Metric.counter("demo_counter").send()
Metric.counter("demo_counter").tags("business=123").send()
Metric.counter("demo_counter", 2).send()
Metric.gauge("demo_gauge").send()
Metric.state("demo_state").send()

```
## config ##
| BUILD_TYPE | 文件名称 |
| :----:| :----:|
| BETA | wmonitor_beta.cfg|
| DEV| wmonitor_dev.cfg|
| PROD| wmonitor_prod.cfg|
| DEFAULT or '' | wmonitor.cfg|

wmonitor.cfg
```text
[web]
domain = http://b1.wmonitor-adaptor.beta.wormpex.com
[app]
app_code = ai_vision_vision_dynamic_cabinet_service
```