Results 1 to 5 of 5

Thread: does hydra accept a stdin?

  1. #1
    Junior Member otkaz's Avatar
    Join Date
    Jan 2010
    Location
    Houston, TX
    Posts
    38

    Default does hydra accept a stdin?

    I'm trying to pass a stdin to hydra with a script I wrote, but its not working.
    command I'm using is perl myscript.perl | hydra -l "" -P - -f -v 192.168.1.254 http-get /yada yada yada yes I know this is not the complete command
    says password file not found
    so questions are is my command wrong or does it not accept stdin?
    will medusa accept stdin?
    does anyone know of an app that works on routers that will?
    I'm currently testing this on my 2wire router model 3800HGV-B
    Not sure if http-get is correct for this ap, but I havn't gotten that far yet. It uses java...

  2. #2
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default

    Quote Originally Posted by otkaz View Post
    I'm trying to pass a stdin to hydra with a script I wrote, but its not working.
    command I'm using is perl myscript.perl | hydra -l "" -P - -f -v 192.168.1.254 http-get /yada yada yada yes I know this is not the complete command
    says password file not found
    so questions are is my command wrong or does it not accept stdin?
    will medusa accept stdin?
    does anyone know of an app that works on routers that will?
    I'm currently testing this on my 2wire router model 3800HGV-B
    Not sure if http-get is correct for this ap, but I havn't gotten that far yet. It uses java...
    Hydra does not nor will it except stdin. That at least is according to the authors found in the readme. Take a look at it. Can also be found here
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  3. #3
    Junior Member
    Join Date
    Aug 2007
    Posts
    55

    Default

    try : man xargs

  4. #4
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default

    Quote Originally Posted by barbsie View Post
    try : man xargs
    Didn't know about that one. Thanks barbsie.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  5. #5
    Junior Member otkaz's Avatar
    Join Date
    Jan 2010
    Location
    Houston, TX
    Posts
    38

    Default

    Quote Originally Posted by barbsie View Post
    try : man xargs
    sorry to post on a old thread but I haven't logged on in a while
    just wanted to update it for anyone that comes across this

    thanks barbsie xargs is really handy it didn't work well with medusa, but I can use it for allot of other things now that I know about it
    xargs does work
    I used
    perl scripts/2wiregen.perl | xargs -L 1 medusa -h 192.168.1.254 -u "" -M web-form -p
    the -L 1 runs the command for every line outputted from the script
    it works but runs incredible slow so not really worth bothering with...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •