- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 501 for corretto (0.05 sec)
-
docs/en/docs/advanced/security/http-basic-auth.md
Of course, the attackers would not try all this by hand, they would write a program to do it, possibly with thousands or millions of tests per second. And they would get just one extra correct letter at a time. But doing that, in some minutes or hours the attackers would have guessed the correct username and password, with the "help" of our application, just using the time taken to answer. #### Fix it with `secrets.compare_digest()` { #fix-it-with-secrets-compare-digest }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
assertTrue(bytesWritten > 0); // Verify data is written at correct offset assertEquals(3, dst[startOffset]); // Verify total parameter count at correct offset assertEquals(500, SMBUtil.readInt4(dst, startOffset + 3)); // Verify total data count at correct offset assertEquals(1000, SMBUtil.readInt4(dst, startOffset + 7)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
assertTrue(resp instanceof ServerMessageBlock2); assertTrue(resp instanceof TreeConnectResponse); } @Test @DisplayName("Should return correct share type constants") void testShareTypeConstants() { // Then assertEquals((byte) 0x1, Smb2TreeConnectResponse.SMB2_SHARE_TYPE_DISK);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
class FlagConstantsTests { @Test @DisplayName("Should have correct shared lock flag value") void testSharedLockFlag() { assertEquals(0x1, Smb2Lock.SMB2_LOCKFLAG_SHARED_LOCK); } @Test @DisplayName("Should have correct exclusive lock flag value") void testExclusiveLockFlag() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
private TestRequestWithPath testImplementation; @BeforeEach void setUp() { testImplementation = new TestRequestWithPath(); } @Test @DisplayName("Test getPath returns correct path") void testGetPath() { // Test with mock String expectedPath = "/share/folder/file.txt"; when(requestWithPath.getPath()).thenReturn(expectedPath);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/SamrAliasHandleTest.java
SamrAliasHandle aliasHandle = new SamrAliasHandle(mockDcerpcHandle, mockSamrDomainHandle, access, rid); // Assert assertNotNull(aliasHandle); // Verify that sendrecv was called with the correct MsrpcSamrOpenAlias object ArgumentCaptor<MsrpcSamrOpenAlias> rpcCaptor = ArgumentCaptor.forClass(MsrpcSamrOpenAlias.class); verify(mockDcerpcHandle).sendrecv(rpcCaptor.capture());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE; leaseContext = new LeaseV1CreateContextRequest(testKey, testState); } @Test @DisplayName("Should have correct context name") void testContextName() { assertArrayEquals("RqLs".getBytes(), leaseContext.getName()); assertEquals("RqLs", LeaseV1CreateContextRequest.CONTEXT_NAME); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.8K bytes - Viewed (0) -
tests/count_test.go
t.Errorf("Count() method should get correct value, expect: %v, got %v", count, len(users)) } if err := DB.Model(&User{}).Where("name = ?", user1.Name).Or("name = ?", user3.Name).Count(&count).Find(&users).Error; err != nil { t.Errorf(fmt.Sprintf("Count should work, but got err %v", err)) } if count != int64(len(users)) { t.Errorf("Count() method should get correct value, expect: %v, got %v", count, len(users)) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
assertEquals(HEADER_SIZE + CHUNK_SIZE, bytesWritten); // Verify source key at correct position for (int i = 0; i < SOURCE_KEY_SIZE; i++) { assertEquals(sourceKey[i], largeBuffer[position + i]); } // Verify chunk count at correct position assertEquals(1, SMBUtil.readInt4(largeBuffer, position + SOURCE_KEY_SIZE)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
assertTrue(result.contains("informationLevel=0x101"), "String should contain the correct information level."); assertTrue(result.contains("filename=test.txt"), "String should contain the correct filename."); assertTrue(result.endsWith("]"), "String should end with a closing bracket."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)