rorist / android-network-discovery Goto Github PK
View Code? Open in Web Editor NEWAndroid network tool: Discover hosts and scan their ports, in your Wifi/3G network.
Home Page: http://rorist.github.com/android-network-discovery/
Android network tool: Discover hosts and scan their ports, in your Wifi/3G network.
Home Page: http://rorist.github.com/android-network-discovery/
Hello,
I can't able to get vendor name and hostname of the device. when use hostname method it returns IP address.
-Thanks.
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..
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?
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?
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?
Hello All,
I tried to understand how to use this code, please could you precise to me how to detect the devices connected to my router
using my android app, could you please clarify to me this code?
Thank in advance
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?
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.
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.
The "options" button exits program..
Hi once network is discovered, pls allow me to longpress, bring up a menu, let me copy either the MAC Address, or IP please.
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 .
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.
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
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
Some machines advertise their services via Zeroconf (avahi/Bonjour), showing these when doing a scan would be nice.
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
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 !
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.