Trouble installing and running routersploit on raspbian
I'm following the guide here
https://github.com/reverse-shell/routersploit I get past the installation step: sudo apt-get install python-requests python-paramiko python-netsnmp git clone https://github.com/reverse-shell/routersploit ./rsf.py I type 'ls' and see that there is a folder rsf.py The command that is befuddling me is this one: root@kalidev:~/git/routersploit# ./rsf.py It says no file by that name. I did mkdir to create /git and /routersploit#, but that doesn't seem to work. I tried doing the same under my user and after logging into root. What exactly does the following command do? root@kalidev:~/git/routersploit# ./rsf.py thanks! |
Hello,
Welcome to LQ, I tried the git clone command. I created a directory called "testing" in my home. Then I cd into the directory "testing" and ran: Code:
$ git clone https://github.com/reverse-shell/routersploit After doing the git clone, you get a directory routersploit which contains LICENSE, README.md, ... The important thing is that it contains an executable rsf.py, which you can execute quite simply. So, you might have made a mistake in running the command as you are saying that you had to use mkdir and that you have a rsf.py directory. |
how to fix?
root@alfin:~/routersploit# ./rsf.py
Traceback (most recent call last): File "./rsf.py", line 3, in <module> from routersploit.interpreter import RoutersploitInterpreter File "/root/routersploit/routersploit/__init__.py", line 1, in <module> from routersploit.utils import ( File "/root/routersploit/routersploit/utils.py", line 32, in <module> requests.packages.urllib3.disable_warnings(requests.packages.urllib3.exceptions.InsecureRequestWarni ng) AttributeError: 'module' object has no attribute 'disable_warnings' |
Hi cepukid,
Welcome to LQ. This looks like a Python error. Maybe some missing dependency or uncorrect PYTHONPATH. You should have started a new thread in the hardware/newbie forum. We are always ready to help, provided you ask your question properly in the appropriate forum. Check these out: http://www.linuxquestions.org/linux/...Ask_a_Question http://www.linuxquestions.org/linux/...xQuestions_org All the best. |
All times are GMT -5. The time now is 05:26 PM. |