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

doesn't support python3.10.9 #114

Open cocowool opened 1 year ago

cocowool commented 1 year ago

` python3 tplmap.py -u "http://61.147.171.105:55831/info\?file\=a.txt" Tplmap 0.5 Automatic Server-Side Template Injection Detection and Exploitation Tool

Testing if GET parameter 'file\' is injectable Exiting: module 'collections' has no attribute 'Mapping'`

cehuda1 commented 1 year ago

im too

wdearzh commented 1 year ago

edit core/plugin.py and change "collections.Mapping" to "collections.abc.Mapping"

roniez commented 12 months ago

edit core/plugin.py and change "collections.Mapping" to "collections.abc.Mapping"

This also works in 3.11

0x25 commented 10 months ago

work to the next error

Exiting: 'bool' object has no attribute 'replace'

r-erd commented 10 months ago

It might be a good idea to merge this issue with https://github.com/epinna/tplmap/issues/104 if there are no other compatibility issues related to the python version.