Home

Awesome

<p align="center"> <img src="https://raw.githubusercontent.com/qeeqbox/osint/main/readme/osint_logo.png"></p>

Build custom OSINT tools and APIs with this python package - It includes different OSINT modules (Ping, Traceroute, Scans, Archives, DNS, Scrape, Whois, Metadata) for performing reconnaissance on the target, and a built-in database for mapping and visuialzing some of the reconnaissance results.

The final results is a json output that can be intergrated with other projects

Install

pip3 install osint

Usage Example - Scan ips or domains for http and https

#Remember you need higher privileges

from osint import QBDns, QBScan
targets = QBDns().convert_to_ips(["http://test.com","1.2.3.4"] )
targets = QBScan().run(targets,[80,443])
print(targets)

Usage Example - Extract text from domains

#Remember you need higher privileges

from osint import QBDns, QBHost, QBExtract
targets = QBDns().convert_to_ips(["http://test.com"] )
targets = QBHost().run(targets)
targets = QBExtract().run(targets,function="text")
print(targets)

Usage Example - Interact with the built-in database (Search the entire database for a value)

from osint import QBGetInfo
print(QBGetInfo().search_all(8080))
or 
print(QBGetInfo().search_all("8080"))

Current modules

QBDns() - Dns lookups

QBDns().convert_to_ips(targets)

QBHost() - Extract host information and cert

QBHost().run(targets, function)

QBCached() - Check archive.org from snapshots

QBCached().run(targets, from_date_in, to_date_in)

QBExtract() - Extract text from pages

QBExtract().run(targets, function)

QBScan() - Extract text from pages

QBScan.run(targets, ports, function)

QBTraceRoute() - Extract text from pages

QBTraceRoute.run(targets)

QBPing() - Ping host

QBPing.run(targets, function)

QBWhois() - Whois information

QBWhois.run(targets)

QBICS() - Industrial Control Systems Scanning

QBICS.run(targets)

QBICS() module is not available and currently under testing

Built-in Database

countries_ids (country text, ctry text, cntry text, cid int, latitude int, longitude int, flag text)
countries_ips (ipfrom bigint, ipto bigint, registry text, assigned int, ctry text, cntry text, country text)
dns_servers (dns text, description text)
languages (ctry text, language text)
ports (port int, protocol text, service text, description text)
reserved_ips (ipfrom bigint, ipto bigint, description text)
temp_emails (email text, description text, blocked boolean)
url_shorteners (URL text, description text)

acknowledgement

By using this framework, you are accepting the license terms of all these packages: scapy tld netifaces dnspython beautifulsoup4 requests pyOpenSSL lxml langdetect

Other Projects