Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 680 for correcte (0.07 sec)

  1. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            assertEquals(4, nextOffset, "Should return correct next offset.");
            assertEquals(src.length, NtlmMessage.readUShort(dest, 0), "Length should be written correctly.");
            assertEquals(src.length, NtlmMessage.readUShort(dest, 2), "Max length should be written correctly.");
    
            // Test with null source array
            dest = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. docs/es/docs/advanced/security/http-basic-auth.md

    Y luego pueden intentar de nuevo sabiendo que probablemente es algo más similar a `stanleyjobsox` que a `johndoe`.
    
    #### Un ataque "profesional"
    
    Por supuesto, los atacantes no intentarían todo esto a mano, escribirían un programa para hacerlo, posiblemente con miles o millones de pruebas por segundo. Y obtendrían solo una letra correcta adicional a la vez.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java

        class SamrCloseHandleTests {
    
            @Test
            @DisplayName("Should construct with correct opnum")
            void testConstructorAndOpnum() {
                // When: Creating close handle message
                samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle);
    
                // Then: Should have correct opnum and handle
                assertEquals(0x01, message.getOpnum());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbResourceTest.java

                // Then
                assertEquals(currentTime, lastModified, "Should return correct last modified time");
                assertEquals(currentTime - 1000, lastAccess, "Should return correct last access time");
                assertEquals(currentTime - 2000, createTime, "Should return correct create time");
                assertTrue(createTime <= lastAccess, "Create time should be before or equal to last access");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

        class SamrCloseHandleTests {
    
            @Test
            @DisplayName("Should construct with correct opnum")
            void testConstructorAndOpnum() {
                // When: Creating close handle message
                samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle);
    
                // Then: Should have correct opnum and handle
                assertEquals(0x01, message.getOpnum());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/PacGroupTest.java

         */
        @Test
        void testConstructor() {
            // Verify that the constructor correctly sets the id and attributes
            assertEquals(mockSid, pacGroup.getId(), "The SID should be correctly set in the constructor.");
            assertEquals(attributes, pacGroup.getAttributes(), "The attributes should be correctly set in the constructor.");
        }
    
        /**
         * Test method for {@link jcifs.pac.PacGroup#getId()}.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/UUIDTest.java

                assertEquals(CLOCK_SEQ_HI_AND_RESERVED, uuid.clock_seq_hi_and_reserved, "clock_seq_hi_and_reserved should be parsed correctly");
                assertEquals(CLOCK_SEQ_LOW, uuid.clock_seq_low, "clock_seq_low should be parsed correctly");
                assertArrayEquals(NODE, uuid.node, "node array should be parsed correctly");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

        class InterfaceConstantsTests {
    
            @Test
            @DisplayName("Should have correct SMB_INFO_ALLOCATION constant value")
            void testSmbInfoAllocationConstant() {
                assertEquals((byte) -1, FileSystemInformation.SMB_INFO_ALLOCATION);
            }
    
            @Test
            @DisplayName("Should have correct FS_SIZE_INFO constant value")
            void testFsSizeInfoConstant() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbTreeHandleTest.java

            assertThrows(CIFSException.class, () -> smbTreeHandle.close(), "close() should throw CIFSException");
        }
    
        /**
         * Test for isConnected() method.
         * Verifies that the method returns the correct connected status.
         */
        @Test
        void testIsConnected() {
            when(smbTreeHandle.isConnected()).thenReturn(true);
            assertTrue(smbTreeHandle.isConnected(), "isConnected() should return true");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            request = new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, TEST_TOKEN);
        }
    
        @Test
        @DisplayName("Should create request with correct parameters")
        void testConstructorSetsCorrectParameters() throws Exception {
            // Given & When
            int securityMode = 0x03;
            int capabilities = 0x0F;
            long previousSessionId = 0xFEDCBA9876543210L;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top