<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>45850</bug_id>
          
          <creation_ts>2023-04-13 12:08:01 +0300</creation_ts>
          <short_desc>wxfuzz: wfuzz.get_payloads([range(5), [&quot;a&quot;,&quot;b&quot;]]) завершается ошибкой</short_desc>
          <delta_ts>2023-04-13 12:21:50 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>python3-module-wfuzz</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Дорошенко Глеб">doroshenkogv</reporter>
          <assigned_to name="Anton Zhukharev">ancieg</assigned_to>
          <cc>ancieg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>224434</commentid>
    <comment_count>0</comment_count>
    <who name="Дорошенко Глеб">doroshenkogv</who>
    <bug_when>2023-04-13 12:08:01 +0300</bug_when>
    <thetext>Версия
======

- python3-module-wfuzz-3.1.0-alt3

Дистрибутивы
============

- p10-kworkstation-10.1-x86-64, обновленный до Sisyphus

Работа команды с вики https://wfuzz.readthedocs.io/en/latest/library/guide.html завершается ошибкой:
&lt;pre&gt;
s = wfuzz.get_payloads([range(5), [&quot;a&quot;,&quot;b&quot;]])
for r in s.fuzz(url=&quot;http://testphp.vulnweb.com/FUZZ&quot;):
    print(r)


Traceback (most recent call last):
  File &quot;/root/./neurotest.py&quot;, line 18, in &lt;module&gt;
    for r in s.fuzz(url=&quot;http://testphp.vulnweb.com/FUZZ&quot;):
  File &quot;/usr/lib/python3/site-packages/wfuzz/options.py&quot;, line 245, in fuzz
    fz = Fuzzer(self.compile())
  File &quot;/usr/lib/python3/site-packages/wfuzz/options.py&quot;, line 361, in compile
    raise FuzzExceptBadOptions(
wfuzz.exception.FuzzExceptBadOptions: FUZZ words and number of payloads do not match!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>224435</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Zhukharev">ancieg</who>
    <bug_when>2023-04-13 12:21:50 +0300</bug_when>
    <thetext>Это вы ошиблись.

Вот часть справки:
```
FUZZ, ..., FUZnZ  wherever you put these keywords wfuzz will replace them with the values of the specified payload.
FUZZ{baseline_value} FUZZ will be replaced by baseline_value. It will be the first request performed and could be used as a base for filtering.
```

А ещё такого на вики нет.
А есть вот что:
```
s = wfuzz.get_payloads([range(5), [&quot;a&quot;,&quot;b&quot;]])
for r in s.fuzz(url=&quot;http://testphp.vulnweb.com/FUZZ/FUZ2Z&quot;):
    print(r)
```
(обратите внимание на слово FUZ2Z - то, что вы ошибочно не указали)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>