How to make a Basic Auth config [OB]



  • Hi
    I want make a config for a website with basic auth login
    I don't know if these types of websites accept mail-pasa or user-pass
    How do I know?
    Also i have another problem
    These sites send code 401 for unsuccessful login, and I have used this code for failure key, but I don't know what code they use for successful login, so I don't have a success key

    This is a Basic auth login :

    alt text

    Thank you for helping me


  • Donator

    usually its a get request with a authorization basic header user:pass 64base encoded

    if you dont have a success key uncheck ban if no key found, enable bot log, start config and wait in runner for toCheck and read their log



  • Example

    REQUEST POST "https://test.com" BasicAuth 
      USERNAME "<USER>" PASSWORD "<PASS>" 
      
      HEADER "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" 
      HEADER "Pragma: no-cache" 
      HEADER "Accept: */*" 
    
    


  • @mega_1 post or get ?? Are you sure its post ?



  • Normaly Basic Auth is GET.



  • @yasinzx Sorry it's GET, made mistake with LS.