https://github.com/archerysec/archerysec-python-package
The repository contains all ArcherySec python package including python API package.
https://github.com/archerysec/archerysec-python-package
Last synced: about 2 months ago
JSON representation
The repository contains all ArcherySec python package including python API package.
- Host: GitHub
- URL: https://github.com/archerysec/archerysec-python-package
- Owner: archerysec
- Created: 2018-04-07T16:10:16.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-11-20T07:43:25.000Z (over 2 years ago)
- Last Synced: 2025-03-04T22:42:33.785Z (over 1 year ago)
- Language: Python
- Size: 45.9 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ArcherySec
Archery is an opensource vulnerability assessment and management tool which helps developers and pentesters to perform scans and manage vulnerabilities. Archery uses popular opensource tools to perform comprehensive scanning for web application and network. It also performs web application dynamic authenticated scanning and covers the whole applications by using selenium. The developers can also utilize the tool for implementation of their DevOps CI/CD environment.
[For More details](http://docs.archerysec.info/)
## ArcherySec python package
ArcherySec Python package interacting with Archery using Archery RESTful API. It's allow you to create project, perform scans, extract scan data, etc. For more information please visit our [Developer Website](http://developers.archerysec.info/)
## Quick Start
Several quick start options are available:
- Install with pip: `pip install PyArchery`
- Build locally: `python setup.py build`
- [Download the latest release](https://github.com/target/webinspectapi/releases/latest/)
## Example
```
# Import the package
from archery import api
# Set Archery url
host = 'http://127.0.0.1:8008'
# Setup archery connection
archery = api.ArcheryAPI(host)
# Provide Archery Credentials for authentication.
authenticate = archery.archery_auth('admin', 'admin@123A')
# Collect Token after authentication
token = authenticate.data
for key, value in token.viewitems():
token = value
# List all Projects
project = archery.list_project(auth=token)
# Printing in Json Format
print project.data_json()
```