Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
Swego — Golang으로 작성된 만능 웹서버. Python의 SimpleHTTPServer처럼 간단하게 유지되지만 다양한 기능을 제공합니다. | Kitploit
도구/GitHubGitHub/nodauf/swego
Payload GenerationWeb SecurityPenetration TestingUtilities & FrameworksRed Teaming
GitHubnodauf/swego

Swego

Golang으로 작성된 만능 웹서버. Python의 SimpleHTTPServer처럼 간단하게 유지되지만 다양한 기능을 제공합니다.

저장소 보기
198321년 전Kitploit 검토 완료

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

Swego

Golang으로 작성된 스위스 아미 나이프 웹서버입니다. python SimpleHTTPServer처럼 간단하게 유지하되 많은 기능을 제공합니다.

Swego 스크린샷

사용법

바이너리 실행

빌드하고 싶지 않다면, 바이너리는 https://github.com/nodauf/Swego/releases 에서 사용할 수 있습니다.

그렇지 않으면, build-essential이 설치되어 있어야 하고 GOPATH가 설정되어 있어야 합니다:

root@kitploit:~
git clone https://github.com/nodauf/Swego.git
cd Swego/src
make compileLinux # Or make compileWindows

사용법

web 하위 명령어:

root@kitploit:~
$ ./webserver web --help
Start the webserver (default subcommand)

Usage:
  Swego web [flags]

Flags:
  -b, --bind int                  Bind Port (default 8080)
  -c, --certificate string        HTTPS certificate : openssl req -new -x509 -sha256 -key server.key -out server.crt -days 365
  -d, --disableListing            Disable directory listing
  -g, --gzip                      Enables gzip/zlib compression (default true)
      --ip string                 Binding IP (default "0.0.0.0")
  -k, --key string                HTTPS Key : openssl genrsa -out server.key 2048
  -o, --oneliners                 Generate oneliners to download files
  -p, --password string           Password for basic auth (default "notsecure")
      --private string            Private folder with basic auth (default "/home/florian/dev/SimpleHTTPServer-golang/src/private")
      --promptPassword            Prompt for for basic auth's password
  -r, --root string               Root folder (default "/home/florian/dev/SimpleHTTPServer-golang/src")
  -s, --searchAndReplace string   Search and replace string in embedded text files
      --tls                       Enables HTTPS
  -u, --username string           Username for basic auth (default "admin")

Global Flags:
      --config string   config file (default is $HOME/.Swego.yaml)
  -h, --help            Help message

run 하위 명령어:

root@kitploit:~
$ ./webserver web --help
Run an embedded binary

Usage:
  Swego run [flags]

Flags:
  -a, --args string     Arguments for the binary
  -b, --binary string   Binary to execute
  -l, --list            List embedded binaries

Global Flags:
      --config string   config file (default is $HOME/.Swego.yaml)
  -h, --help            Help message

HTTP를 통한 웹 서버

root@kitploit:~
$ ./webserver
Sharing /tmp/ on 8080 ...
Sharing /tmp/private on 8080 ...

HTTPS를 통한 웹 서버

root@kitploit:~
$ openssl genrsa -out server.key 2048
Generating RSA private key, 2048 bit long modulus (2 primes)
..........................................+++++
.................................................................................................................+++++
e is 65537 (0x010001)

$ openssl req -new -x509 -sha256 -key server.key -out server.crt -days 365
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (e.g. server FQDN or YOUR name) []:
Email Address []:

$ ./webserver web --tls --key server.key --certificate server.crt
Sharing /tmp/ on 8080 ...
Sharing /tmp/private on 8080 ...

비공개 디렉터리와 루트 디렉터리를 사용하는 웹 서버

동일 디렉터리에 비공개 폴더

root@kitploit:~
$ ./webserver-linux-amd64 web --private ThePrivateFolder --username nodauf --password nodauf
Sharing /tmp/ on 8080 ...
Sharing /tmp/ThePrivateFolder on 8080 ...

루트와 비공개 디렉터리의 다른 경로

root@kitploit:~
$ ./webserver-linux-amd64 web --private /tmp/private --root /home/nodauf --username nodauf --password nodauf
Sharing /home/nodauf on 8080 ...
Sharing /tmp/private on 8080 ...

내장된 바이너리 (Windows 전용)

내장된 바이너리 목록 보기:

root@kitploit:~
C:\Users\Nodauf>.\webserver.exe run  
Usage:
  Swego run [flags]

Flags:
  -a, --args string     Arguments for the binary
  -b, --binary string   Binary to execute
  -l, --list            List embedded binaries

Global Flags:
      --config string   config file (default is $HOME/.Swego.yaml)
  -h, --help            Help message

인수를 사용하여 바이너리 실행:

root@kitploit:~
C:\Users\Nodauf>.\webserver.exe run --binary mimikatz.exe --args "privilege::debug sekurlsa::logonpasswords"
....

이렇게 바이너리를 실행하면 AV 보호를 우회하는 데 도움이 될 수 있습니다. 바이너리에 전달된 인수가 AV에 포착될 수 있으므로, 가능하면 바이너리의 대화형 CLI(예: mimikatz)를 사용하거나 인수 이름을 변경하기 위해 바이너리를 다시 컴파일하십시오.

기능

  • HTTPS (인증서/키가 지정되지 않은 경우 자동 생성)
  • 디렉터리 목록 표시
  • 기본 인증을 사용하여 비공개 폴더 정의
  • 여러 파일 업로드
  • 암호화된 zip으로 파일 다운로드 (비밀번호: infected)
  • 폴더를 zip으로 다운로드
  • 내장된 파일
  • C#으로 작성된 내장 바이너리 실행 (Windows에서만 가능)
  • 브라우저에서 폴더 생성
  • 내장된 바이너리 실행 기능
  • 검색 및 바꾸기 기능 (예: 리버스 셸의 IP 주소를 채우기 위해)
  • 내장된 파일을 다운로드 및 실행하는 원라이너 생성
  • 설정 파일 예제 .Swego.yaml
  • TLS용 랜덤 인증서 자동 생성

할 일

  • WebDAV (Net-NTLM 해시 캡처 포함)
  • 로그 파일
  • 다운로드 및 실행을 위한 PowerShell, 일부 LOLBins, curl, wget의 명령줄을 제공하는 JS/CSS 메뉴
  • 검색 및 바꾸기에 정규식 사용
  • 내장 파일 관리를 위한 가상 파일 시스템 사용
도구 다운로드