You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ wfuzz -z list,one-two-three --prefilter "FUZZ|upper()" --filter "FUZZ|upper()" --field "FUZZ|upper()" --slice "FUZZ|upper()" http://localhost:8000/FUZZ
********************************************************
* Wfuzz 2.4 - The Web Fuzzer *
********************************************************
Target: http://localhost:8000/FUZZ
Total requests: <<unknown>>
===================================================================
ID Response Lines Word Chars Payload
===================================================================
000000001: 404 9 L 25 W 195 Ch "ONE"
000000002: 404 9 L 25 W 195 Ch "TWO"
000000003: 404 9 L 25 W 195 Ch "THREE"
Total time: 0.105126
Processed Requests: 3
Filtered Requests: 0
Requests/sec.: 28.53695
Output of server
$ python -m SimpleHTTPServer 8000
Serving HTTP on 0.0.0.0 port 8000 ...
127.0.0.1 - - [29/May/2019 22:09:24] code 404, message File not found
127.0.0.1 - - [29/May/2019 22:09:24] "GET /one HTTP/1.1" 404 -
127.0.0.1 - - [29/May/2019 22:09:24] code 404, message File not found
127.0.0.1 - - [29/May/2019 22:09:24] "GET /two HTTP/1.1" 404 -
127.0.0.1 - - [29/May/2019 22:09:24] code 404, message File not found
127.0.0.1 - - [29/May/2019 22:09:24] "GET /three HTTP/1.1" 404 -
Comments
Just in case I updated pyparsing from 2.2 to 2.4 (it was 2.2 due to incompatibility with mitmproxy, but just to ensure it was not a version problem I have updated it)
The text was updated successfully, but these errors were encountered:
The idea of the slice command was to filter out a payload not to modify its values.
Also, an operator only returns a value, it does not assign or replace its input value.
The idea for operators is to use something like "r.url:=r.url|upper()." or use them directly where they return a value, for example, -H "header: FUZZ[|upper()] however this is not implemented yet.
I understand that the above might be counter-intuitive. Furthermore, it is easy to make --slice modify the source payload and more understandable.
Context
Using wfuzz version 2.4 and python 3.6.7
OS: Ubuntu 18.04
Report
I tried with all available modifiers (slice, filter, prefilter and even field) trying to uppercase a value.
While --field does modify the value in the output, no one is able to modify it before the request is made.
What is the current behavior?
FUZZ values are not properly modified.
What is the expected or desired behavior?
I would expect --prefilter or --slice to modify the value before the request is made.
Please provide steps to reproduce, including exact wfuzz command executed and output:
Run a local server and execute following command.
Output of WFUZZ
Output of server
Comments
Just in case I updated pyparsing from 2.2 to 2.4 (it was 2.2 due to incompatibility with mitmproxy, but just to ensure it was not a version problem I have updated it)
The text was updated successfully, but these errors were encountered: