Simple security lookups via CLI
Project description
seclook
seclook is a security lookup CLI tool that allows you to query various security services on the fly. It is essentially a wrapper over the requests library that removes the need to manually search within Web UIs or write your own requests in Postman or cURL to query these services.
You can look up information using commands like seclook [service] [value], where the service can be virustotal, shodan, emailrep, and so on. The value is the information you're querying for and varies by service.
Installation
pip install seclook- Copy config.ini.sample from this directory and place it in
~/.seclook/config.ini - Open
~/.seclook/config.iniand add in your own API keys for the services you want to use.
Some services (e.g., GreyNoise, ThreatFox) don't require API keys, but may be rate-limited more quickly without one or have other limitations. Others (e.g., YARAify) do not need an API key at all and will not be referenced in the config file.
Usage
Basic usage of seclook is as follows:
seclook [service] [value]
For example, to look up IP 1.1.1.1 on AbuseIPDB, you'd run:
seclook abuseipdb 1.1.1.1
You can pipe the output to fx or jq for further processing:
seclook emailrep andrew@akatz.org | fx
You can grep the output for known keys to get specific information:
seclook virustotal 44d88612fea8a8f36de82e1278abb02f | grep malicious
Options
--export – Use this flag to export the results to a JSON file in your current working directory.
Supported services
You can also view supported services by passing list as the service name:
seclook list
Upgrading
To upgrade seclook to the latest version:
pip install --upgrade seclook
Contributing
If you'd like to contribute to seclook, please feel free to fork the repository, create a feature branch, and then submit a Pull Request.
License
MIT License
Contact
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file seclook-0.8.tar.gz.
File metadata
- Download URL: seclook-0.8.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87c15222d6c81fc67bf0e5eed596ddb83d644eeb8be193cc332cb34edd778a70
|
|
| MD5 |
fd35ee6a44e62a4537b53bb17200df6d
|
|
| BLAKE2b-256 |
eb210119f1c6e896ecd2533eda2bf4a18f0f7415d2631015eb9905ffb25c5227
|
Provenance
The following attestation bundles were made for seclook-0.8.tar.gz:
Publisher:
cd.yml on ackatz/seclook-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
seclook-0.8.tar.gz -
Subject digest:
87c15222d6c81fc67bf0e5eed596ddb83d644eeb8be193cc332cb34edd778a70 - Sigstore transparency entry: 166491891
- Sigstore integration time:
-
Permalink:
ackatz/seclook-cli@1b503f92a972ce9a7d21922238152b7b2edb6c45 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ackatz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@1b503f92a972ce9a7d21922238152b7b2edb6c45 -
Trigger Event:
workflow_run
-
Statement type:
File details
Details for the file seclook-0.8-py3-none-any.whl.
File metadata
- Download URL: seclook-0.8-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bc1a66bb80f37d1863e79d63f8a6e54c018e7eeaff33073092c6c84bd3bd841
|
|
| MD5 |
90fbf0f19d7101d6d00d9a18c888ff76
|
|
| BLAKE2b-256 |
af46f5b478970b4e89958b8620767a5b78eccf538ba358aea21467af049ba7a7
|
Provenance
The following attestation bundles were made for seclook-0.8-py3-none-any.whl:
Publisher:
cd.yml on ackatz/seclook-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
seclook-0.8-py3-none-any.whl -
Subject digest:
0bc1a66bb80f37d1863e79d63f8a6e54c018e7eeaff33073092c6c84bd3bd841 - Sigstore transparency entry: 166491892
- Sigstore integration time:
-
Permalink:
ackatz/seclook-cli@1b503f92a972ce9a7d21922238152b7b2edb6c45 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ackatz
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@1b503f92a972ce9a7d21922238152b7b2edb6c45 -
Trigger Event:
workflow_run
-
Statement type: