epinna / tplmap

Server-Side Template Injection and Code Injection Detection and Exploitation Tool
GNU General Public License v3.0
3.75k stars 670 forks source link

Updated dependencies fixes #57

Closed reversebrain closed 5 years ago

reversebrain commented 5 years ago

Running tplmap with updated dependencies I encountered this problem:

[+] Tplmap 0.5
    Automatic Server-Side Template Injection Detection and Exploitation Tool

[!][tplmap] Exiting: 'module' object has no attribute 'disable_warnings'

To fix this I just imported urllib3 and called urllib3.disable_warnings() instead of requests.packages.urllib3.disable_warnings()

epinna commented 5 years ago

Thanks.