scodescanner
scodescanner copied to clipboard
ValueError: Invalid format string
logger.info("Starting the scanner - " + str(time.strftime("%Y-%m-%d-%hh-%MM-%ss")) +'\n')
ValueError: Invalid format string
scscanner.py line:39
I changed it to logger.info("Starting the scanner - " + str(time.strftime("%Y-%m-%d")) +'\n')
But I'm not sure if it's accurate,Because there is no error in the operation, but there is no result
There seems to be some new mistakes
Could you be able to run the tool on a basic folder? - For ex - Try this repo. https://github.com/oktadev/sql-injection-in-php
Also please give -o test.txt filename
Also please check if you are using Python3 - Working in Python 3.9.10
您能否在基本文件夹上运行该工具?- 对于前 - 试试这个 repo。https://github.com/oktadev/sql-injection-in-php
也请给出 -o test.txt 文件名
另请检查您是否使用 Python3 - 使用 Python 3.9.10
You mean, execute the following command
python scscanner.py php sql-injection-in-php -o test.txt
No, try this -
python3 scscanner.py php --folder sql-injection-in-php -o test.txt
Maybe it's the compatibility between Windows and Linux. When I use ubuntu, it succeeds.
In addition to adding "import sys" to the helper.py file,
Thank you for your explanation
Yes, I guess the problem resides in %hh, Windows supports %tt. Not sure, but I will check this issue and update the code accordingly.
And thanks, I have added the import. :)