LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2016, 09:08 AM   #1
nooobster
LQ Newbie
 
Registered: Apr 2016
Posts: 1

Rep: Reputation: Disabled
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!
 
Old 04-30-2016, 02:58 AM   #2
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
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
Cloning into 'routersploit'...
remote: Counting objects: 1017, done.
remote: Compressing objects: 100% (101/101), done.
remote: Total 1017 (delta 60), reused 0 (delta 0), pack-reused 916
Receiving objects: 100% (1017/1017), 213.80 KiB | 94.00 KiB/s, done.
Resolving deltas: 100% (681/681), done.
Checking connectivity... done.

$ ls -l
total 4.0K
drwxr-xr-x 4 aragorn aragorn 4.0K Apr 30 11:52 routersploit

$ cd routersploit ; ls -l
total 32K
-rw-r--r-- 1 aragorn aragorn 1.9K Apr 30 11:52 LICENSE
-rw-r--r-- 1 aragorn aragorn  11K Apr 30 11:52 README.md
-rw-r--r-- 1 aragorn aragorn   52 Apr 30 11:52 requirements.txt
drwxr-xr-x 5 aragorn aragorn 4.0K Apr 30 11:52 routersploit
-rwxr-xr-x 1 aragorn aragorn  205 Apr 30 11:52 rsf.py
-rw-r--r-- 1 aragorn aragorn  171 Apr 30 11:52 tox.ini

$ ./rsf.py
Note: $ is the prompt.

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.
 
Old 05-23-2016, 05:45 PM   #3
cepukid
LQ Newbie
 
Registered: May 2016
Posts: 1

Rep: Reputation: Disabled
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'
 
Old 05-24-2016, 05:23 AM   #4
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Raspbian GNU/Linux upgrade from Wheezy to Raspbian Jessie 8 LXer Syndicated Linux News 1 06-09-2016 12:12 PM
I need help running Nestopia on Raspbian ibz096 Linux - Games 1 06-05-2015 06:28 AM
LXer: Raspberry Pi Basics: installing Raspbian and getting it up and running LXer Syndicated Linux News 0 02-09-2015 01:31 PM
trouble installing driver rt73 on backtrack 3 running on vmware drmuneca Linux - Newbie 2 08-19-2009 06:34 PM
Having a lot of trouble installing linux again after running Windows. Royle Linux - General 2 01-20-2007 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration