tarunkant / Gopherus

This tool generates gopher link for exploiting SSRF and gaining RCE in various servers
MIT License
2.83k stars 369 forks source link

Looks like you need to update your shell code(install.sh). #14

Closed sp3arm4n closed 2 years ago

sp3arm4n commented 3 years ago

Hi,👋👋 I'm student in Repulic of Korea. I'm study about cyber security.

Thanks to the tool you made recently, I solved one CTF problem well.👍👍 But there are some problems with the shell code you made(a.k.a install.sh). If you look at the picture below, you can see an error.

1

The server I am currently using is Ubuntu 20.04. If you look at the picture below, pip2 is not supported in that environment.

2

Operating systems and tools are updated every year. Accordingly, it seems that the code needs to be modified.

e.g.) 3

tarunkant commented 3 years ago

Hello @luckyboxx,

Thanks! Actually the tool works in python2 only as of now, I need to update the tool for python3, that I will do surely as soon as I get some time from my regular work.

Thanks,

honphilemon commented 2 years ago

Please do , is needed for ssrf testing.

tarunkant commented 2 years ago

Hello @honphilemon, Until then you can use this for installation:

Install python2 pip via:

wget https://bootstrap.pypa.io/pip/2.7/get-pip.py; python2 get-pip.py

Then run the following install.sh:

#!/bin/bash
python2 -m pip install argparse
python2 -m pip install requests
chmod +x gopherus.py
ln -sf $(pwd)/gopherus.py /usr/local/bin/gopherus
tarunkant commented 2 years ago

Updated the install.sh