All Projects → fooock → jshodan

fooock / jshodan

Licence: MIT license
Powerful Shodan API client using RxJava and Retrofit

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to jshodan

Just Another Android App
An Android base app with loads of cool libraries/configuration NOT MAINTAINED
Stars: ✭ 1,654 (+2853.57%)
Mutual labels:  rxjava, android-development, retrofit2
Go Shodan
Shodan API client
Stars: ✭ 158 (+182.14%)
Mutual labels:  shodan, exploits, security-scanner
Grinder
🔎 Python framework to automatically discover and enumerate hosts from different back-end systems (Shodan, Censys)
Stars: ✭ 209 (+273.21%)
Mutual labels:  shodan, security-scanner
VideoPreLoading
Demo for video PreLoading/ PreCaching using ExoPlayer 2.13.3 in Android.
Stars: ✭ 61 (+8.93%)
Mutual labels:  android-development, retrofit2
UseCases
This a library that offers a generic implementation of the data layers from the clean architecture by Uncle bob.
Stars: ✭ 23 (-58.93%)
Mutual labels:  rxjava, retrofit2
Shodansploit
🔎 shodansploit > v1.3.0
Stars: ✭ 342 (+510.71%)
Mutual labels:  shodan, security-scanner
Awesome Shodan Queries
🔍 A collection of interesting, funny, and depressing search queries to plug into shodan.io 👩‍💻
Stars: ✭ 2,758 (+4825%)
Mutual labels:  shodan, security-scanner
NewsReader
Android News Reader app. Kotlin Coroutines, Retrofit and Realm
Stars: ✭ 21 (-62.5%)
Mutual labels:  rxjava, retrofit2
Marvel
Marvel Characters Android Application Assigned by smava GmbH
Stars: ✭ 227 (+305.36%)
Mutual labels:  rxjava, retrofit2
MusicUU
一款让你解决下歌烦恼的APP
Stars: ✭ 15 (-73.21%)
Mutual labels:  rxjava, retrofit2
photon
Fast and light image loading library based on kotlin
Stars: ✭ 20 (-64.29%)
Mutual labels:  rxjava, retrofit2
RxLoading
RxJava library for showing a loading (i.e. progress bar) state while waiting for async data with minimal effort and advanced options.
Stars: ✭ 49 (-12.5%)
Mutual labels:  rxjava, android-development
ShonyDanza
A customizable, easy-to-navigate tool for researching, pen testing, and defending with the power of Shodan.
Stars: ✭ 86 (+53.57%)
Mutual labels:  shodan, exploits
pentesting-multitool
Different utility scripts for pentesting and hacking.
Stars: ✭ 39 (-30.36%)
Mutual labels:  shodan, security-scanner
Coderfun
knowledge&girls,RxJava&Retrofit&DBFlow
Stars: ✭ 233 (+316.07%)
Mutual labels:  rxjava, retrofit2
InstantAppStarter
Starter Project Structure for Android Instant app. https://blog.mindorks.com/android-mvp-architecture-with-instant-app-support-11ba48241a82
Stars: ✭ 44 (-21.43%)
Mutual labels:  android-development, retrofit2
BaseDevelop
an android project for now fashion open source framework
Stars: ✭ 24 (-57.14%)
Mutual labels:  rxjava, retrofit2
Movieguide Kotlin
Movie discovery app showcasing Kotlin, RxJava, Dagger2, MVP using Clean Architecture
Stars: ✭ 222 (+296.43%)
Mutual labels:  rxjava, retrofit2
Bubbble
Sample app showcases the MVP pattern and Robert Martin's Clean Architecture approach.
Stars: ✭ 226 (+303.57%)
Mutual labels:  rxjava, android-development
Android
Step by step guide for various components in android
Stars: ✭ 32 (-42.86%)
Mutual labels:  android-development, retrofit2

jShodan

Download Android Arsenal

Powerful Shodan client written using RxJava and Retrofit. You can integrate this client into existing apps or create new one. With this Shodan client you can:

  • Search Shodan
  • Exploit search
  • Streaming API to consume Shodan data in real time (in development)

Installation

If you use gradle add to your build.gradle

repositories {
    jcenter()
}

Also you can use maven central

repositories {
    mavenCentral()
}

And in your dependencies block add this line

compile 'com.fooock:jshodan:0.4.9'

or if you are using maven add to you pom.xml

<dependency>
  <groupId>com.fooock</groupId>
  <artifactId>jshodan</artifactId>
  <version>0.4.9</version>
  <type>pom</type>
</dependency>

Getting started

You need an API key to use this client. You can do this in Shodan.io

  • Rest API
ShodanRestApi api = new ShodanRestApi("your api key here");

A simple example of query Shodan with facet info. Note that executing this query consumes 1 query credit

api.hostSearch("port:8333", "bitcoin.ip:10,city:10")
    .subscribe(new DisposableObserver<HostReport>() {
        @Override
        public void onCompleted() {
            // called when the request is completed
        }

        @Override
        public void onError(Throwable e) {
            // called if an error occurs
        }

        @Override
        public void onNext(HostReport hostReport) {
            // result of the query
        }
});

The result of this, if success, is an object HostReport that contains all info.

int total = hostReport.getTotal();
List<Banner> banners = hostReport.getBanners();
FacetReport facet = hostReport.getFacet();

You can use other method calls from the rest API. See the ApiService class for a complete list.

  • Exploit API Use this API to search for exploits from multiple data sources like Exploit DB, Metasploit and CVE. The use of this API is very simply and similar to the previous
ShodanExploitApi api = new ShodanExploitApi("your api key here");

A simple example

api.search("ssl", "type")
    .subscribe(new DisposableObserver<ExploitReport>() {
        @Override
        public void onCompleted() {
            // called when the request is completed
        }

        @Override
        public void onError(Throwable e) {
            // called if an error occurs
        }

        @Override
        public void onNext(ExploitReport exploitReport) {
            // result of the query
        }
});

The result of this call, if success, is ExploitReport class that contains all info

  • Streaming API This API returns a real-time stream of data collected by Shodan.
ShodanStreamingApi api = new ShodanStreamingApi("your api key here");

Example to get all data that Shodan collects

api.banners()
    .subscribe(new DisposableObserver<BannerReport>() {
        @Override
        public void onCompleted() {
            // called when the request is completed
        }

        @Override
        public void onError(Throwable e) {
            // called if an error occurs
        }

        @Override
        public void onNext(BannerReport bannerReport) {
            // result of the query
        }
});

Note: To use the streaming API you need a Shodan subscription-based API plan. You can obtain it in Shodan pricing

Android support

If your plan is to create a new Android app using this, you need to add this dependency

compile 'io.reactivex.rxjava2:rxandroid:x.y.z'

Dependencies

Enjoy it!

Roadmap

  1. Testing
  2. Documentation
  3. Better readme with more examples

Links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].