Git Product home page Git Product logo

Comments (7)

staaldraad avatar staaldraad commented on August 21, 2024

Not at the moment, but I can add that in.

You'll also require the User DN (/o=First Organization/ou=Exchange Administrative Group(blah)/cn=Recipients/cn=blahblah)

Just curious what is your method for retrieving the MAPI URL? Or is autodiscover working with manual request, but failing with ruler?

from ruler.

staaldraad avatar staaldraad commented on August 21, 2024

I've pushed a version to dev that allows bypassing of autodiscover.
Requires two new cmdline params, -mapiUrl and -userDN

-user "" -pass superduper -email "[email protected]" -mapiUrl https://outlook.office365.com/mapi/emsmdb/\?MailboxId\[email protected] -display -userDN "/o=First Organization/ou=Exchange Administrative Group(FYDIBOHF231111)/cn=Recipients/cn=0003BF0000000" -domain outlook.com

There is a big rewrite happening at the moment, so please keep any feature requests coming!

from ruler.

mubix avatar mubix commented on August 21, 2024

Didn't realize I would need the mailbox ID / UserDN, basically in a scenario where OWA is available but autodiscover isn't and trying to figure out if I can use the ruler tool to add the rules or if I'm just going to have to use the manual process

from ruler.

staaldraad avatar staaldraad commented on August 21, 2024

mmmm, haven't seen a way to do it without getting those values through autodiscover. It would be interesting to see how Outlook is pulling those values. My gut says that MAPI/HTTP isn't supported in this case, thus ruler would fail, unfortunately.

from ruler.

staaldraad avatar staaldraad commented on August 21, 2024

This isn't possible without knowing the LegacyDN. It might be possible to do through EWS but I'm closing this for now.

from ruler.

mubix avatar mubix commented on August 21, 2024

@staaldraad ever find a way to get the information via EWS? I'm in a very similar situation once again.

from ruler.

staaldraad avatar staaldraad commented on August 21, 2024

Hi @mubix

As far as I can recall, I didn't find anything in EWS, the best I was able to do was to find some of the values exposed through OWA (although some of this isn't available in newer versions).

Wrote some docs here: https://github.com/sensepost/ruler/wiki/Getting-Started#the-config-file and this issue also discusses some of the options: #31 (comment)

Hope this helps. I'll go back to my notes to see if I did find something in EWS and I've simply forgotten 😂

from ruler.

Related Issues (20)

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.