Giter VIP home page Giter VIP logo

censei's Introduction

forthebadge made-with-python

Censei

A Python script to search Censys.io for hosts and services using API.

GitHub issues GitHub forks GitHub stars GitHub license GitHub release GitHub contributors GitHub last commit

Table of Contents

๐Ÿ“ Description

Censei is a python script that uses the Censys.io API to search for hosts and services.

Censys.io (www.censys.io) is a web-based search platform for assessing attack surface for Internet connected devices. The tool can be used not only to identify Internet connected assets and Internet of Things/Industrial Internet of Things (IoT/IIoT), but Internet-connected industrial control systems and platforms. Leveraging ingestion formats supported by WebUI, API, Raw Data, Google BigQuery, Censys.io provides maximum extensibility into any size cyber security ecosystem. Integrations with leading vulnerability tools and platforms, logging aggregators and other scanning systems allow Censys.io to be seamlessly integrated into an enterprise. CISA


๐Ÿ”ง Technologies & Tools

๐Ÿ“š Requirements

  • Python 3.9+
  • pip3

Installation

Use the package manager pip to install the requirements. if not installed, install it using the following command.

sudo apt-get install python3-pip

It is advised to install the python requirements in a virtual environment, for that install the venv package.

python3 -m pip install venv
cd Censei
python3 -m venv env
source env/bin/activate

After that run the following commands:

python3 -m pip install -r requirements.txt

Config

Before running the script, you need to add your Censys.io API ID and API Secret in the .configx file or set API_ID and API_SECRET as environment variables.

After Login to your censys.io account, you can get your API ID and API SECRET from Here.

# Config File
- API_ID: < API ID Here >
- API_SECRET: < API Secret Here >

Usage

1) python3 main.py
2) python3 main.py -q wordpress

Help Menu

usage: main.py [-h] [-q QUERY]

A Python script to search using Censys.io API.

options:
  -h, --help            show this help message and exit
  -q QUERY, --query QUERY
                        The query to search for

Todo

  • Add Certificate Search.
  • Add more search options.
  • Add more filters.
  • Add output options.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Feedback

If you have any feedback, please reach out to us at [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.