GenAI-Red-Team-Lab

(★ 49)

https://genai.owasp.org/initiatives/#ai-redteaming

파일 탐색기

  • .gitignore
  • .mailmap
  • CONTRIBUTING.md
  • LICENSE
  • README.md

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

brew install

설명 보기 ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

node

설명 보기 ▼

서버 측 JavaScript 플랫폼 (Node.js).
더 많은 정보: <https://nodejs.org/docs/latest/api/cli.html#options>.

node {{path/to/file}}

JavaScript 파일 실행:

node

REPL(대화형 셸) 시작:

node --watch {{path/to/file}}

지정된 파일을 실행하고 가져온 파일이 변경될 때 프로세스를 재시작 (Node.js 버전 18.11+ 필요):

🔍

ollama

설명 보기 ▼

대규모 언어 모델 실행기.
사용 가능한 모델 목록은 <https://ollama.com/library>를 참조하세요.
더 많은 정보: <https://docs.ollama.com/cli>.

ollama serve

다른 명령을 실행하는 데 필요한 데몬 시작:

ollama run {{model}}

모델을 실행하고 대화:

ollama run {{model}} --think=false "{{prompt}}"

단일 프롬프트로 모델을 실행하며, thinking 기능을 비활성화:

🔍

pip install

설명 보기 ▼

Install Python packages.

pip install {{package1 package2 ...}}

Install one or more packages:

pip install {{package1 package2 ...}} {{[-U|--upgrade]}}

Upgrade all specified packages to the latest version, installing any that are not already present:

pip install {{package}}=={{version}}

Install a specific version of a package:

🔍

podman machine

설명 보기 ▼

Create and manage virtual machines running Podman.
Included with Podman version 4 or greater.

podman machine {{[ls|list]}}

List existing machines:

podman machine init

Create a new default machine:

podman machine init {{name}}

Create a new machine with a specific name:

🔍

podman

설명 보기 ▼

파드, 컨테이너 및 이미지의 간단한 관리 도구.
Podman은 Docker-CLI와 유사한 명령줄을 제공합니다. 간단히 말해: `alias docker=podman`.
더 많은 정보: <https://github.com/containers/podman/blob/main/commands-demo.md>.

podman ps {{[-a|--all]}}

모든 컨테이너 나열 (실행 중 및 중지됨 모두 포함):

podman run --name {{container_name}} {{image}}

이미지에서 사용자 정의 이름으로 컨테이너 생성:

podman {{start|stop}} {{container_name}}

기존 컨테이너 시작 또는 중지:

🔍

apt-get

설명 보기 ▼

Debian 및 Ubuntu 패키지 관리 도구.
`apt-cache`를 사용하여 패키지를 검색하세요.
Ubuntu 16.04 이후 버전에서는 대화형 사용 시 `apt` 사용을 권장합니다.
더 많은 정보: <https://manned.org/apt-get.8>.

sudo apt-get update

사용 가능한 패키지 및 버전 목록 업데이트 (다른 `apt-get` 명령어 실행 전에 권장됨):

sudo apt-get install {{package}}

패키지 설치 또는 최신 버전으로 업데이트:

sudo apt-get remove {{package}}

패키지 제거:

// repository documentation