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
937 stars 220 forks source link

2to3 #24

Open ukuge opened 1 year ago

ukuge commented 1 year ago

Hi, I have the obvious problem of (most recent call last) and it's not a matter of parentheses. After many searches I ask you for help about:

wpforce.py", line 226, in main() wpforce.py", line 208, in main passlist = open(args.wordlist, 'r').read().split('\n')

python3.9/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final)

thank you

Colpr commented 7 months ago

Basically, the syntax of python v2, is different from python 3+. For example print "text" is the syntax for python 2, while print("text") is the syntax for python 3+.