Giter VIP home page Giter VIP logo

android-network-discovery's People

Contributors

ge0rg avatar rorist avatar suboptimal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-network-discovery's Issues

Unable to get VENDOR NAME...

Hello,
I can't able to get vendor name and hostname of the device. when use hostname method it returns IP address.

-Thanks.

Reuse documentation

Write documentation and example of how to reuse this (very old) app in an other project. As the portscanner is already usable via Intents and the scanner should be quite reusable..

Does not work with uncommon netmasks

I am in a /16 network, but inside the app it defaults to /24, meaning it won't scan the entire network.

I went into my WiFi settings inside Android and manually set a static address with a 16 bit netmask to be absolutely sure Android knows it's a 16 bit netmask. After the change, the address displayed inside the app updated, but the netmask remained /24 which leads me to believe it's an issue with the app.

Unless of course, Android returns a wrong netmask.

Edit:

I am aware that 2^16 would mean it scans for 65,536 potential devices, which might be a little bit too much.

Maybe add an additional option to scan for an address range instead of the entire network?

But of course that should be fully optional, and default to scanning the entire network, as typing in a range each time could get annoying quite quickly! ๐Ÿ˜„

Also, someone that wants to actually scan a network might not know how many devices there are, or where they are, and would likely want to scan it all. So maybe add a warning that such a scan might take some time?

Samsung Galaxy S8

The library doesn't work when used on Samsung Galaxy S8. For more details please see the attached files.
bild_von_ios_hochgeladen_720-1
bild_von_ios_hochgeladen_720

Host discovery failed

Mostly host discovery returns less than active host in my network, Fing or any other host discovery tool returns greater no of hosts, any idea?

Problems with nic.db

Hey.. Its a great app.. Thanks!

I have been working on an app which uses the code from this. I had a few issues with the nic.db file. When I download the app from google play store, it downloads a 500k file with about 190000 entries but I install the app using this code, it downloads a file of size 250k with about 146000 entries. The app works perfectly well when I use the one from play store but I am having issues with the version from Github. Did you make any changes to the code which are not reflected in the Github? If so, can you tell me what they re?

Unable to get Host Vendors name and DeviceType

Really this is great library. +1 for this implementation. i am unable to get vendors name and device type. Its showing Unknown vendor name. Also sometime app crashes with "could not open database" exception. i think there is an issue with downloading nic.db. Don't know something is wrong from my side or not but not getting any solution to get both values. Please help to fix this issue.

I tested the ThisApk from playstore and its working fine. We are getting Vendors name in playstore app. Why not getting while running app through Source?

Great Project,Thanks your work.

I'm a fresh android developer. and I need a ip scan solution for discovery my another device on wifi net. I write a simple scanner use thread and InetAddress.isReachable(int timeout).
But it wok not good, too long time ,and not return exactly.

And I found u project very good.Thanks your work.
I think u can create a small api version, for another project use. simply a API and return scanned ip.

Replace deprecated libraries

Hi,

Is it possible to rewrite the code to support latest SDK? In fact, I'm having troubles with DownloadFile.java where such imports aren't recognized:

import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.ClientProtocolException;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;

Also, minSdkVersion should be like version 14 and compileSdkVersion at 26.

Unable to scan eth0

First of all , thank you all for this excellent tool .
I have a nexus 2012 tablet , and i have an RJ45 adapter to connect to my network with a network cable , when i try to do a scan the network discovery tool tells me that i need to put up the wifi card , the tool is not able to detect that the tablet is already connect to a network using the interface eth0 on that RJ 45 adapter .
Is there anyway to enable network discovery tool to scan a particular interface instead going to the default wifi interface wlan0 ?

Thanks for the tool , very nice indeed .

run in Android Studio

Hi, I tried running this and I can't work with the SDK. What configuration is required to run this in Android Studio, I have very little experience with Android. Many thanks.

Failed to open database

at info.lamatricexiste.network.Network.HardwareAddress.getNicVendor(HardwareAddress.java:82)
at info.lamatricexiste.network.DefaultDiscovery.publish(DefaultDiscovery.java:263)
at info.lamatricexiste.network.DefaultDiscovery.access$000(DefaultDiscovery.java:30)
at info.lamatricexiste.network.DefaultDiscovery$CheckRunnable.run(DefaultDiscovery.java:184)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
2022-07-31 11:19:57.917 11115-11322/? E/HardwareAddress: unknown error (code 14): Could not open database
2022-07-31 11:19:57.917 11115-11319/? E/SQLiteDatabase: Failed to open database '/data/data/info.lamatricexiste.network/files/saves.db'.
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database

NIC db again + confusion and crashes

HI

I tried a few different versions because with the fdroid version the nic db doesn't seem to be downloading. I always get a "0 new devices" message or similar. I can see it connecting out in my proxy log and I can go to the site in a web browser (but get a not authorised to view / message.) I can't see any GET request in the header scan, but I didn't go into it very much. The proxy may not have seen it.

The prerelease version crashes if I click the options button.

The one before that (0.3.4) gets confused about my interface and IP. It always seems to start with tun0 and IP 1.1.1.1. When I change the interface to wlan0 it shows the IP/range as 0.0.0.0/24 and of course scan fails.

Cheers

MAC resolution not working

Hi,
For some reason the vendor name for each MAC address is not displayed, all discovered hosts are labeled as "Unknown". I've tried the app on several devices and Android versions and they all have the same problem. The NIC database file is fine, I opened it on my computer and there was an entry for some of the devices in my network (I didn't check all of them).

Does anybody have any idea what could the problem be? Or at least which are the relevant classes and/or methods so I can take a look and try to figure it out.

Thanks to anyone who reads this. This project is great, by the way. There aren't any other free (as in freedom) network discovery apps for Android as far as I'm concerned, and it's a pity that it's receiving so little attention from the community :(

.

created by accident. Sry

Can't get the hostname and device type of the device

First, this project is wonderful !
But Why can't discovery the hostname and device type of the device?
I researched the code and don't know how to solve it, plz give me some inspiration or advice.
Very Thank you !

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.