Kestrel Jupyter Kernel
Project description
This repository contains two Python packages:
kestrel_jupyter_kernel
kestrel_ipython
Python Requirement
This project and docs build on Python 3.
Install and Setup
The easy and preferred way:
$ pip install kestrel-jupyter
$ python -m kestrel_jupyter_kernel.setup
If you want to install from source code:
$ git clone git://github.com/opencybersecurityalliance/kestrel-jupyter
$ cd kestrel-jupyter
$ pip install .
$ python -m kestrel_jupyter_kernel.setup
How to Use Kestrel Jupyter Notebook Kernel
Start Jupyter with jupyter notebook and start a new notebook with kernel kestrel. Note if you are using jupyter lab, most functionalities are there such as code execution, error prompot, and context-aware auto-complete, but the syntax highlighting is not ported from our Jupyter Notebook environment to Jupyter Lab yet.
Write your hello world hunt:
newvar = NEW process ["cmd.exe", "reg.exe"]
DISP newvar
Check Kestrel documentation for more.
How to Use ipython Magic Function
import kestrel_ipython
Then you can write any code in single-line or multi-line Kestrel in Python:
%%kestrel
newvar = NEW process ["cmd.exe", "reg.exe"]
DISP newvar
Uninstall Kestrel Jupyter Kernel
List all Jupyter kernels installed:
$ jupyter kernelspec list
Uninstall Kestrel kernel:
$ jupyter kernelspec uninstall kestrel
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for kestrel_jupyter-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9454e309b91e61d83a476025888f0349f9de936e0867b5cb697f6598dafa7ec9 |
|
MD5 | 046607ed33e5c0954c0576179e340174 |
|
BLAKE2b-256 | ace75ea68fb19b3447cdc317e060183e08b7e272641527629e2b93a224d29290 |