mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
changes regarding Data (GET/POST/Cookie) encoding (Bug #129)
This commit is contained in:
parent
1d968f51e9
commit
26c7b74e65
8 changed files with 20 additions and 14 deletions
|
|
@ -31,7 +31,6 @@ import urlparse
|
|||
import traceback
|
||||
|
||||
from lib.contrib import multipartpost
|
||||
from lib.core.common import sanitizeCookie
|
||||
from lib.core.convert import urlencode
|
||||
from lib.core.data import conf
|
||||
from lib.core.data import kb
|
||||
|
|
@ -121,7 +120,7 @@ class Connect:
|
|||
|
||||
try:
|
||||
# Perform HTTP request
|
||||
headers = forgeHeaders(sanitizeCookie(cookie), ua)
|
||||
headers = forgeHeaders(cookie, ua)
|
||||
req = urllib2.Request(url, post, headers)
|
||||
conn = urllib2.urlopen(req)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue