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
pip3 install osint#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)#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)from osint import QBGetInfo
print(QBGetInfo().search_all(8080))
or 
print(QBGetInfo().search_all("8080"))QBDns().convert_to_ips(targets)- targetsList of target domains or ips, the results is needed for the rest of modules e.g. ["http://test...","1.2.3.4"]
QBHost().run(targets, function)- targetsfrom QBDns().convert_to_ips() function
- functionall, cert or content
QBCached().run(targets, from_date_in, to_date_in)- targetsfrom QBDns().convert_to_ips() function
- from_date_in#start date as month/year e.g. 12/2020
- to_date_in#end date as month/year e.g. 12/2021
QBExtract().run(targets, function)- targetsfrom QBDns().convert_to_ips() function
- functionall, text, metadata, links, image or language
QBScan.run(targets, ports, function)- targetsfrom QBDns().convert_to_ips() function
- portsports to scan e.g. [80,443]
- functionall, sync, tcp, xmas, fin, null, ack, window or udp
QBTraceRoute.run(targets)- targetsfrom QBDns().convert_to_ips() function
QBPing.run(targets, function)- targetsfrom QBDns().convert_to_ips() function function #all, arp, icmp or udp
QBWhois.run(targets)- targestfrom QBDns().convert_to_ips() function
QBICS.run(targets)- targetsfrom QBDns().convert_to_ips() function
QBICS() module is not available and currently under testing
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)
By using this framework, you are accepting the license terms of all these packages: scapy tld netifaces dnspython beautifulsoup4 requests pyOpenSSL lxml langdetect









