notblade02 / subterfuge

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

MultiValueDictKeyError #156

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

1 - I have Kali Linux 1.0.6 

#####################################################################

2 - My sources list file

/etc/apt/sources.list

## Security updates
deb http://http.kali.org/kali kali main non-free contrib 
deb http://security.kali.org/kali-security kali/updates main contrib non-free 

## Source repositories
deb-src http://http.kali.org/kali kali main non-free contrib 
deb-src http://security.kali.org/kali-security kali/updates main contrib 
non-free 

#######################################################################

3 - In subterfuge:

Modules ---> HTTP Code Injection
inject-ext-server
IFrame Injection
Apply

######################################################################

4 - I have this errors:

Environment:

Request Method: POST
Request URL: http://127.0.0.1/config/httpinjection/

Django Version: 1.4.5
Python Version: 2.7.3
Installed Applications:
('django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'subterfuge.main',
 'subterfuge.cease',
 'subterfuge.modules')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware')

Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in 
get_response
  111.                         response = callback(request, *callback_args, **callback_kwargs)
File "/usr/share/subterfuge/main/views.py" in conf
  396.       httpcodeinjection(request, conf)
File "/usr/share/subterfuge/modules/views.py" in httpcodeinjection
  151.    if request.POST["startmsf"]:
File "/usr/lib/python2.7/dist-packages/django/utils/datastructures.py" in 
__getitem__
  258.             raise MultiValueDictKeyError("Key %r not found in %r" % (key, self))

Exception Type: MultiValueDictKeyError at /config/httpinjection/
Exception Value: "Key 'startmsf' not found in <QueryDict: {u'status': [u'no', 
u'yes'], u'custominject': [u''], u'injectip': [u''], u'iexploit': 
[u'inject-ext-server'], u'start-msf': [u'no'], u'injectport': [u''], 
u'payload': [u'frameinjection']}>"

######################################################################

5 - I put this error in the link below.

http://dpaste.com/1798577/

Best regards

I'm sorry my english

Original issue reported on code.google.com by power.br...@gmail.com on 26 Apr 2014 at 1:37