mirror of https://github.com/aliasrobotics/cai.git
Naming fixing
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
This commit is contained in:
parent
9c3abbcbf8
commit
79afe9d6f8
|
|
@ -1,7 +1,7 @@
|
|||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
|
||||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.241.1/containers/python-3
|
||||
{
|
||||
"name": "exploitflow_devenv",
|
||||
"name": "cai_devenv",
|
||||
|
||||
// "build": {
|
||||
// "dockerfile": "Dockerfile",
|
||||
|
|
@ -65,16 +65,16 @@
|
|||
// "postCreateCommand": "pip3 install --user -r requirements.txt", // doing it instead in
|
||||
// the dockerfile to cache
|
||||
// requirements in container
|
||||
// Install exploitflow via "pip3 install -e ."
|
||||
// Install cai via "pip3 install -e ."
|
||||
|
||||
// // Quadrant gen setup
|
||||
"postCreateCommand": "pip3 install -e /workspace/",
|
||||
|
||||
// MSF setup, and RAG setup
|
||||
"postStartCommand": [
|
||||
"nohup", "msfrpcd", "-P", "exploitflow", "&",
|
||||
"nohup", "msfrpcd", "-P", "cai", "&",
|
||||
"&&",
|
||||
"python3", "exploitflow/ins/rag/agent_helper.py"
|
||||
"python3", "cai/ins/rag/agent_helper.py"
|
||||
],
|
||||
// // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
||||
// "remoteUser": "vscode"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ services:
|
|||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
command: /bin/sh -c "while sleep 10; do :; done"
|
||||
networks:
|
||||
exploitflownet:
|
||||
cainet:
|
||||
ipv4_address: 192.168.2.5
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
|
|
@ -38,7 +38,7 @@ services:
|
|||
# while sleep 1; do :; done
|
||||
# "
|
||||
# networks:
|
||||
# exploitflownet:
|
||||
# cainet:
|
||||
# ipv4_address: 192.168.2.11
|
||||
# mac_address: 08:00:27:85:55:86
|
||||
|
||||
|
|
@ -50,7 +50,7 @@ services:
|
|||
# ports: # map port in the container to the host systems
|
||||
# - "8080:80"
|
||||
# networks:
|
||||
# exploitflownet:
|
||||
# cainet:
|
||||
# ipv4_address: 192.168.2.12
|
||||
# mac_address: 08:00:27:cb:07:d4
|
||||
|
||||
|
|
@ -63,14 +63,14 @@ services:
|
|||
volumes:
|
||||
- ./qdrant_storage:/qdrant/storage:z
|
||||
networks:
|
||||
exploitflownet:
|
||||
cainet:
|
||||
ipv4_address: 192.168.2.13
|
||||
|
||||
#################
|
||||
# NETWORKS
|
||||
#################
|
||||
networks:
|
||||
exploitflownet:
|
||||
cainet:
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
|
|
|
|||
|
|
@ -1,98 +0,0 @@
|
|||
version: '3'
|
||||
|
||||
#################
|
||||
# SERVICES
|
||||
#################
|
||||
services:
|
||||
|
||||
# Developer environment
|
||||
devenv:
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: .devcontainer/Dockerfile
|
||||
volumes:
|
||||
# Mount the root folder that contains .git
|
||||
- ..:/workspace:cached
|
||||
command: /bin/sh -c "while sleep 10; do :; done"
|
||||
# command: |
|
||||
# /bin/bash -c "
|
||||
# apt-get update && apt-get install -y vim nmap net-tools netcat git python3 python3-pip &&
|
||||
# pip3 install git+https://github.com/vmayoral/scapy@tcpros &&
|
||||
# while sleep 10; do :; done
|
||||
# "
|
||||
# python3 examples/6_exploitation_ros.py 192.168.2.6
|
||||
networks:
|
||||
exploitflownet:
|
||||
ipv4_address: 192.168.2.5
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
# - ALL
|
||||
|
||||
# Collaborative robot target
|
||||
ur3:
|
||||
container_name: ur3
|
||||
image: registry.gitlab.com/aliasrobotics/clients/luxembourg-tech-school/targets:ur3_cb3.1_3.12.1
|
||||
command: |
|
||||
/bin/sh -c "
|
||||
echo '2033333333' > /root/ur-serial && truncate -s -1 /root/ur-serial &&
|
||||
cd /root/.urcontrol && ln -s urcontrol.conf.UR3 urcontrol.conf &&
|
||||
source /root/run_gui.sh &&
|
||||
java -Djava.library.path=/root/GUI/lib -jar bin/felix.jar &
|
||||
/etc/init.d/ssh start &&
|
||||
/bin/sleep 10 && cd /root/.urcontrol/daemon/ && ./run
|
||||
"
|
||||
networks:
|
||||
exploitflownet:
|
||||
ipv4_address: 192.168.2.10
|
||||
|
||||
ros:
|
||||
container_name: ros
|
||||
image: registry.gitlab.com/aliasrobotics/clients/luxembourg-tech-school/targets:ros_melodic
|
||||
command: |
|
||||
/bin/bash -c "
|
||||
export ROS_MASTER_URI='http://192.168.2.6:11311'
|
||||
source /opt/ros/melodic/setup.bash && roscore &
|
||||
/bin/sleep 10 && source /opt/ros/melodic/setup.bash &&
|
||||
rostopic pub /chatter std_msgs/String "Publisher" -r 5
|
||||
"
|
||||
networks:
|
||||
exploitflownet:
|
||||
ipv4_address: 192.168.2.6
|
||||
|
||||
ros2:
|
||||
container_name: ros2
|
||||
image: registry.gitlab.com/aliasrobotics/clients/luxembourg-tech-school/targets:ros2_dashing
|
||||
command: |
|
||||
/bin/sh -c "
|
||||
source /opt/ros2_ws/install/setup.bash &&
|
||||
export ROS_DOMAIN_ID=0 &&
|
||||
RMW_IMPLEMENTATION=rmw_fastrtps_cpp ros2 run demo_nodes_cpp talker --ros-args --remap talker:=talker_open
|
||||
"
|
||||
networks:
|
||||
exploitflownet:
|
||||
ipv4_address: 192.168.2.7
|
||||
|
||||
px4:
|
||||
container_name: px4
|
||||
image: registry.gitlab.com/aliasrobotics/clients/luxembourg-tech-school/targets:px4_1.13.1
|
||||
# NOTE: This is a workaround to keep the container running, to launch the PX4 SITL:
|
||||
# /root/entrypoint.sh
|
||||
# or manually:
|
||||
# cd /root/Firmware && HEADLESS=1 make px4_sitl gazebo_iris__empty
|
||||
command: |
|
||||
/bin/bash -c "
|
||||
while sleep 10; do :; done
|
||||
"
|
||||
networks:
|
||||
exploitflownet:
|
||||
ipv4_address: 192.168.2.8
|
||||
|
||||
#################
|
||||
# NETWORKS
|
||||
#################
|
||||
networks:
|
||||
exploitflownet:
|
||||
ipam:
|
||||
driver: default
|
||||
config:
|
||||
- subnet: 192.168.2.0/24
|
||||
|
|
@ -124,7 +124,7 @@ venv.bak/
|
|||
.dmypy.json
|
||||
dmypy.json
|
||||
|
||||
# brought over from ExploitFlow
|
||||
# brought over from cai
|
||||
*.egg-info/
|
||||
__pycache__
|
||||
.DS_Store
|
||||
|
|
@ -137,11 +137,11 @@ snapshots
|
|||
qdrant-web-ui
|
||||
tests/metasploit_function_calls.json
|
||||
other/playground/7_datascraper/pdfs
|
||||
exploitflow/ins/rag/vectordb/msf/module_metadata.json
|
||||
exploitflow/ins/rag/vectordb/msf/function_calls.json
|
||||
cai/ins/rag/vectordb/msf/module_metadata.json
|
||||
cai/ins/rag/vectordb/msf/function_calls.json
|
||||
pentestperf
|
||||
/build/
|
||||
.history/
|
||||
exploitflow.png
|
||||
exploitflow.dot
|
||||
exploitflow*.png
|
||||
cai.png
|
||||
cai.dot
|
||||
cai*.png
|
||||
|
|
|
|||
Loading…
Reference in New Issue