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: invalid option: --wordlist #1256

Closed
LynxGeekNYC opened this issue Nov 27, 2018 · 12 comments
Closed

scan aborted: invalid option: --wordlist #1256

LynxGeekNYC opened this issue Nov 27, 2018 · 12 comments

Comments

@LynxGeekNYC
Copy link

LynxGeekNYC commented Nov 27, 2018

Hello,

Running WPSCAN Version 3.3.1 and the --wordlist option is not included. I ran the Help and it's not even listed on it. Any advice? I updated the DB and still same issue.

If it's for some reason not on the new version but an older version, what's the latest version is it on and how can I downgrade?

Thanks!

@erwanlr
Copy link
Member

erwanlr commented Nov 27, 2018

The --wordlist was in the v2, use the --passwords option in the v3:

-P, --passwords FILE-PATH                     List of passwords to use during the password attack.
                                              If no --username/s option supplied, user enumeration will be run.

@erwanlr erwanlr closed this as completed Nov 27, 2018
@eBug
Copy link

eBug commented Jan 14, 2019

Hi. --passwords doesn't work here:
wpscan --url https://www.g¨¨¨¨¨¨¨¨¨.org/ --passwords /home/eric/it/cewl.txt --password-attack xmlrpc
Scan Aborted: --passwords '/home/eric/it/cewl.txt' is not a file

What does it mean 'cewl.txt' is not a file ???

@erwanlr
Copy link
Member

erwanlr commented Jan 14, 2019

@eBug Seems like the path to the file does not exist

@eBug
Copy link

eBug commented Jan 14, 2019

@erwanlr how so?

eric@localhost:~$ file /home/eric/it/cewl.txt 
/home/eric/it/cewl.txt: UTF-8 Unicode text
eric@localhost:~$ 

I'm running wpscan within a container, might that explain the exec doesn't find the path? How am I supposed to pass an 'external' path to the container? Sorry if this goes off-topic.

@erwanlr
Copy link
Member

erwanlr commented Jan 14, 2019 via email

@firefart
Copy link
Contributor

@eBug you need to pass in the file using a volume and pass the container internal path as a wordlist.

docker run --rm -it -v /home/eric/it/:/wordlists wpscanteam:wpscan ..... --passwords /wordlists/cewl.txt

@eBug
Copy link

eBug commented Jan 14, 2019

@firefart thank you! that made the job.

@solodzo
Copy link

solodzo commented Sep 27, 2019

--wordlist => --passwords
--username => --usernames

@gianpaj
Copy link

gianpaj commented Apr 4, 2020

Thanks. This works:

docker run -it --rm -v /Users/__macuser__/:/__containerdirectory__ wpscanteam/wpscan --url http://example..com/ --passwords /__containerdirectory__/passwords.txt

For example
docker run -it --rm -v /Users/john/:/wordlists wpscanteam/wpscan --url http://example.com/ --passwords /wordlists/passwords.txt

@Soundofsnow
Copy link

This worked for me:

docker run -it -v --rm $(pwd)/rockyou.txt:/wpscan/rockyou.txt wpscanteam/wpscan --url http://192.168.1.105/wordpress --enumerate u --passwords rockyou.txt

@rizkyn5t
Copy link

The --wordlist was in the v2, use the --passwords option in the v3:

-P, --passwords FILE-PATH                     List of passwords to use during the password attack.
                                              If no --username/s option supplied, user enumeration will be run.

you know why this happened, how to fix it

The --wordlist was in the v2, use the --passwords option in the v3:

-P, --passwords FILE-PATH                     List of passwords to use during the password attack.
                                              If no --username/s option supplied, user enumeration will be run.

you know why this happen?

[+] Performing password attack on Wp Login against 1 user/s
Trying /kpukab / michelle Time: 00:00:02 <> (22 / 14344394) 0.00% ETA: ??:??:?Trying /kpukab / sunshine Time: 00:00:02 <> (26 / 14344394) 0.00% ETA: ??:??:?Error: Unknown response received Code: 302
Trying /kpukab / sunshine Time: 00:00:02 <> (27 / 14344394) 0.00% ETA: ??:??:?Error: Unknown response received Code: 302
Trying /kpukab / chocolate Time: 00:00:02 <> (28 /

how to fix it?

@hjgode
Copy link

hjgode commented Mar 24, 2021

For me, this worked:

docker run --rm -it -v /home/user/wordlists/:/wordlists wpscanteam/wpscan --url https://someweb.de/ --enumerate u --password-attack xmlrpc --passwords /wordlists/rockyou.txt

replace _user_with your user name

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

9 participants