Skip to main content

asn_nmap

Library created with the aim of facilitating the obtaining of ips service status by asn

Description.

  • The package asn_nmap is used to:

    • Asn:
      • get_ips
    • Nmap:
      • main

Requirements

  • python3.9 or higher
  • nmap

Installation

Use the package manager pip to install asn_nmap

apt-get install nmap -y
pip install asn-nmap

Usage

Get information from a asn

from asn_nmap.asn import Asn
from asn_nmap.export import Export
from asn_nmap.nmap import Nmap

list_asns = [1251]
ports = [80,443]

asn = Asn()
data = asn.get_ips_by_asns(list_asns)
data = {'1251' : ['200.136.0.0/32']} # Subscribing the data manually to test

nmap = Nmap()
nmap.run_nmap(asn_info=data, port_list=ports, threads_count=1)

Export().to_xlsx(destination_file_name='teste')

an file will be automatically generated

Documentation

Project documented with mkdocs

# Run the command in the root of the project
mkdocs serve

Author

Edgar Reis

License

MIT

Metadata

Release files for asn-nmap 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asn-nmap 0.1.9
File Size Uploaded Provenance Actions
asn-nmap-0.1.9.tar.gz 4.7 kB Without provenance Details for asn-nmap-0.1.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for asn-nmap 0.1.9
File Interpreter ABI Platform Actions
asn_nmap-0.1.9-py3-none-any.whl Python 3 none any Details for asn_nmap-0.1.9-py3-none-any.whl

Total release size: 10.4 kB

Release files / asn-nmap-0.1.9.tar.gz

Download URL asn-nmap-0.1.9.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
c5ca1099537dbbc6596f8c4729214693c74f7b666c89cb2dcc3ed54053030a13
BLAKE2b-256 checksum
How to use checksums
834687ceaf1ac45e89d833ff86bce85d56016ce36facee46a35322b98dd12408
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

Release files / asn_nmap-0.1.9-py3-none-any.whl

Download URL asn_nmap-0.1.9-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76ac4641ec6c7734639270938bf451e5d82669aea38ba04a590e475709356546
BLAKE2b-256 checksum
How to use checksums
8a16feb3633eb53698a6bf49dab2570c60d69b465b72a59e1610ca26d348f225
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6

Security for asn-nmap 0.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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