Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for nthResponse (0.26 sec)

  1. src/net/http/httputil/reverseproxy_test.go

    	if got != want {
    		t.Errorf("got %#q, want %#q", got, want)
    	}
    }
    
    func TestReverseProxyWebSocketCancellation(t *testing.T) {
    	n := 5
    	triggerCancelCh := make(chan bool, n)
    	nthResponse := func(i int) string {
    		return fmt.Sprintf("backend response #%d\n", i)
    	}
    	terminalMsg := "final message"
    
    	cst := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmSsp.java

                        lmResponse = new byte[0];
                    byte[] ntResponse = type3.getNTResponse();
                    if ( ntResponse == null )
                        ntResponse = new byte[0];
                    return new NtlmPasswordAuthentication(type3.getDomain(), type3.getUser(), challenge, lmResponse, ntResponse);
                }
            }
            else {
                resp.setHeader("WWW-Authenticate", "NTLM");
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/NtlmTest.java

            };
            byte[] ntResponse = new byte[] {
                0xF, 0xE, 0xD, 0xC, 0xB, 0xA, 0x9, 0x8, 0x7, 0x6, 0x5, 0x4, 0x3, 0x2, 0x1, 0x0
            };
            String domain = "TESTDOM";
            String user = "TESTUSER";
            String workstation = "TESTWS";
            Type3Message t3 = new Type3Message(flags, lmResponse, ntResponse, domain, user, workstation);
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Dec 16 10:38:43 UTC 2018
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

         */
        public byte[] getNTResponse() {
            return ntResponse;
        }
    
        /**
         * Sets the NT/NTLMv2 response for this message.
         *
         * @param ntResponse The NT/NTLMv2 response.
         */
        public void setNTResponse(byte[] ntResponse) {
            this.ntResponse = ntResponse;
        }
    
        /**
         * Returns the domain in which the user has an account.
         *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmSsp.java

                    if (lmResponse == null) lmResponse = new byte[0];
                    byte[] ntResponse = type3.getNTResponse();
                    if (ntResponse == null) ntResponse = new byte[0];
                    return new NtlmPasswordAuthentication(type3.getDomain(),
                            type3.getUser(), challenge, lmResponse, ntResponse);
                }
            } else {
                resp.setHeader("WWW-Authenticate", "NTLM");
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/Type3Message.java

         */
        public byte[] getNTResponse () {
            return this.ntResponse;
        }
    
    
        /**
         * Sets the NT/NTLMv2 response for this message.
         *
         * @param ntResponse
         *            The NT/NTLMv2 response.
         */
        public void setNTResponse ( byte[] ntResponse ) {
            this.ntResponse = ntResponse;
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmUtil.java

            System.arraycopy(md5.digest(), 0, sessionHash, 0, 8);
    
            byte[] key = new byte[21];
            System.arraycopy(passwordHash, 0, key, 0, 16);
            byte[] ntResponse = new byte[24];
            NtlmUtil.E(key, sessionHash, ntResponse);
            return ntResponse;
        }
    
    
        /**
         * Creates the LMv2 response for the supplied information.
         *
         * @param domain
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                throw new RuntimeException("MD5", gse);
            }
    
            byte[] key = new byte[21];
            System.arraycopy(nTOWFv1, 0, key, 0, 16);
            byte[] ntResponse = new byte[24];
            E(key, sessionHash, ntResponse);
    
            return ntResponse;
        }
        public static byte[] nTOWFv1(String password)
        {
            if (password == null)
                throw new RuntimeException("Password parameter is required");
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.5K bytes
    - Viewed (0)
Back to top