Open TH3xACE opened 2 years ago
Hi @TH3xACE ! The variable "controller" does not exist because there was a problem with the try-catch statement in lines 196-202 of the code. Could you tell me if tor was running in port 9050 when you tried this? Also, in the file /etc/tor/torrc, do you have the line "ControlPort 9051"? If you add this line, please restart tor with "sudo /etc/init.d/tor restart"
Regards,
Ricardo
Thanks for your reply.... The issue was to do with conflicting port... I set it in the config file and everything working fine except the below error lol :)
+] Changing IP address
[+] New IP address: Error_Getting_Ip
[+] Organization uses a customized sign-in page
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
httplib_response = self._make_request(conn, method, url,
File "/usr/local/lib/python3.9/dist-packages/urllib3/connectionpool.py", line 387, in _make_request
six.raise_from(e, None)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.9/dist-packages/urllib3/connectionpool.py", line 640, in urlopen
retries = retries.increment(method, url, error=e, _pool=self,
File "/usr/local/lib/python3.9/dist-packages/urllib3/util/retry.py", line 368, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.9/dist-packages/urllib3/packages/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.9/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
httplib_response = self._make_request(conn, method, url,
File "/usr/local/lib/python3.9/dist-packages/urllib3/connectionpool.py", line 387, in _make_request
six.raise_from(e, None)
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/RedTeam/tools/misc/adfsbrute/./adfsbrute.py", line 253, in
Expected vs Actual Behavior
No error :)
Specifications
Operative system:
Debian -> Kali Linux
Version (e.g. Python version): $ python3 -V Python 3.9.8
## Steps to Reproduce the Problem python3 adfsbrute.py -t domain.com -U users.txt -p Password123 -tp Pass123 -n 5
[+] Changing IP address Traceback (most recent call last): File "/opt/tools/misc/adfsbrute/adfsbrute.py", line 253, in
main()
File "/opt/tools/misc/adfsbrute/adfsbrute.py", line 204, in main
new_ip = change_tor_ip(controller, debug)
UnboundLocalError: local variable 'controller' referenced before assignment