Does anyone know how I can get all the ips on a network | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Does anyone know how I can get all the ips on a network

So I really wanna become an ethical hacker and get good at networking does anyone know how in python I can make it so that on my network it’ll print all the ips connected?

21st Oct 2018, 7:28 AM
SheZco
SheZco - avatar
3 Réponses
+ 1
i dont think there is a shortcut for this, or if its possible in python i'm not yet good at it but you can scan and ping every possible ip, by using you own ip and define the range by its class.
21st Oct 2018, 7:46 AM
Taste
Taste - avatar
+ 1
do quick google search you'll find some code to get your ip make an if statement to define which class its belong to then loop trough and ping every possible ip (another google search) in your ip range once you found an ip with positive result store them somewhere using list or something, then continue the loop.
21st Oct 2018, 8:07 AM
Taste
Taste - avatar
0
but how Taste
21st Oct 2018, 8:00 AM
SheZco
SheZco - avatar