epinna / tplmap

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

Traceback (most recent call last): File "tplmap.py", line 2, in <module> #97

Closed 0xPugal closed 2 years ago

0xPugal commented 2 years ago
littleboy_pugazh@cloudshell:~/tplmap$ python3 tplmap.py
Traceback (most recent call last):
  File "tplmap.py", line 2, in <module>
    from utils import cliparser
  File "/home/littleboy_pugazh/tplmap/utils/cliparser.py", line 163, in <module>
    parser.formatter.format_option_strings = type(parser.formatter.format_option_strings)(_, parser, type(parser))
TypeError: method expected 2 arguments, got 3
0xPugal commented 2 years ago

littleboy_pugazh@cloudshell:~/tplmap$ python3 tplmap.py -h Traceback (most recent call last): File "tplmap.py", line 2, in from utils import cliparser File "/home/littleboy_pugazh/tplmap/utils/cliparser.py", line 163, in parser.formatter.format_option_strings = type(parser.formatter.format_optionstrings)(, parser, type(parser)) TypeError: method expected 2 arguments, got 3

0xPugal commented 2 years ago

Anyone Please give solution for this..

Aviksaikat commented 2 years ago

try running with python2 you'll need pip2 in order to download the requirements. You can check out my repo here https://gitlab.com/Aviksaikat/python-pip2-installation-debian

0xPugal commented 2 years ago

Yeah. It's now working ✌️ After Executing

sudo apt install python-2.7
pip2 install -r requirements.txt