-
Notifications
You must be signed in to change notification settings - Fork 783
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #277 from 13ph03nix/dev
Bug fixes & improvements
- Loading branch information
Showing
6 changed files
with
88 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
__title__ = 'pocsuite3' | ||
__version__ = '1.9.0' | ||
__version__ = '1.9.1' | ||
__author__ = 'Knownsec 404 Team' | ||
__author_email__ = '[email protected]' | ||
__license__ = 'GPLv2' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,21 @@ | ||
import requests | ||
|
||
from pocsuite3.lib.request.patch.remove_ssl_verify import remove_ssl_verify | ||
from pocsuite3.lib.request.patch.remove_warnings import disable_warnings | ||
from pocsuite3.lib.request.patch.add_httpraw import patch_addraw | ||
from pocsuite3.lib.request.patch.hook_request_redirect import patch_redirect | ||
from pocsuite3.lib.request.patch.hook_urllib3_parse_url import patch_urllib3_parse_url | ||
from pocsuite3.lib.request.patch.unquote_request_uri import unquote_request_uri | ||
|
||
|
||
def patch_requests(): | ||
# fix https://github.com/urllib3/urllib3/issues/1790 | ||
patch_urllib3_parse_url() | ||
unquote_request_uri() | ||
disable_warnings() | ||
remove_ssl_verify() | ||
patch_addraw() | ||
patch_redirect() | ||
|
||
|
||
patch_requests() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters