n00py / WPForce

Wordpress Attack Suite
https://www.n00py.io/2017/03/squeezing-the-juice-out-of-a-compromised-wordpress-server/
BSD 2-Clause "Simplified" License
924 stars 220 forks source link

Add an option (suggestion) #6

Closed syrius01 closed 6 years ago

syrius01 commented 6 years ago

Hi,

First I wanted to thank you for this awesome tool. Would it be possible to add an option for running WPForce with all WordPress urls in a file?

e.g. : python wpforce.py -i usr.txt -w passwd.txt -f filename-containing-urls.txt

This would be awesome. Thanks again.

n00py commented 6 years ago

Hello,

I don't think I will add this as it's a little too far outside of what I designed it for, but I can suggest a way you could do this in bash.

You could probably make something like this:

while read filename-containing-urls.txt ; do python wpforce.py -i usr.txt -w passwd.txt -f $i ; done < filename-containing-urls.txt

That syntax might be a bit off but that would be the basic idea

syrius01 commented 6 years ago

Thanks for your quick reply. I get this msg:

line 1: read: `url3.txt': not a valid identifier