Dopo aver attinto al forum alla ricerca di informazioni e aiuto (vedi LucaMs per gli eventi) metto a disposizione una parte del lavoro svolto. Premetto che la libreria SNMP è sviluppata parzialmente visto che esegue ciò che mi necessita e che al momento l'unico comando standard funzionante è il...
Dopo aver attinto al forum alla ricerca di informazioni e aiuto (vedi LucaMs per gli eventi) metto a disposizione una parte del lavoro svolto. Premetto che la libreria SNMP è sviluppata parzialmente visto che esegue ciò che mi necessita e che al momento l'unico comando standard funzionante è il...
However the library only creates the packet, you manage the sending with the udp socket. You could change the logic of the App and also remove the timeout.
Hi there, Well I ve created a simple IP Scanner for Windows only (runs sure at, 7, 8, 8.1, 10, 11)... It uses jShell Library, so cmd, also ping.exe, ipconfig.exe, arp.exe... Is a good example how to use String, Regex, substring, indexof, Wait For... I am attaching only the .jar file - i...
www.b4x.com
ofcourse... you can use alone the jshell, make a loop... to ping ips...and use arp to get mac addresses...
Hi there, Well I ve created a simple IP Scanner for Windows only (runs sure at, 7, 8, 8.1, 10, 11)... It uses jShell Library, so cmd, also ping.exe, ipconfig.exe, arp.exe... Is a good example how to use String, Regex, substring, indexof, Wait For... I am attaching only the .jar file - i...
www.b4x.com
ofcourse... you can use alone the jshell, make a loop... to ping ips...and use arp to get mac addresses...
hmm.... getting names of devices (like manufactuer set them) need something different (from just ping -a)... windows/network name is easier.. getting with -a
I am attaching a powershell script found old days, may be help... creating a csv with computer names (but not always)..
ps: need to edit the ps file and change $Subnet = "192.168.168." with your ip range subnet...
ps2: Also, as i know nslookup works right if first dns (of your ip configuration) is the router/gateway ip
Also... there are techniques to "search" with the start of MAC-Address and find the Manufacteur... at internet you can find big lists with mac addresses...
Also... there are techniques to "search" with the start of MAC-Address and find the Manufacteur... at internet you can find big lists with mac addresses...
I'm a novice in this subject. Please forgive me for my silly questions. Can you explain how I can use this script with B4J? Example code would be very helpful.
This is really a really cool snippet. It makes it very simple to run Windows 10 PowerShell scripts. It doesn't require special permissions. Public Sub PowerShellScript(s As String) As ResumableSub s = s.Replace(CRLF, ";").Replace("""", "'") Dim shl As Shell...
www.b4x.com
But in the specific script output to screen a grid form... you can just output to text file and use it.
In this script not showing.. how to get first part of Mac address and show manufacturer
use nmap in a shell, will get you all info from a single host
scanning one host using FQDN:
nmap -sn --system-dns 192.168.1.99 or nmap --system-dns -O 192.168.1.99 with portscan
Starting Nmap 7.94 ( https://nmap.org ) at 2023-09-21 08:28 CEST
Nmap scan report for odroidc2-dev.rat.box (192.168.1.99)
Host is up (0.00074s latency).
MAC Address: 00:1E:06:43:EF:9B (Wibrain)
Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds
or
nmap -sn --system-dns 192.168.1.0/24 for a complete net scan
use nmap in a shell, will get you all info from a single host
scanning one host using FQDN:
nmap -sn --system-dns 192.168.1.99 or nmap --system-dns -O 192.168.1.99 with portscan
Starting Nmap 7.94 ( https://nmap.org ) at 2023-09-21 08:28 CEST
Nmap scan report for odroidc2-dev.rat.box (192.168.1.99)
Host is up (0.00074s latency).
MAC Address: 00:1E:06:43:EF:9B (Wibrain)
Nmap done: 1 IP address (1 host up) scanned in 0.07 seconds
or
nmap -sn --system-dns 192.168.1.0/24 for a complete net scan