Repository navigation
Fixing python 3 incompatibilities - #101
Conversation
|
while installing requirements.txt using python3, its showing this error |
Not sure, but python 3 issue might be the place to post this. To answer you, I only fixed the incompatibilities in TPLMAP python basecode to make it able to run under python 3, but I didn't automated the install process. For now you have to manually install whatever package is missing when running it in python 3 The good method would probably be creating a requirements3.txt including python 3 needed package. Feel free to do it because in theory it must be really simple : run tplmap without requirements, see what is missing, and create a requirement3.txt with those missing packets (not sure I'm not very knowledgeable in either python or pip, so I may be mistaken about what should be done) |
I patched incompatibilities by using conditionnal imports and fixing syntax incompatibilities (like parenthesis for print)
I manage to execute all tests series except node one because the docker container build failed (just like on your own branch if I'm not mistaken).
After my changes, I managed to exploit a machine both using python2.7.18 and 3.9.10 using -os-shell.
Thx in advance for feedback.