Permission denied error using WPSCAN

Started by emilym, March 26, 2014, 04:15:49 PM

Previous topic - Next topic

emilym

Hello. I'm totally new to Linux and backbox is my first foray into the Linux stuff, so please understand if I ask stupid question.

I have machine running windows 7.
I installed virtual box.
I download backbox-3.13-i386.iso.
I set up virtual machine using backbox-3.13-i386.iso on my c:\ drive

Backbox seems to boot up normal and I'm learning my way around. Very nice. However, when I try to use wpscan, I receive the following error:

command:
backbox@backbox:/opt/backbox/wpscan$ ruby wpscan.rb --url www.[mydomain].com/thisfolder/

error:
wpscan.rb:9:in 'delete' : Permission denied - /opt/backbox/wpscan/log.txt (Errno::EACCES)
from wpscan.rb:9:in 'main'
from wpscan.rb:378:in '<main>'


Any ideas what could be causing this and how to fix? Is it because I am running in virtual box and using ISO with the [live cd/dvd] box setting checked in VirutalBox settings? I cannot figure out how to fix. Thank you for your time.

raffaele

raffaele@backbox:~$ wpscan
[!] Please run this script as root
raffaele@backbox:~$ Get root or die tryin'

emilym

#2
Thank you sir for your response. How do I run this in root?

I click [file system] icon.
I click [opt] folder.
I click [backbox] folder.
I right-click [wpscan] folder and click properties.
I click [permissions] tab.

Owner: root (root)
the other options are greyed out. Is this because I am running off of ISO file in VirtualBox?

ZEROF

Hi emilym,

That is what we call basic Linux knowledge. You are new Linux user and you need to learn basic stuff. To get root in terminal:

sudo -i

Then just type your password. Or run wpscan from BackBox menu and type your password. You don't need to go to tool folder and run tool, that is old BackTrack system not BackBox. Commands are simple. To run tools you have BackBox menu and simple terminal commands.

Before using tools learn how to use sytem if not you will not learn nothing and in few days you will stop using your Linux system.

Good luck.

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

emilym

Ok thank you again zerof. You have been kind and I appreciate your canter. Your instructions worked like a charm.

Can you perhaps point me to the right learning place for the basics? I google the info and so many links and tutorials pop-up it is difficult to know where to start. I am wanting to learn and also purchase a new laptop that can be dedicate to Linux. Thanks!

weVeg

#5
Hi emilyn,
Remember that Google is your friend, so you can find everything about linux, also remember that bbox is a xubuntu based distro and thus debian based. You can start from here:
http://tinyurl.com/ky5w4
http://tinyurl.com/pvpap
http://tinyurl.com/ne89lv2
http://tinyurl.com/tvhk
and this is google search http://tinyurl.com/pb45y2c

I have to point you on our forum disclaimer, bbox it's not intended to be used by new users so you have to know at least the basic administration stuff. Sorry I don't want to be misunderstood but before using bbox you should learn a lot and bbox was build to perform security task so you could start learn with other distro (I suggest you debian, or if you are brave try gentoo). When you feel ready, can back and ask support on the forum!!
See you Emilyn, read the disclaimer!!!
Bye
una voce libera รจ sempre liberatrice
under_r00t