GithubHelp home page GithubHelp logo

Comments (6)

odzhan avatar odzhan commented on August 22, 2024 1

As it turns out, InternetCrackUrl already supports extracting a username and password in a URL.

This commit should support authentication when the URL contains username and password.

Example: https://username:[email protected]/

If you still have problems with this, feel free to reopen the issue.

from donut.

odzhan avatar odzhan commented on August 22, 2024

It could be implemented using INTERNET_OPTION_USERNAME and INTERNET_OPTION_PASSWORD flags for the InternetSetOption API. What setup do you have? What server are you using to host the module?

from donut.

TheWover avatar TheWover commented on August 22, 2024

Will add this for v0.9.3. I can assign this one to myself. I will use this server for testing: https://github.com/http-party/http-server

from donut.

TheWover avatar TheWover commented on August 22, 2024

Received a request to allow for complete compatibility with WebDav, which can use either HTTP Basic Auth or Digest Auth. It can also be configured to use NTLM/Kerberos authentication. Wininet supports all of the above, I think: https://docs.microsoft.com/en-us/windows/win32/wininet/handling-authentication

To start with, will just add support for Basic Auth. If adding support for the others does not add too much complexity, will add them too.

from donut.

odzhan avatar odzhan commented on August 22, 2024

The parsing now supports short or long options like -e or --entropy. This will need plenty of testing, but just as an example, there's --user: option that stores string in auth buffer of DONUT_CONFIG...change to whatever you like. --auth maybe? Whatever user provides will still need to be split before passing to InternetSetOption in http_client.c. I'm assuming WinInet handles authentication once it has a username/password set.

from donut.

TheWover avatar TheWover commented on August 22, 2024

Nice! I added that format to the readme and help message

from donut.

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.