tplmap icon indicating copy to clipboard operation
tplmap copied to clipboard

doesn't support python3.10.9

Open cocowool opened this issue 2 years ago • 5 comments

` 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'`

cocowool avatar Jan 08 '23 14:01 cocowool

im too

cehuda1 avatar Mar 13 '23 08:03 cehuda1

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

wdearzh avatar May 08 '23 10:05 wdearzh

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

This also works in 3.11

roniez avatar Oct 11 '23 04:10 roniez

work to the next error

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

0x25 avatar Nov 24 '23 08:11 0x25

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.

r-erd avatar Nov 28 '23 18:11 r-erd