mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-28 00:50:06 +03:00
remove info
This commit is contained in:
parent
13aacc1ed4
commit
f5bf8bffec
|
@ -1,14 +1,19 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
# @Time : 2019/3/16 2:48 PM
|
"""
|
||||||
# @Author : w8ay
|
Copyright (c) 2006-2019 sqlmap developers (http://sqlmap.org/)
|
||||||
# @File : httphandler.py
|
See the file 'LICENSE' for copying permission
|
||||||
|
"""
|
||||||
|
|
||||||
import urllib2
|
import urllib2
|
||||||
import httplib
|
import httplib
|
||||||
from lib.core.data import conf
|
from lib.core.data import conf
|
||||||
|
|
||||||
|
|
||||||
class HTTPHandler(urllib2.HTTPHandler):
|
class HTTPHandler(urllib2.HTTPHandler):
|
||||||
|
"""
|
||||||
|
The hook http_requests function ensures that the chunk function is working properly.
|
||||||
|
"""
|
||||||
|
|
||||||
def _hook(self, request):
|
def _hook(self, request):
|
||||||
host = request.get_host()
|
host = request.get_host()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user