natedizzl / subterfuge

Automatically exported from code.google.com/p/subterfuge
GNU General Public License v3.0
0 stars 0 forks source link

Running Subterfuge - Linux on Virtual Machine #124

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Subterfuge in a Linux setup run using VMWare Player
2. Install, Run, Open Subterfuge dashboard in the browser
3. Click on Start

What is the expected output? What do you see instead?
Subterfuge is supposed to start and should be able to work as expected. But, 
the tool does not start. The below console log is seen on the terminal:

Starting Pwn Ops...
Running AutoPwn Method...
No default gw on eth0
Traceback (most recent call last):
  File "/usr/share/subterfuge/attackctrl.py", line 268, in <module>
    attack(sys.argv[1])
  File "/usr/share/subterfuge/attackctrl.py", line 35, in attack
    autoconfig()
  File "/usr/share/subterfuge/attackctrl.py", line 245, in autoconfig
    ipaddress = re.findall(r'\d*.\d*.\d*.\d*', temp)[0]
IndexError: list index out of range

What version of the product are you using? On what operating system?
Software Version: Subterfuge Beta 5.0 Public Release, 
OS: Fedora 17
Using VMWare Player to load the OS

Please provide any additional information below.
VMWare Player 

Original issue reported on code.google.com by naveenwa...@gmail.com on 22 Sep 2013 at 2:15

GoogleCodeExporter commented 9 years ago
We aren't currently supporting Subterfuge on RedHat style distributions of 
Linux. It looks like the method Subterfuge queries the OS to determine your IP 
address, and that of the gateway isn't working. Make sure that you do in fact 
have an IP address set (ifconfig). Otherwise you may want to take a look at 
this file: /usr/share/subterfuge/attackctrl.py to fix your issues.

Please let us know if and how you resolved the issue so that we can determine 
if it's possible to patch the problem.

Original comment by Mtoussain@gmail.com on 20 Oct 2013 at 5:21