This module will interact with Tor to get real time statistical and analytical information.
Project description
Module Overview:
This module will interact with Tor to get real time statistical and analytical information.
Usages-
from dnaApi import dna
dna.authenticate()
Functionality-
|-is_alive - check tor process is alive or killed.
|-is_valid_ipv4_address-check for valid ip address.
|-authenticate- cookie authentication of control port.
|-get_version- get version of tor.
|-get_pid- find pid of tor service.
|-get_info- get information like version,exit policy,network status etc.
|-set_conf- change the value of one or more configurable variable.
|-reset_conf-set the configurable variable to default values.
|-get_conf- Request the value of zero or more configuration variable.
|-get_ports- retreive informations about listeners of different ports.
|-get_network_statuses- Router status info (v3 directory style) for all ORs.
|-get_exit_policy-The default exit policy lines that Tor will append to the ExitPolicy config option.
|-prt_check-check validity of ports.
|-can_exit_to- check whether one can exit through a particular port.
|-get_circuit- get information about circuits present for use.
|-port_usage-Usage of particular port.
|-get_info_relay- retrieve information from database about a particular relay.
|-status-tell status of a circuit BUILT or not.
|-build_flag- build flag on circuit and relays.
|-path- return path of circuit.
|-created- circuit created info.
|-signal-signal control port like NEWNYM,RELOAD etc.
|-get_fingerprint-the contents of the fingerprint file that Tor writes as a relay, or a 551 if we're not a relay currently.
|-get_network_status-network status of a relay with given fingerprint.
Project details
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
File details
Details for the file dnaApi-0.2.5.tar.gz
.
File metadata
- Download URL: dnaApi-0.2.5.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81411e639824e78cdebf8e0e07d26cff9196de2e387da0de469a7efb75eedd5f |
|
MD5 | 90c05b66575e60e7b95106789679ec5b |
|
BLAKE2b-256 | f8e07fdaf2e09466750fb8fbd62aaeeaae270bcd2617e4a605365a6a58fdb4a5 |
File details
Details for the file dnaApi-0.2.5-py2-none-any.whl
.
File metadata
- Download URL: dnaApi-0.2.5-py2-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 215a747b7ffbecfd6224171d82678a6784e26e2712398557f9749b23a26ae180 |
|
MD5 | f613e42d659ef8fb363296cb6d7aa92c |
|
BLAKE2b-256 | 9ff9be8cb573c4e663e41a7a2f14c9393728b17f45e7ad52f55f3ab3ba93dc51 |