aiojarm
Async version of JARM.
Installation
pip install aiojarm
Usage
import asyncio
import aiojarm
loop = asyncio.get_event_loop()
fingerprints = loop.run_until_complete(
asyncio.gather(
aiojarm.scan("www.salesforce.com"),
aiojarm.scan("www.google.com"),
aiojarm.scan("www.facebook.com"),
aiojarm.scan("github.com"),
)
)
print(fingerprints)
# [
# (
# "www.salesforce.com",
# 443,
# "23.42.156.194",
# "2ad2ad0002ad2ad00042d42d00000069d641f34fe76acdc05c40262f8815e5",
# ),
# (
# "www.google.com",
# 443,
# "172.217.25.228",
# "27d40d40d29d40d1dc42d43d00041d4689ee210389f4f6b4b5b1b93f92252d",
# ),
# (
# "www.facebook.com",
# 443,
# "31.13.82.36",
# "27d27d27d29d27d1dc41d43d00041d741011a7be03d7498e0df05581db08a9",
# ),
# (
# "github.com",
# 443,
# "52.192.72.89",
# "29d29d00029d29d00041d41d0000008aec5bb03750a1d7eddfa29fb2d1deea",
# ),
# ]
CLI usage
$ aiojarm --help
Usage: aiojarm [OPTIONS] HOSTNAMES...
Arguments:
HOSTNAMES... IPs/domains or a file which contains a list of IPs/domains per
line [required]
Options:
--port INTEGER [default: 443]
--max-at-once INTEGER [default: 8]
--install-completion Install completion for the current shell.
--show-completion Show completion for the current shell, to copy it or
customize the installation.
--help Show this message and exit.
$ aiojarm 1.1.1.1
1.1.1.1,443,1.1.1.1,27d3ed3ed0003ed1dc42d43d00041d6183ff1bfae51ebd88d70384363d525c
$ aiojarm google.com.ua google.gr
google.com.ua,443,172.217.25.195,27d40d40d29d40d1dc42d43d00041d4689ee210389f4f6b4b5b1b93f92252d
google.gr,443,216.58.220.131,27d40d40d29d40d1dc42d43d00041d4689ee210389f4f6b4b5b1b93f92252d
# or you can input hostnames via a file
$ aiojarm list.txt
License
JARM is created by Salesforce's JARM team and it is licensed with 3-Clause "New" or "Revised" License.
Metadata
Release files for aiojarm 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiojarm-0.2.2.tar.gz | 10.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiojarm-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.4 kB
Release files / aiojarm-0.2.2.tar.gz
| Download URL | aiojarm-0.2.2.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e297f6a2c0dcb87d5a76cc0549531b5ea299fe25fb3880177364ac23d5957ff
|
|
BLAKE2b-256 checksum How to use checksums |
01f904652a01c701d3a6085801ff63c81434b8df435227c9fc76c4580c1fed20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.8.2 Darwin/20.6.0
|
Release files / aiojarm-0.2.2-py3-none-any.whl
| Download URL | aiojarm-0.2.2-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0cc2b537666a2a67164e020a8985a0c112d79a72670dcda8c785cf5b9fe9902
|
|
BLAKE2b-256 checksum How to use checksums |
1818a196277bfc0af3ed503c51dd59c58209298f3334c3d43be87ec4972c529e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.8.2 Darwin/20.6.0
|