Giter Club home page Giter Club logo

Comments (7)

0xZDH avatar 0xZDH commented on May 30, 2024

That comment is specifically meant for that section in __main__.py as we will only cycle through the passed credentials a single time instead of looping like we do with a password set. The lockout handling is still observed and handled (when applicable) by the sprayer handler itself as you can see for example here:
https://github.com/0xZDH/o365spray/blob/master/o365spray/core/handlers/sprayer.py#L295

from o365spray.

JJK96 avatar JJK96 commented on May 30, 2024

Still, the count parameter is not used when the --paired option is used. The help text shows the following:

 -c COUNT, --count COUNT
                        Number of password attempts to run per user before resetting the lockout account
                        timer. Default: 1

I take this to mean that it will do one password per user and then wait for the lockout timer (15 min in my case). However, when I run the attack with --paired on a dataset like the above example. It will happily execute all the guesses for bob in a single run (verified using Burp suite proxy), thereby possibly locking out the account for bob. I've looked a bit in the code, but a fix for this is not trivial I think.

from o365spray.

0xZDH avatar 0xZDH commented on May 30, 2024

Ah okay - I now understand what you are referring to. Yes, the way the code is built is if a --paired file is passed the tool is somewhat 'dumb' and assumes that it's a single password attempt for each user (when I originally wrote this handling I seem to have ignored the idea of duplicate users with different passwords...). I will look into a solution for handling this and try to get something pushed up to a dev-branch for testing.

from o365spray.

0xZDH avatar 0xZDH commented on May 30, 2024

I have pushed some changes/fixes (v2.0.4) to the paired-updates branch that should resolve this issue. Once I stress test the updates a bit more I will get them merged into the master branch

from o365spray.

JJK96 avatar JJK96 commented on May 30, 2024

Thank you for working on this!

from o365spray.

kluo84 avatar kluo84 commented on May 30, 2024

Hello, anyway to get out the Account locked when we do the password spraying? I tried --safe 3 --sleep 30 with 1 password, but the accounts are still locked.

from o365spray.

0xZDH avatar 0xZDH commented on May 30, 2024

Paired updates have been written into the dev branch with several other fixes/updates. Once things have been tested a bit more it will be merged into the master branch.

from o365spray.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.