Ad Widget

Collapse

Web Scenario Passwords - Escaping special characters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bradturnbough
    Junior Member
    • Apr 2020
    • 21

    #1

    Web Scenario Passwords - Escaping special characters

    NTLM authentication --- Has anyone figured out how to escape passwords with special characters?

    I have a password that has a special character in it and it refuses to work, no matter what I try. Any ideas?

    I can make it work via the command line / curl, so I know I'm close.

    This works from the command line:
    export blah="domain\blahblahasswordwith@sign"
    curl --ntlm -u "${blah}" http://servername
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    You might want to try to debug it as suggested here: https://support.zabbix.com/browse/ZBX-13366

    Comment

    • bradturnbough
      Junior Member
      • Apr 2020
      • 21

      #3
      Thanks for the suggestion, Dimir.

      I did exactly as you suggested and was able to see the username and password. I copied the username and password from the tail statement into an actual browser session and verified that they are indeed correct.

      I still wonder if zabbix is somehow misinterpreting the backslash and/or the "@" when presenting it to be executed.

      Brad

      Comment

      • dimir
        Zabbix developer
        • Apr 2011
        • 1080

        #4
        I'd try to escape the backslash (\\).

        Comment

        • bradturnbough
          Junior Member
          • Apr 2020
          • 21

          #5
          Unfortunately, domain\\username also did not work.

          Any other ideas?

          Comment

          • Griboed0ff
            Senior Member
            • Sep 2022
            • 153

            #6
            Originally posted by bradturnbough
            Unfortunately, domain\\username also did not work.

            Any other ideas?
            Have you tried making a login password through host macros?! I have had success using them with domain accounts.

            Comment

            Working...