Skip to content
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

problem in --dir -w #68

Open
SanskarKashyap opened this issue Jul 15, 2024 · 2 comments
Open

problem in --dir -w #68

SanskarKashyap opened this issue Jul 15, 2024 · 2 comments

Comments

@SanskarKashyap
Copy link

it thrown exception in

finalrecon --dir --url http://saturn.picoctf.net:65203/ -w /usr/share/finalrecon/wordlists/dirb_small.txt

finalrecon --dir --url http://saturn.picoctf.net:65203/ -w /usr/share/finalrecon/wordlists/dirb_big.txt

 ______  __   __   __   ______   __                                                                                                                                                          
/\  ___\/\ \ /\ "-.\ \ /\  __ \ /\ \                                                                                                                                                         
\ \  __\\ \ \\ \ \-.  \\ \  __ \\ \ \____                                                                                                                                                    
 \ \_\   \ \_\\ \_\\"\_\\ \_\ \_\\ \_____\                                                                                                                                                   
  \/_/    \/_/ \/_/ \/_/ \/_/\/_/ \/_____/                                                                                                                                                   
 ______   ______   ______   ______   __   __                                                                                                                                                 
/\  == \ /\  ___\ /\  ___\ /\  __ \ /\ "-.\ \                                                                                                                                                
\ \  __< \ \  __\ \ \ \____\ \ \/\ \\ \ \-.  \                                                                                                                                               
 \ \_\ \_\\ \_____\\ \_____\\ \_____\\ \_\\"\_\                                                                                                                                              
  \/_/ /_/ \/_____/ \/_____/ \/_____/ \/_/ \/_/                                                                                                                                              

[>] Created By   : thewhiteh4t
 |---> Twitter   : https://twitter.com/thewhiteh4t
 |---> Community : https://twc1rcle.com/
[>] Version      : 1.1.7

[+] Target : http://saturn.picoctf.net:65203

[+] IP Address : 13.59.203.175

[!] Starting Directory Enum...

[+] Threads          : 50
[+] Timeout          : 30
[+] Wordlist         : /usr/share/finalrecon/wordlists/dirb_big.txt
[+] Allow Redirects  : False
[+] SSL Verification : False
Traceback (most recent call last):
  File "/usr/bin/finalrecon", line 310, in <module>
    hammer(target, threads, tout, wdlist, redir, sslv, out_settings, data, filext)
  File "/usr/share/finalrecon/modules/dirrec.py", line 141, in hammer
    num_words = sum(1 for i in wordlist)
                ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/finalrecon/modules/dirrec.py", line 141, in <genexpr>
    num_words = sum(1 for i in wordlist)
                   ^^^^^^^^^^^^^^^^^^^^^
  File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf3 in position 4382: invalid continuation byte

@SanskarKashyap
Copy link
Author

exception is thrown in this wordlist only dirb_big.txt

@thewhiteh4t
Copy link
Owner

@SanskarKashyap thanks, it looks like the wordlists are not clean, I will add exception handling for this issue, in the meantime you can use big.txt from seclists

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

No branches or pull requests

2 participants