Dock2-0.1.0
توضیحات
Simple wrapper for interacting with h2cs drivers (HTTP2 ClearText)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | Dock2-0.1.0 |
| نام | Dock2 |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | goooby |
| ایمیل نویسنده | qdyd65@gmail.com |
| آدرس صفحه اصلی | https://github.com/Mwimwii/Dock2 |
| آدرس اینترنتی | https://pypi.org/project/Dock2/ |
| مجوز | - |
# Dock2
This is a simple wrapper for interacting with h2cs drivers (HTTP2 ClearText)
## Installation
Run the following to install:
```python
pip install Dock2
```
You need to download the h2cs driver in order for this to work.
Supported Drivers
| Driver | Download |
| ------ | ----------------------------------------------------------------------------------------- |
| H2CS | [Download](https://raw.githubusercontent.com/BishopFox/h2csmuggler/master/h2csmuggler.py) |
## Usage
```python
import Dock2
# Upgrade function
result = Dock2.upgrade('www.example.com', 'driver.py')
print(result)
# Do anything else, pass arguments h2cs returns byte string
result = Dock2.cmd('-x https://edgeserver -i dirs.txt http://localhost/', 'driver')
print(result)
```
# Developing Dock2
To install Dock2, along with all the tools you need to develop and run tests,
run the following in your virtualenv:
```bash
$ pip install -e .[dev]
```
نیازمندی
| مقدار | نام |
|---|---|
| - | h2 |
| >=3.7 | pytest |
نحوه نصب
نصب پکیج whl Dock2-0.1.0:
pip install Dock2-0.1.0.whl
نصب پکیج tar.gz Dock2-0.1.0:
pip install Dock2-0.1.0.tar.gz