Skip to content

Antibackslash format for username does not work #17

@maaaaz

Description

@maaaaz

Hello dear @ropnop,

Thanks for making a Go program for windapsearch !

As I am trying to use it, I saw a bug related to the parsing of the "username" parameter :

  • The antibackslash input format is not parsed accordingly the connection fails :
$ ./windapsearch-linux-amd64 --debug --dc 1.2.3.4 -u "adyolo\user1" -m users
INFO[2022-06-04T14:35:15+02:00] Saving output to STDOUT                       package=windapsearch
Password for [user1@]: 

In this example, the user should be "adyolo\user1", not "user1".

I had to specify it like this to make it work, by using an arobase notation:

$ ./windapsearch-linux-amd64 --debug --dc 1.2.3.4 -u "user1@adyolo" -m users
INFO[2022-06-04T14:42:25+02:00] Saving output to STDOUT                       package=windapsearch
Password for [user1@adyolo]: 

FYI, all these tries did not work either:

-u 'adyolo\user1'
-u adyolo\user1
-u adyolo\\user1

Cheers !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions