pulitux 2 anni fa
parent
commit
ddf7e138a9
40 ha cambiato i file con 116 aggiunte e 1 eliminazioni
  1. BIN
      1.- Ejercicios/0316_ejercicio_t1.pptx
  2. BIN
      1.- Ejercicios/EJERCICIO SQL TIENDA INFORMATICA.docx
  3. 13 0
      1.- Ejercicios/sqlinjection_ejercicioonline.txt
  4. BIN
      1.- Extras/3-bc.pdf
  5. BIN
      1.- Extras/Contenido de un análisis de impacto al negocio.docx
  6. BIN
      1.- Extras/articles-5482_G11_Analisis_Impacto.pdf
  7. BIN
      1.- Extras/impactos.webp
  8. BIN
      1.- Extras/tema_sql1.pdf
  9. BIN
      1.- Extras/tema_sql2.pdf
  10. BIN
      1.- Modulo/uf1_CRITERIOS SEGURIDAD EQUIPOS INFORMATICOS.pdf
  11. BIN
      1.- Modulo/uf2_ANALISIS_IMPACTO.pdf
  12. BIN
      1.- Modulo/uf4_PLAN_IMPLANTACION.pdf
  13. BIN
      1.- Modulo/uf5_PROTECCION_DATOS_PERSONALES.pdf
  14. BIN
      1.- Modulo/uf6_SEGURIDAD_FISICA-LOGICA.pdf
  15. BIN
      1.- Modulo/uf8_ROBUSTEZ_SISTEMAS.pdf
  16. BIN
      1.- Modulo/uf9_CORTAFUEGOS.pdf
  17. BIN
      General/22_1232 CRONOGRAMA.pdf
  18. BIN
      General/22_1232 GUION.pdf
  19. 0 1
      README.md
  20. 44 0
      Scripts/sweep_ping.py
  21. BIN
      seguridad/1.- Ejercicios/0316_ejercicio_t1.pptx
  22. BIN
      seguridad/1.- Ejercicios/EJERCICIO SQL TIENDA INFORMATICA.docx
  23. 13 0
      seguridad/1.- Ejercicios/sqlinjection_ejercicioonline.txt
  24. BIN
      seguridad/1.- Extras/3-bc.pdf
  25. BIN
      seguridad/1.- Extras/Contenido de un análisis de impacto al negocio.docx
  26. BIN
      seguridad/1.- Extras/articles-5482_G11_Analisis_Impacto.pdf
  27. BIN
      seguridad/1.- Extras/impactos.webp
  28. BIN
      seguridad/1.- Extras/tema_sql1.pdf
  29. BIN
      seguridad/1.- Extras/tema_sql2.pdf
  30. BIN
      seguridad/1.- Modulo/uf1_CRITERIOS SEGURIDAD EQUIPOS INFORMATICOS.pdf
  31. BIN
      seguridad/1.- Modulo/uf2_ANALISIS_IMPACTO.pdf
  32. BIN
      seguridad/1.- Modulo/uf4_PLAN_IMPLANTACION.pdf
  33. BIN
      seguridad/1.- Modulo/uf5_PROTECCION_DATOS_PERSONALES.pdf
  34. BIN
      seguridad/1.- Modulo/uf6_SEGURIDAD_FISICA-LOGICA.pdf
  35. BIN
      seguridad/1.- Modulo/uf8_ROBUSTEZ_SISTEMAS.pdf
  36. BIN
      seguridad/1.- Modulo/uf9_CORTAFUEGOS.pdf
  37. BIN
      seguridad/General/22_1232 CRONOGRAMA.pdf
  38. BIN
      seguridad/General/22_1232 GUION.pdf
  39. 2 0
      seguridad/README.md
  40. 44 0
      seguridad/Scripts/sweep_ping.py

BIN
1.- Ejercicios/0316_ejercicio_t1.pptx


BIN
1.- Ejercicios/EJERCICIO SQL TIENDA INFORMATICA.docx


+ 13 - 0
1.- Ejercicios/sqlinjection_ejercicioonline.txt

@@ -0,0 +1,13 @@
+SQLINJECTION TEST:
+
+https://www.hacksplaining.com/exercises/sql-injection#/start
+http://www.techpanda.org/
+
+EJERCICIOS
+
+https://www.hacksplaining.com/exercises/sql-injection
+
+
+https://www.hacksplaining.com/lessons
+
+

BIN
1.- Extras/3-bc.pdf


BIN
1.- Extras/Contenido de un análisis de impacto al negocio.docx


BIN
1.- Extras/articles-5482_G11_Analisis_Impacto.pdf


BIN
1.- Extras/impactos.webp


BIN
1.- Extras/tema_sql1.pdf


BIN
1.- Extras/tema_sql2.pdf


BIN
1.- Modulo/uf1_CRITERIOS SEGURIDAD EQUIPOS INFORMATICOS.pdf


BIN
1.- Modulo/uf2_ANALISIS_IMPACTO.pdf


BIN
1.- Modulo/uf4_PLAN_IMPLANTACION.pdf


BIN
1.- Modulo/uf5_PROTECCION_DATOS_PERSONALES.pdf


BIN
1.- Modulo/uf6_SEGURIDAD_FISICA-LOGICA.pdf


BIN
1.- Modulo/uf8_ROBUSTEZ_SISTEMAS.pdf


BIN
1.- Modulo/uf9_CORTAFUEGOS.pdf


BIN
General/22_1232 CRONOGRAMA.pdf


BIN
General/22_1232 GUION.pdf


