Skip to main content

Collection of Open Source Intelligence (OSINT) tools

Project description

https://raw.githubusercontent.com/qeeqbox/osint/main/readme/osint_logo.png

Build your own custom OSINT tools and APIs with this python package! It includes different OSINT modules for performing reconnaissance on the target, and a built-in database for mapping and visuialzing the some of the reconnaissance results.

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

Install

sudo pip3 install osint

Usage Example - Test target

sudo python3 -m osint --test "https://test.."

Usage Example - Scan ips or domains for http and https

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

Usage Example - Extract text from domains

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

Usage Example - Interact with the built-in database

print(QBGetInfo().cursor.execute(("SELECT * FROM ports WHERE port=?"),(80,)).fetchone())

Current modules

QBDns() - Dns lookups

QBDns().convert_to_ips(targets)
  • target List of target domains or ips, the results is needed for the rest of modules e.g. [”http://test…”,”1.2.3.4”]

QBHost() - Extract host information and cert

QBHost().run(targets, function)
  • target from QBDns().convert_to_ips() function

  • function all, cert or content

QBCached() - Check archive.org from snapshots

QBCached().run(targets, from_date_in, to_date_in)
  • target from 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() - Extract text from pages

QBExtract().run(targets, function)
  • target from QBDns().convert_to_ips() function

  • function all, text, metadata, links, image or language

QBScan() - Extract text from pages

QBScan.run(targets, ports, function)
  • target from QBDns().convert_to_ips() function

  • ports ports to scan e.g. [80,443]

  • function all, sync, tcp, xmas, fin, null, ack, window or udp

QBTraceRoute() - Extract text from pages

QBTraceRoute.run(targets)
  • target from QBDns().convert_to_ips() function

QBPing() - Ping host

QBPing.run(targets, function)
  • target from QBDns().convert_to_ips() function

  • function #all, arp, icmp or udp

QBWhois() - Whois information

QBWhois.run(targets)
  • target from QBDns().convert_to_ips() function

QBICS() - Industrial Control Systems Scanning

QBICS.run(targets)
  • target from QBDns().convert_to_ips() function

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 [![](https://github.com/qeeqbox/.github/blob/main/data/social-analyzer.png)](https://github.com/qeeqbox/social-analyzer) [![](https://github.com/qeeqbox/.github/blob/main/data/analyzer.png)](https://github.com/qeeqbox/analyzer) [![](https://github.com/qeeqbox/.github/blob/main/data/chameleon.png)](https://github.com/qeeqbox/chameleon) [![](https://github.com/qeeqbox/.github/blob/main/data/url-sandbox.png)](https://github.com/qeeqbox/url-sandbox) [![](https://github.com/qeeqbox/.github/blob/main/data/mitre-visualizer.png)](https://github.com/qeeqbox/mitre-visualizer) [![](https://github.com/qeeqbox/.github/blob/main/data/woodpecker.png)](https://github.com/qeeqbox/woodpecker) [![](https://github.com/qeeqbox/.github/blob/main/data/docker-images.png)](https://github.com/qeeqbox/docker-images) [![](https://github.com/qeeqbox/.github/blob/main/data/seahorse.png)](https://github.com/qeeqbox/seahorse) [![](https://github.com/qeeqbox/.github/blob/main/data/rhino.png)](https://github.com/qeeqbox/rhino)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

osint-0.2.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

osint-0.2-py3-none-any.whl (3.3 MB view details)

Uploaded Python 3

File details

Details for the file osint-0.2.tar.gz.

File metadata

  • Download URL: osint-0.2.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for osint-0.2.tar.gz
Algorithm Hash digest
SHA256 d4cc2a7615efee34585215cdd153216c8a407086fd338f416e066c3e88e6519c
MD5 7950dcbdae706b1ecd6b9f79932f8864
BLAKE2b-256 ad2576e1f7df6853df2644b9eb6b3fa8098b06aa82fbed7d8917e559e504ba47

See more details on using hashes here.

File details

Details for the file osint-0.2-py3-none-any.whl.

File metadata

  • Download URL: osint-0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for osint-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1243847f46f11ed74adccf57c1a66a9203f4c9bbb1b8408bba303bbc873611c6
MD5 ad00714d4a47d17d828c2ab134567844
BLAKE2b-256 64ffbf84370aa87b9b1d898a53212f76d49b5264021d4306141943aa61fa569b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page