Vai al contenuto

AI, Informatica, Didattica ed Altro

Cerca
  • Contatti
  • AI
  • Didattica
  • Informatica
  • Automation
Informatica

Learn how to detect network equipment

13 Settembre 2015 admin

Sometimes you might have network or firewall issues in an internal that require a network scan to find which IP addresses are in use. For that purpose, we can use ready-made tools such as nmap, zmap or angryIP. But if we have no internet access to download these tools we can do the scan by only using manual commands. However, the manual scanning can be quite tedious, with the understanding that should be done for each IP address given on our network.

import sys, subprocess
if len(sys.argv)<>2:
print “networkmonitor 10.0.0.”
else:
cmdping =”ping -c1 “+sys.argv[1]
for x in range(99,110):
p = subprocess.Popen(cmdping+str(x), shell=True, stderr=subprocess.PIPE)
while True:
out = p.stderr.read(1)
if out == ” and p.poll() != None:
break
if out != ”:
sys.stdout.write(out)
sys.stdout.flush()

Navigazione articolo

Articolo precedenteWiFi at 25 Races Ahead with 802.11axArticolo successivoIntroducing Pi-Cubes, Ubuntu Snappy Core-Powered HVAC Automation System

Categorie

Articoli recenti

  • Il Fienile Podcast “Mr Silicon Valley” con Federico Faggin
  • Nvidia è vicina a un’esplosione storica (Warren Buffett)
  • 7 fonti di reddito da costruire senza lasciare il lavoro 
  • Warren Buffett: Mentre l’Italia Entra in Recessione 
  • Questi 5 asset stanno andando a zero
  • Proprio ora 7 paesi stanno crollando — quale sarà il primo a cadere? Warren Buffett
  • Die Unglaubliche Geschichte Von Harley & Davidson
  • How HARLEY-DAVIDSON motorcycles are made: Full Factory Tour in the USA
  • Harley-Davidson European Bike Week
  • BERETTA: la Fabbrica d’Armi Più Antica del Mondo
  • Come nasce una MIETITREBBIA (da 790 CV)? Tutti i SEGRETI della fabbrica (italiana) della FENDT
  • dentro Komatsu Ltd.: La Verità Brutale Dietro il Crollo del Miracolo Industriale Giapponese
  • Dentro Landini S.p.A.: Come un impero invincibile è stato distrutto dall’arroganza
  • Battleship 
  • Hiroshima – Cortometraggio
  • Hiroshima: immagini rare di un mondo distrutto
  • Hiroshima: minuto per minuto
  • Albert Einstein – Il più grande cervello del XX secolo – Documentario
  • Inside Einstein’s Mind | Full Documentary | NOVA | PBS
  • 5 Misteri e Invenzioni di Leonardo da Vinci che la Scienza Non Può Ancora Spiegare

Pierluigi Lucio

  • AI
  • Informatica
  • Elettronica
  • Didattica
  • Tecnologie
  • Server
  • RDBMS
  • UTM – Firewall
  • Comunicazione
  • Desktop Computer
  • Security
  • Mobile Computer
  • Automation – Internet of Things
  • Dedicated server
  • Cloud computing
  • N.A.S.
  • LAN WAN DMZ WiFi VOIP
  • WEB
  • Didattica ed Intrattenimento
  • Electronic health record
  • Cryptocurrency
Proudly powered by WordPress
Utilizziamo i cookie per essere sicuri che tu possa avere la migliore esperienza sul nostro sito. Se continui ad utilizzare questo sito noi assumiamo che tu ne sia felice.