mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Almost done with web backdoor functionality
This commit is contained in:
parent
16b4530bbe
commit
1d7de719b9
4 changed files with 69 additions and 76 deletions
|
|
@ -24,6 +24,7 @@ Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
|
||||
|
||||
import os
|
||||
import re
|
||||
|
||||
from lib.core.data import conf
|
||||
|
|
@ -79,4 +80,4 @@ def parseResponse(page, headers):
|
|||
|
||||
for absFilePath in absFilePaths:
|
||||
if absFilePath not in kb.absFilePaths:
|
||||
kb.absFilePaths.add(absFilePath)
|
||||
kb.absFilePaths.add(os.path.dirname(absFilePath))
|
||||
|
|
|
|||
|
|
@ -160,9 +160,9 @@ class Connect:
|
|||
logger.log(9, requestMsg)
|
||||
|
||||
# Get HTTP response
|
||||
page = conn.read()
|
||||
code = conn.code
|
||||
status = conn.msg
|
||||
page = conn.read()
|
||||
code = conn.code
|
||||
status = conn.msg
|
||||
responseHeaders = conn.info()
|
||||
|
||||
except urllib2.HTTPError, e:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue