crobat
Version, currently 0.0.16-10cc04412 versions
- 0.0.21latestDec 20, 2021
- 0.0.21-beta.17not indexedDec 20, 2021
- 0.0.21-beta.16not indexedDec 20, 2021
- 0.0.21-beta.12not indexedDec 20, 2021
- 0.0.21-beta.2not indexedDec 20, 2021
- 0.0.21-beta.1not indexedDec 20, 2021
- 0.0.20not indexedDec 20, 2021
- 0.0.19-edcc3cdnot indexedDec 20, 2021
- 0.0.18-3ee6d2fnot indexedDec 20, 2021
- 0.0.17-e84dac9not indexedDec 20, 2021
- 0.0.16-10cc044not indexedDec 20, 2021
- 0.0.1-beta.1not indexedDec 20, 2021
github.com/PercussiveElbow/crobat-sdk-crystal
Crystal SDK for the Crobat API.
8 stars
0 dependents
License: MIT
Nothing has been indexed for 0.0.16-10cc044 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
crobat:
github: PercussiveElbow/crobat-sdk-crystal
version: ~> 0.0.16-10cc044Then run:
shards installshard.yml
No shard.yml has been indexed for 0.0.16-10cc044. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
# Crobat SDK - Crystal
Crystal SDK and command line client for [SonarSearch/Crobat](https://github.com/Cgboal/SonarSearch).
## Download
Prebuilt binary releases available [here](https://github.com/PercussiveElbow/crobat-sdk-crystal/releases).
Prebuilt Docker container available [here](https://github.com/users/PercussiveElbow/packages/container/package/crobat).
To grab the latest release:
```wget https://github.com/PercussiveElbow/crobat-sdk-crystal/releases/latest/download/crobat_client && chmod +x ./crobat_client```
To run the latest Docker container (~20MB)
```sudo docker run -it ghcr.io/percussiveelbow/crobat:latest```
## Usage - Client
### Client
```
Usage: ./crobat_client [arguments]
-q QUERY, --query Target domain, IP or IP range to query.
-s TYPE, --type Search type. (SUBDOMAIN, ALL, REVERSE TLD)
-f FORMAT, --format File output format. (JSON, TXT, CSV)
-o FILE, --output File output location.
-h, --help Show help.
E.g ./crobat_client -q twitter.com -s subdomain
```
### Client - Docker
To build and use the Docker container:
```
sudo docker build . -t crobat && sudo docker run -it crobat -q twitter.com -s subdomain
```
## Usage - SDK
Add the SDK as a dependency within your _shards.yml_:
```
dependencies:
crobat:
github: percussiveelbow/crobat-sdk-crystal
```
Then simply `require "crobat/crobat_sdk"` at the top of your file.
The client object can then be instantiated and used like below.
```
require "crobat/crobat_sdk"
client = Crobat::CrobatSDK.new("https://sonar.omnisint.io")
# Retrieving subdomains via SDK
puts(client.retrieve_subdomains("twitter.com"))
# Retrieving all results via SDK
puts(client.retrieve_all("twitter.com"))
# Retrieving tlds via SDK
puts(client.retrieve_tlds("twitter.com"))
# Retrieving reverse info for an IP via SDK
puts(client.retrieve_reverse("8.8.8.8"))
# Retrieving reverse info for an IP range via SDK
puts(client.retrieve_reverse_range("95.138.157.0/16"))
```
## Building manually
### Building the client
```
crystal build --static --release src/crobat_client.cr
```
### Building the SDK
```
crystal build --static --release src/crobat_sdk.cr
```
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.0.16-10cc044- Tagged
- Dec 20, 2021
- Commit
10cc044396f0- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/PercussiveElbow/crobat-sdk-crystal
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 12