GCP Region issue
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Start with attack_range.py and follow the simulate path into modules/gcp_controller.py, modules/art_simulation_controller.py, and modules/gcp_service.py. Reproduce the attack using the reported region and zone settings, then inspect get_single_instance_public_ip around the failing network interface lookup. Done means the configured GCP region and zone no longer lead to this AttributeError during an attack.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I have set up the attack range on my Mac and connected to GCP. However, when I run the attack command, it gives the below error.
Traceback (most recent call last):
File "/Users/a/Desktop/s/attack_range/attack_range.py", line 349, in
main(sys.argv[1:])
~~~~^^^^^^^^^^^^^^
File "/Users/a/Desktop/s/attack_range/attack_range.py", line 345, in main
return args.func(args)
~~~~~~~~~^^^^^^
File "/Users/a/Desktop/s/attack_range/attack_range.py", line 73, in simulate
controller.simulate(args.engine, args.target, args.technique, args.playbook)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/a/Desktop/s/attack_range/modules/gcp_controller.py", line 143, in simulate
simulation_controller.simulate(target, technique)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/Users/a/Desktop/s/attack_range/modules/art_simulation_controller.py", line 62, in simulate
target_public_ip = gcp_service.get_single_instance_public_ip(
target,
self.config["general"]["key_name"],
self.config["gcp"]["region"],
)
File "/Users/a/Desktop/s/attack_range/modules/gcp_service.py", line 102, in get_single_instance_public_ip
.network_interfaces[0]
^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'network_interfaces'
even though I have this config in the YML
region: europe-west3
zone: europe-west3-a
- Lenguaje dominante
- Python
- Estrellas
- 2.6k
- Forks
- 418
- Merge medio
- 1 d 22 h
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de splunk/attack_range
-
On Premise requestAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
splunk/attack_range#1428 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
splunk/attack_range#1415 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
splunk/attack_range#1368 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
-
[BUG] Terrafrom error content not detected in APIPosiblemente ocupada @cray44 la tomó hace 151 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
splunk/attack_range#1367 ·
Los mantenedores suelen responder en 2 días
-
[BUG] Terminal colors encodings visible in app logsPosiblemente ocupada @cray44 la tomó hace 151 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 48/100
splunk/attack_range#1366 · 2 comentarios ·
Los mantenedores suelen responder en 2 días
Todos los issues de splunk/attack_range
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
data-umbrella/du-event-board#225 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100