Code Monkey home page Code Monkey logo

Comments (4)

vanhauser-thc avatar vanhauser-thc commented on August 17, 2024

Hi!

well, you are trying to do achieve something that is not what it was planned for :-)
however you did it wrong. try this:
create a list of potential usernames (here: the numbers of length 5-7) and save it as usernames.txt
then run hydra:
hydra https-form-post ":username=^USER^&password=^PASS^&login-form-type=pwd&returnLocation=index.html:Not found" -L usernames.txt -p badpass -v -o userIDs.txt -t 10

from thc-hydra.

 avatar commented on August 17, 2024

That would certainly work, but I wanted to leave as small a footprint on the machine as possible, so I was using the password generation capabilities for the IDs. If this isn't a bug (since -f is supposed to make it stop at the first confirmed login, and without it, it shouldn't stop), then it might be good to state that somewhere in the hydra -U https-form-post.

from thc-hydra.

vanhauser-thc avatar vanhauser-thc commented on August 17, 2024

the -f option results that ALL attempts on ANY account are terminated once one password is found for ANY account. so the -f option will make what you want unfeasible :-)
I you want to leave a small footprint on the machine I hope what you do is legal ... ...

from thc-hydra.

 avatar commented on August 17, 2024

Ah, gotcha. Thats good to know.

And yes, I am a security consultant doing a few pentests. This was the first time I had to do user id enumeration like this, and I couldn't figure out why hydra wasn't playing well. Thanks for the clarification

from thc-hydra.

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.