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

Exception in thread Thread #7

Open
radenvodka opened this issue Nov 4, 2017 · 4 comments
Open

Exception in thread Thread #7

radenvodka opened this issue Nov 4, 2017 · 4 comments

Comments

@radenvodka
Copy link

WAF or security plugin likely in use
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "wpforce.py", line 63, in worker
PasswordAttempt(user,password,url,thread_no,verbose,debug,agent)
File "wpforce.py", line 155, in PasswordAttempt
total = len(passlist)
NameError: global name 'passlist' is not defined

Traceback (most recent call last):
File "wpforce.py", line 213, in
main()
File "wpforce.py", line 203, in main
time.sleep(0.1)

@n00py
Copy link
Owner

n00py commented Nov 4, 2017

Can you post the command you ran as well? Thanks.

@a1tem
Copy link

a1tem commented Jan 13, 2018

Hi, I have the same issue here
timed out - Try reducing Thread count
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "wpforce.py", line 63, in worker
PasswordAttempt(user,password,url,thread_no,verbose,debug,agent)
File "wpforce.py", line 165, in PasswordAttempt
if args.verbose is True or args.debug is True:
NameError: global name 'args' is not defined

And process fails
I've tried to run python wpforce.py -i usr.txt -w password.txt -u "http://*****.com" -t 2 -v

@n00py
Copy link
Owner

n00py commented Jan 15, 2018

The website probably is shunning you after a certain number of attempts. If you are in control of the webserver that is being targeted, can you confirm that there isn't any WAF or security plug-in running?

@s3gm3nt4ti0nf4ult
Copy link
Contributor

Since those variables are readonly, try making their scope global.

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