Очень странную ошибку бьет
./cmspoc.py -u site.ru --scrypt phpcms
from: too many arguments
from: too many arguments
from: too many arguments
from: too many arguments
from: too many arguments
from: too many arguments
./cmspoc.py: строка 10: синтаксическая ошибка рядом с неожиданным маркером «(»
./cmspoc.py: строка 10: `def cli():'
причем в самом коде ругается на функцию, а сама функция вроде как правильно открыта
def cli():
try:
banner()
target.update(cmdLineParser().__dict__)
start()
except requests.exceptions.InvalidSchema as e:
print("\033[31m[!] Please input the right url.\033[0m\n")
except requests.exceptions.MissingSchema as e:
print("\033[31m[!] Please apply a right schema.e.g:http://www.example.com\033[0m\n")
except requests.exceptions.ConnectionError as e:
print("\033[31m[!] The network is busy.Connetion error!\033[0m\n")
except KeyboardInterrupt as e:
print("\033[31m[!] User aborted!\033[0m\n")
./cmspoc.py -u site.ru --scrypt phpcms
from: too many arguments
from: too many arguments
from: too many arguments
from: too many arguments
from: too many arguments
from: too many arguments
./cmspoc.py: строка 10: синтаксическая ошибка рядом с неожиданным маркером «(»
./cmspoc.py: строка 10: `def cli():'
причем в самом коде ругается на функцию, а сама функция вроде как правильно открыта
def cli():
try:
banner()
target.update(cmdLineParser().__dict__)
start()
except requests.exceptions.InvalidSchema as e:
print("\033[31m[!] Please input the right url.\033[0m\n")
except requests.exceptions.MissingSchema as e:
print("\033[31m[!] Please apply a right schema.e.g:http://www.example.com\033[0m\n")
except requests.exceptions.ConnectionError as e:
print("\033[31m[!] The network is busy.Connetion error!\033[0m\n")
except KeyboardInterrupt as e:
print("\033[31m[!] User aborted!\033[0m\n")
Комментарии
6