+ 0 - 1
README.md

@@ -1,3 +1,2 @@
 # seguridad
 
-Curso Certificado de Profesionalidad Seguridad Informática

+ 44 - 0
Scripts/sweep_ping.py

@@ -0,0 +1,44 @@
+import sys
+import subprocess as sp
+from threading import Thread
+
+class pingThread(Thread):
+    def __init__(self, ip = '127.0.0.1'):
+        Thread.__init__(self)
+        self.ip = ip
+    def run(self):
+        result = sp.run(['ping', '-c 1', self.ip], capture_output=True)
+        if (result.returncode != 0):
+            self.ip = None
+
+def sweep_ping(address = '127.0.0.1', mask = '255.255.255.0'):
+    hosts = []
+    ping = [] 
+    a1, a2, a3, a4 = address.split('.')
+    m1, m2, m3, m4 = mask.split('.')
+
+    for i1 in range(0, 256 - int(m1)):
+        for i2 in range(0, 256 - int(m2)):
+            for i3 in range(0, 256 - int(m3)):
+                for i4 in range(0, 256 - int(m4)):
+                    t1 = (int(a1) + i1) % 256
+                    t2 = (int(a2) + i2) % 256
+                    t3 = (int(a3) + i3) % 256
+                    t4 = (int(a4) + i4) % 256    
+                    ip = f'{t1}.{t2}.{t3}.{t4}'
+                    ping.append(pingThread(ip))
+                    ping[-1].start()
+                    #print (ip)                        
+    for p in ping:
+        p.join()
+        if p.ip:
+            hosts.append(p.ip)
+    return (hosts)
+
+def main():
+    hosts = sweep_ping(sys.argv[1], sys.argv[2])
+    for h in hosts:
+        print (h)
+        
+if __name__ == "__main__":
+    main()

BIN
seguridad/1.- Ejercicios/0316_ejercicio_t1.pptx


BIN
seguridad/1.- Ejercicios/EJERCICIO SQL TIENDA INFORMATICA.docx


+ 13 - 0
seguridad/1.- Ejercicios/sqlinjection_ejercicioonline.txt

@@ -0,0 +1,13 @@
+SQLINJECTION TEST:
+
+https://www.hacksplaining.com/exercises/sql-injection#/start
+http://www.techpanda.org/
+
+EJERCICIOS
+
+https://www.hacksplaining.com/exercises/sql-injection
+
+
+https://www.hacksplaining.com/lessons
+
+

BIN
seguridad/1.- Extras/3-bc.pdf


BIN
seguridad/1.- Extras/Contenido de un análisis de impacto al negocio.docx


BIN
seguridad/1.- Extras/articles-5482_G11_Analisis_Impacto.pdf


BIN
seguridad/1.- Extras/impactos.webp


BIN
seguridad/1.- Extras/tema_sql1.pdf


BIN
seguridad/1.- Extras/tema_sql2.pdf


BIN
seguridad/1.- Modulo/uf1_CRITERIOS SEGURIDAD EQUIPOS INFORMATICOS.pdf


BIN
seguridad/1.- Modulo/uf2_ANALISIS_IMPACTO.pdf


BIN
seguridad/1.- Modulo/uf4_PLAN_IMPLANTACION.pdf


BIN
seguridad/1.- Modulo/uf5_PROTECCION_DATOS_PERSONALES.pdf


BIN
seguridad/1.- Modulo/uf6_SEGURIDAD_FISICA-LOGICA.pdf


BIN
seguridad/1.- Modulo/uf8_ROBUSTEZ_SISTEMAS.pdf


BIN
seguridad/1.- Modulo/uf9_CORTAFUEGOS.pdf


BIN
seguridad/General/22_1232 CRONOGRAMA.pdf


BIN
seguridad/General/22_1232 GUION.pdf


+ 2 - 0
seguridad/README.md

@@ -0,0 +1,2 @@
+# seguridad
+

+ 44 - 0
seguridad/Scripts/sweep_ping.py

@@ -0,0 +1,44 @@
+import sys
+import subprocess as sp
+from threading import Thread
+
+class pingThread(Thread):
+    def __init__(self, ip = '127.0.0.1'):
+        Thread.__init__(self)
+        self.ip = ip
+    def run(self):
+        result = sp.run(['ping', '-c 1', self.ip], capture_output=True)
+        if (result.returncode != 0):
+            self.ip = None
+
+def sweep_ping(address = '127.0.0.1', mask = '255.255.255.0'):
+    hosts = []
+    ping = [] 
+    a1, a2, a3, a4 = address.split('.')
+    m1, m2, m3, m4 = mask.split('.')
+
+    for i1 in range(0, 256 - int(m1)):
+        for i2 in range(0, 256 - int(m2)):
+            for i3 in range(0, 256 - int(m3)):
+                for i4 in range(0, 256 - int(m4)):
+                    t1 = (int(a1) + i1) % 256
+                    t2 = (int(a2) + i2) % 256
+                    t3 = (int(a3) + i3) % 256
+                    t4 = (int(a4) + i4) % 256    
+                    ip = f'{t1}.{t2}.{t3}.{t4}'
+                    ping.append(pingThread(ip))
+                    ping[-1].start()
+                    #print (ip)                        
+    for p in ping:
+        p.join()
+        if p.ip:
+            hosts.append(p.ip)
+    return (hosts)
+
+def main():
+    hosts = sweep_ping(sys.argv[1], sys.argv[2])
+    for h in hosts:
+        print (h)
+        
+if __name__ == "__main__":
+    main()