Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Dheerajmadhukar/karma_v1

KARMA is a simple bash script automation that can hit Shodan Premium API and find active IPs, ASN, Common Vulnerabilities, CVEs & Open Ports.
https://github.com/Dheerajmadhukar/karma_v1

Last synced: about 1 month ago
JSON representation

KARMA is a simple bash script automation that can hit Shodan Premium API and find active IPs, ASN, Common Vulnerabilities, CVEs & Open Ports.

Awesome Lists containing this project

README

        

![Follow on Twitter](https://img.shields.io/twitter/follow/Dheerajmadhukar?style=social)

## `Do check the latest one: KARMA_V2 (https://github.com/Dheerajmadhukar/karma_v2)`

## What is this?
**KARMA_v1**
is a simple bash script automation that can talk to [Shodan](https://shodan.io) Premium API and find active IPs, ASN, Common Vulnerabilities, CVEs & Open Ports, Products, Hostname, Server Details.

## What's special about this tool?

* Powerful and flexible results via Shodan Dorks
* SSL SHA1 checksum/fingerprint Search
* Only hit In-Scope IPs
* Verify each IP with SSL/TLS certificate issuer match RegEx
* Find out all ports including well known/uncommon
* Grab all targets vulnerabilities related to CVEs
* Banner grab for each IP & Product

***Its (karma_v1) a bit slow due to shodan API rate limit.***

#### **This VERSION (karma_v1) limit to 1000 IPs/Results only. NEW UPDATES WILL BE ADDED SOON ;)**

## Installation
### 1. Clone the repo
```bash
# git clone https://github.com/Dheerajmadhukar/karma_v1.git
```
### 2. Install shodan python module
```bash
# pip3 install shodan
```
### 3. Install JSON Parser [JQ]
```bash
# apt install jq -y
```
### 4. Install httpx [@pdiscoveryio](https://github.com/projectdiscovery/httpx) to probe the requests
```bash
# GO111MODULE=on go get -v github.com/projectdiscovery/httpx/cmd/httpx
```
### 5. Install Interlace [@codingo](https://github.com/codingo/Interlace.git) to multithread [Follow the codingo interlace repo instructions]
```bash
Clone https://github.com/codingo/Interlace.git & install accordingly.
```

## Ok, how do I use it?
```bash
# cat > .token
SHODAN_PREMIUM_API_HERE
```
```bash
# bash karma_v1 target.tld

Output will be saved in output/target.tld-YYY-MM-DD directory
```


Dheerajmadhukar


Some example usage:

```bash
# bash karma_v1 target.tld
```
##### Requirements
- shodan python module [ pip3 install shodan ]
- anew [@tomnomnom](https://github.com/tomnomnom/anew)
- jq [ apt install jq -y ]
- httpx [@pdiscoveryio](https://github.com/projectdiscovery/httpx)
- Interlace [@codingo](https://github.com/codingo/Interlace.git)