Wpscan: scan aborted: invalid option: --wordlist

Created on 27 Nov 2018  Â·  11Comments  Â·  Source: wpscanteam/wpscan

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!

Most helpful comment

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

All 11 comments

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.

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 ???

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

@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.

File not readable by wpscan then?

On Jan 14, 2019 17:43, "Eric" notifications@github.com wrote:

@erwanlr https://github.com/erwanlr how so?

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

—
You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
https://github.com/wpscanteam/wpscan/issues/1256#issuecomment-454095230,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABl266WB8eT1mG7jBl7_OCw9TMC9vTMyks5vDMHYgaJpZM4Y1saj
.

@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

@FireFart thank you! that made the job.

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

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

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

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?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dingo-d picture dingo-d  Â·  4Comments

digininja picture digininja  Â·  10Comments

brammittendorff picture brammittendorff  Â·  8Comments

tyaakow picture tyaakow  Â·  3Comments

cryptodoom picture cryptodoom  Â·  10Comments