Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Scapy Manager

Step CA Manager using Python

Setup

git clone https://github.com/nikhiljohn10/scapy
cd scapy
pip install --user poetry
poetry update

Demo

poetry run bash examples/deploy.sh

You will be asked to provide a Cloudflare Token to upload the worker. The worker will be uploaded to your Cloudflare Account and deployed to Cloudflare Edge Network.

If successully deployed, you will find a url where the demo CA Root certificate and hosted. Install this certificate in systems to access stepca.nikz.in.

Python Package

pip install scapy-man

Usage with Step CA

scapy gen passwords
scapy gen worker

export CA_NAME="Scapy CA"
step ca init \
--name "$CA_NAME" \
--dns stepca.local \
--address :443 \
--provisioner admin \
--password-file $(scapy path passwords)/root.txt \
--provisioner-password-file $(scapy path passwords)/provisioner.txt

export FINGERPRINT=$(step certificate fingerprint $(scapy path certs)/root_ca.crt)
scapy deploy --worker scapy --js worker.js

In the above commands,

  • Generate a password and store in step path
  • Generate a basic worker file
  • Export CA_NAME variable with CA Name
  • Generate PKI using Step CA
  • Export FINGERPRINT variable with fingerprint of Root Certificate
  • Deploy worker scapy with worker.js as script file.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scapy-man-0.2.0a0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scapy_man-0.2.0a0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file scapy-man-0.2.0a0.tar.gz.

File metadata

  • Download URL: scapy-man-0.2.0a0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for scapy-man-0.2.0a0.tar.gz
Algorithm Hash digest
SHA256 eb3e24bcc11bb4d8188aafa0c7bdae4de0bfb88d58deb5df83ad1176c0e06c22
MD5 bbead284f2f0651d3ee73e387b633a85
BLAKE2b-256 5b4f9fcb3f02cedb7d35af5632454117100d85fd1ce80da853e9750a5db92d2e

See more details on using hashes here.

File details

Details for the file scapy_man-0.2.0a0-py3-none-any.whl.

File metadata

  • Download URL: scapy_man-0.2.0a0-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for scapy_man-0.2.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 de309049ebf52f7075efc33748cf40d99c70032ac7fd0a85890e8b7d46a74877
MD5 8574f34ee14f66b06b7ad20ab7bd8838
BLAKE2b-256 31a70e339b3e87827cd10172ae8875fc44a078fcadb2a3d53e6e866d002cb7d0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page