python-xray
A python 3 library which helps in using chaitin's community xray web scanner. This tool convert command line into python functions.
For example in xray if you want to scan for url http://xxx.xx/ you would to something like this
./xray_linux_amd64 --config ./configs/config.yaml webscan url http://xxx.xx/
But in this python-xray script you would do something like this
import pyxray
# xray = pyxray.XrayWebScanner(['/path/to/your/xray-software-dir/xray_linux_amd64'])
xray = pyxray.XrayWebScanner() # default: find it from your PATH
res = xray.webscan(urls=['http://xxx.xx/'])
res = xray.webscan_with_crawler(urls=['http://xxx.xx/'])
print(res)
NOTE: xray_search_path must be an iterable object
Metadata
Release files for python-xray 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python-xray-0.3.1.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_xray-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.6 kB
Release files / python-xray-0.3.1.tar.gz
| Download URL | python-xray-0.3.1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d74fc020dd698aa8e9cb9dff41ce5592f95294b5aac199137872d7fd7743f37d
|
|
BLAKE2b-256 checksum How to use checksums |
38f973ff52a627b6f6ac0314a94554ad053ea725e53d10a33648a220745a79b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / python_xray-0.3.1-py3-none-any.whl
| Download URL | python_xray-0.3.1-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6c9584b386f59a0cfdf67620682ff5941e2042bcb51f956f95af7273e0494dca
|
|
BLAKE2b-256 checksum How to use checksums |
78fb038996ee5803b1d0288e6a0f846d37f69140b8eb9eec6401a4b47e5d427d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|