这是indexloc提供的服务,不要输入任何密码
Skip to content

Add -e flag for Extensions. #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Add -e flag for Extensions. #23

wants to merge 1 commit into from

Conversation

lc
Copy link
Contributor

@lc lc commented Apr 6, 2019

This adds an -e flag for extensions. This currently replaces %EXT% in a given wordlist, but we should soon add the option to append an extension to each line in the wordlist.

Example usage:

root@dev:~# ffuf -u http://example.com/FUZZ -e asp,html,jpg -w wordlist.txt

        /'___\  /'___\           /'___\
       /\ \__/ /\ \__/  __  __  /\ \__/
       \ \ ,__\\ \ ,__\/\ \/\ \ \ \ ,__\
        \ \ \_/ \ \ \_/\ \ \_\ \ \ \ \_/
         \ \_\   \ \_\  \ \____/  \ \_\
          \/_/    \/_/   \/___/    \/_/

       v0.9git
________________________________________________

 :: Method       : GET
 :: URL          : http://example.com/FUZZ
 :: Matcher      : Response status: 200,204,301,302,307,401,403
________________________________________________

:: Progress: [3/3] :: 0 req/sec :: Duration: [0:00:00] :: Errors: 0 ::

@joohoi
Copy link
Member

joohoi commented Apr 6, 2019

Ah, now I finally understood about what you meant! I'll have to think about this a bit.

@codingo
Copy link

codingo commented Apr 8, 2019

I pulled this and had a play with it. Works as intended, and personally find it to be quite a useful feature. Would be good to see it land.

@joohoi
Copy link
Member

joohoi commented Apr 8, 2019

I described the current plan here: #19 (comment)

TL;DR: Use this patch but hide the functionality behind a CLI flag for enabling DirSearch wordlist compatibility. Then add a ffuf-idiomatic extension appender functionality (all of the wordlist entries get -e extensions appended to them if defined by keyword).

@joohoi
Copy link
Member

joohoi commented Apr 10, 2019

Closing this in favor of #25

@joohoi joohoi closed this Apr 10, 2019
joohoi added a commit that referenced this pull request May 19, 2022
joohoi added a commit that referenced this pull request Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants