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

Scan Aborted: --passwords 'rockyou.txt' is not a file #1288

Closed
getstitched opened this issue Feb 3, 2019 · 6 comments
Closed

Scan Aborted: --passwords 'rockyou.txt' is not a file #1288

getstitched opened this issue Feb 3, 2019 · 6 comments

Comments

@getstitched
Copy link

Ok so over the past several days I have tried everything I could to not post here. Ive searched read everything found and tried everything suggested to others to solve this issue.

I have an installation of Kali Linux on a windows 10. That said I am sure I am missing something here as I have my rockyou.txt file on my desktop.

When I run: wpscan --url someurlhere.com --passwords C:\Users\stitch\Desktop\rockyou.txt --username someusernamehere

It always comes back as: Scan Aborted: --passwords 'C:UsersStitch' is not a file

i've tried many different variations of the files path and it always comes back as "is not a file". I have seen many threads and comments suggesting to "mount" the .txt file to docker but I have not been able to find information on how to do so.

I have also already seen this thread and am just not sure how to run it properly I suppose. Id greatly appreciate the help guys.

@erwanlr
Copy link
Member

erwanlr commented Feb 3, 2019

How is Kali installed on your W10 ? If in a VM, then https://www.cyberpratibha.com/blog/how-do-i-use-rockyou-wordlist-txt-in-kali-linux/

@firefart
Copy link
Contributor

firefart commented Feb 3, 2019

You use a windows path on a linux vm. if you use the linux for windows subsystem expect things to fail in kali, as there are a lot limitations. Also try to double encode the backslashes with \\

@getstitched
Copy link
Author

@firefart tried, same thing. Whats the work around? Just to have a dedicated linux OS rather then the installation on windows? Id imagine there's gotta be a way to make it work as the Enumerate function works as it should.

@firefart
Copy link
Contributor

firefart commented Feb 3, 2019

@getstitched sorry but if you type in your problem into google the first hit is already the solution to your problem. C: is mounted under /mnt/c and can be accessed there. Please use google before opening issues

@firefart firefart closed this as completed Feb 3, 2019
@bilaliyah
Copy link

root@darkbil:/home/darkbil/Desktop# wpscan --url https://dhaanish.com/ -e u -U dait -P /home/darkbil/Desktop/wordlist.txt

Scan Aborted: --passwords '/home/darkbil/Desktop/wordlist.txt' is not a file

@firefart
Copy link
Contributor

as the error message says: '/home/darkbil/Desktop/wordlist.txt' is not a file

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

4 participants