Skip to main content

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)

Source distribution for python-xray 0.3.1
File Size Uploaded
python-xray-0.3.1.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-xray 0.3.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page