PrinceXilo / subterfuge

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

IndexError: list out of range #127

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. installing subterfuge
2. run subterfuge
3.

What is the expected output? What do you see instead?
when i hit start in the browser it starts ti initialise but it stops almoust 
immediatly.

the terminal is saying

Subterfuge 5.0.8
Validating models...

0 errors found
Django version 1.3.1, using settings 'subterfuge.settings'
Development server is running at http://127.0.0.1:80/
Quit the server with CONTROL-C.
[27/Oct/2013 16:10:30] "GET / HTTP/1.1" 200 9594
[27/Oct/2013 16:10:31] "GET /static/css/main.css HTTP/1.1" 200 9091
[27/Oct/2013 16:10:31] "GET /static/css/settings.css HTTP/1.1" 200 197
[27/Oct/2013 16:10:31] "GET /static/css/domtab.css HTTP/1.1" 200 3108
[27/Oct/2013 16:10:31] "GET /static/css/jquery-ui.css HTTP/1.1" 200 32830
[27/Oct/2013 16:10:31] "GET /static/js/jquery.js HTTP/1.1" 200 91358
[27/Oct/2013 16:10:31] "GET /static/js/jquery-ui.js HTTP/1.1" 200 448331
[27/Oct/2013 16:10:31] "GET /static/js/domtab.js HTTP/1.1" 200 9399
[27/Oct/2013 16:10:31] "GET /static/images/logo.png HTTP/1.1" 200 2838377
[27/Oct/2013 16:10:31] "GET /static/images/title.png HTTP/1.1" 200 15636
[27/Oct/2013 16:10:31] "GET /static/images/activity.gif HTTP/1.1" 200 7247
[27/Oct/2013 16:10:31] "GET /static/images/down.png HTTP/1.1" 200 2936
[27/Oct/2013 16:10:31] "GET /static/images/loader.gif HTTP/1.1" 200 10819
[27/Oct/2013 16:10:31] "GET /static/images/subterfugebg.png HTTP/1.1" 200 
3026326
[27/Oct/2013 16:10:31] "GET /static/images/panel.jpg HTTP/1.1" 200 430
[27/Oct/2013 16:10:31] "GET /static/images/TranspFills/transpBlue90.png 
HTTP/1.1" 200 170
[27/Oct/2013 16:10:31] "GET /static/images/notify.png HTTP/1.1" 200 3338
[27/Oct/2013 16:10:31] "GET /static/images/transpBlack75.png HTTP/1.1" 200 166
[27/Oct/2013 16:10:35] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:10:38] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:10:38] "GET /static/images/panelsmall.png HTTP/1.1" 200 342
[27/Oct/2013 16:10:44] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:10:50] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:10:50] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:10:50] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:10:50] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:10:54] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:10:59] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:00] "GET /startpwn/auto/ HTTP/1.1" 500 52345
Starting Pwn Ops...
Running AutoPwn Method...
No default gw on eth0
No default gw on wlan0
Traceback (most recent call last):
  File "/usr/share/subterfuge/attackctrl.py", line 274, in <module>
    attack(sys.argv[1])
  File "/usr/share/subterfuge/attackctrl.py", line 35, in attack
    autoconfig()
  File "/usr/share/subterfuge/attackctrl.py", line 251, in autoconfig
    ipaddress = re.findall(r'\d*.\d*.\d*.\d*', temp)[0]
IndexError: list index out of range
[27/Oct/2013 16:11:02] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:05] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:08] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:11] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:14] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:19] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:19] "GET /startpwn/auto/ HTTP/1.1" 500 52345
Starting Pwn Ops...
Running AutoPwn Method...
No default gw on eth0
No default gw on wlan0
Traceback (most recent call last):
  File "/usr/share/subterfuge/attackctrl.py", line 274, in <module>
    attack(sys.argv[1])
  File "/usr/share/subterfuge/attackctrl.py", line 35, in attack
    autoconfig()
  File "/usr/share/subterfuge/attackctrl.py", line 251, in autoconfig
    ipaddress = re.findall(r'\d*.\d*.\d*.\d*', temp)[0]
IndexError: list index out of range
[27/Oct/2013 16:11:22] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:25] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:28] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:31] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:34] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:37] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:40] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:43] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:46] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:49] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:52] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:55] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:11:58] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:12:01] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:12:04] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:12:07] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:12:10] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:12:13] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:12:16] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:12:19] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:12:22] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:12:25] "GET / HTTP/1.1" 200 438
[27/Oct/2013 16:12:28] "GET / HTTP/1.1" 200 438
No default gw on eth0
No default gw on wlan0

What version of the product are you using? On what operating system?
Subterfuge 5.0.8 on KALI Linux

Please provide any additional information below.

regards

Original issue reported on code.google.com by ziegenpe...@freenet.de on 27 Oct 2013 at 10:02

GoogleCodeExporter commented 8 years ago
This error is caused when the machine running Subterfuge does not have an IP 
address. For subterfuge to work, it must be properly connected to the LAN with 
a proper IP address and default gateway.

Original comment by topher.s...@gmail.com on 15 Dec 2013 at 5:34