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

Object\Attribute Error #8

Closed
KRMaxM opened this issue Jul 30, 2021 · 1 comment
Closed

Object\Attribute Error #8

KRMaxM opened this issue Jul 30, 2021 · 1 comment

Comments

@KRMaxM
Copy link

KRMaxM commented Jul 30, 2021

Currently trying to test password spraying and having the following error when I run a spray using both the autodiscover and MSOL modules. Activesync module works fine.

Command-line

python o365spray.py --spray -u USER@DOMAIN --domain DOMAIN.onmicrosoft.com -p PASSWDTEST1 --spray-module autodiscover --debug --proxy http://127.0.0.1:8080

OR

python o365spray.py --spray -u USER@DOMAIN --domain DOMAIN.onmicrosoft.com -p PASSWDTEST1 --spray-module msol --debug --proxy http://127.0.0.1:8080

Debug output

[2021-07-30 13:18:19,753] INFO  -       __main__.py:233  - Running O365 validation for: DOMAIN
[2021-07-30 13:18:19,755] DEBUG - connectionpool.py:973  - Starting new HTTPS connection (1): login.microsoftonline.com:443
[2021-07-30 13:18:20,111] DEBUG - connectionpool.py:452  - https://login.microsoftonline.com:443 "GET /getuserrealm.srf?login=user@DOMAIN&xml=1 HTTP/1.1" 200 451
[2021-07-30 13:18:20,112] INFO  -       __main__.py:263  - [VALID] The following domain is using O365: DOMAIN
[2021-07-30 13:18:20,112] DEBUG - selector_events.py:59   - Using selector: EpollSelector
[2021-07-30 13:18:20,113] INFO  -       __main__.py:451  - Running password spray against 1 users.
[2021-07-30 13:18:20,113] INFO  -       __main__.py:497  - Password spraying the following passwords: ['PASSWDTEST1']
[2021-07-30 13:18:20,113] DEBUG -        sprayer.py:375  - 'Sprayer' object has no attribute 'helper'
[2021-07-30 13:18:20,114] INFO  -        sprayer.py:136  - 

This is using the latest version. Any ideas what is causing this or if I am doing something wrong?

@0xZDH
Copy link
Owner

0xZDH commented Aug 2, 2021

Thanks for bringing this to my attention. During the last code update there were some variable names that were changed and this error is a result of one of the variable references not being updated. I have updated the code and things should be fixed now via 8e2bf32

@0xZDH 0xZDH closed this as completed Aug 2, 2021
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

2 participants