lanjelot/patator

'NoneType' object has no attribute 'group'

morzan1001 opened this issue · 0 comments

Hello everyone, I have a problem using patator. I have used the following command and then get the error:

<class 'AttributeError'> 'NoneType' object has no attribute 'group'

Unfortunately I could not find out where exactly in the code the problem could be, maybe someone can help me. Thank you very much!

INPUT:

patator http_fuzz proxy='http://127.0.0.1:8080' url='<URL>' method=POST body='username=admin&password=FILE0&from_page=%2F&csrf_token=_CSRF_' 0='/usr/share/wordlists/rockyou.txt' before_urls='<URL>' before_egrep='_CSRF_:name="_csrf" value="(\w+)" />' -x 'quit:fgrep!=form id="login"' -x 'retry:fgrep="Internal server error"' --max-retries=5 --threads=7 resolve='<DOMAIN>:<IP>'

OUTPUT:

/usr/bin/patator:2658: DeprecationWarning: 'telnetlib' is deprecated and slated for removal in Python 3.13
  from telnetlib import Telnet
12:51:57 patator    INFO - Starting Patator 1.0 (https://github.com/lanjelot/patator) with python-3.11.6 at 2023-11-16 12:51 CET
12:53:14 patator    INFO -                                                                              
12:53:14 patator    INFO - code size:clen       time | candidate                          |   num | mesg
12:53:14 patator    INFO - -----------------------------------------------------------------------------
12:53:18 patator    FAIL - xxx  67:-1          4.019 | '\x0b\x0c????l}2'                  |     1 | <class 'AttributeError'> 'NoneType' object has no attribute 'group'
12:53:19 patator    INFO - Hits/Done/Skip/Fail/Size: 0/1/0/1/4229530944, Avg: 0 r/s, Time: 0h 0m 5s
12:53:19 patator    INFO - To resume execution, pass --resume 1,0,0,0,0,0,0