Spyse is a developer of complete DAAS (Data-As-A-Service) solutions for Internet security professionals, corporate and remote system administrators, SSL / TLS encryption certificate providers, data centers and business analysts. All Spyse online solutions are represented by thematic services that have a single platform for collecting, processing and aggregating information.
Supports the following APIs:
Python API wrapper and command-line client for the tools hosted on spyse.com.
Also Read – PivotSuite : Network Pivoting Toolkit To Hack The Hidden Network
Installation
pip3 install spyse.py
-target-param-page-apikey--rawIt allows you to search their database for IPs, IP ranges, domain names, URLs, etc. The parameter argument is meant to specify the type of your input.
cidrdomainippageurlhashqMuch like Shodan, it allows you to use search queries. To do this, you must supply the “q” parameter. From there, it’s as simple as supplying “org: Microsoft” as the target.
spyse -target “org: Microsoft” -param q –ssl-certificates
spyse -target xbox.com -param domain –subdomains
spyse -target 52.14.144.171 -param ip –domains-on-ip
Searching for SSL certificates
spyse -target hotmail.com -param domain –ssl-certificates
spyse -target “org: Microsoft” -param q –ssl-certificates
spyse -target xbox.com -param domain –dns-all
Navigating multiple pages using your API key
export SPYSEKEY=”yourkeyhere”
spyse -target xbox.com -param domain -apikey $SPYSEKEY -page 2 —ssl-certificates
Initially when I decided to write this client I really wanted it to focus on flexibility within the command-line, which is why there is the --raw option. From there you can work with the raw JSON returned by the API.
spyse -target hackerone.com -param domain –dns-soa –raw | jq
spyse -target hackerone.com -param domain –subdomains –raw | aquatone
Using the library
Without API Key
from spyse import spyse
s = spyse()
subdomains = s.subdomains(“xbox.com”, param=”domain”)
With API Key
from spyse import spyse
#Using the API key allows us to go through multiple pages of results
s = spyse(‘API_TOKEN_GOES_HERE’)
subdomains = s.subdomains_aggregate(“xbox.com”, param=”domain”, page=2)
Search using CIDR
from spyse import spyse
s = spyse()
results = s.domains_on_ip(“172.217.1.0/24″, param=”cidr”)
Work with an existing file
from spyse import spyse
s = spyse()
results = []
with open(“domains.txt”) as d:
for line in d:
# default value for param=”domain”, so we don’t
# need to specify here
r = s.subdomains_aggregate(line)
results.append(r)
print(results)
The groupdel command in Linux removes a group from the system. It deletes the group's entry from /etc/group and /etc/gshadow,…
The wc command in Linux counts lines, words, characters, and bytes in files or standard input. It…
The top command in Linux provides a real-time view of running processes and system resource usage. From…
The usermod command in Linux modifies existing user account attributes. You can use it to manage group…
The sort command in Linux reads lines from files or standard input and writes them to standard…
The wall command in Linux sends a message to the terminals of all currently logged-in users. The…