Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 92 for 0x6c (0.65 sec)

  1. src/test/java/jcifs/netbios/NbtAddressTest.java

            NbtAddress nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
            assertEquals(NbtAddress.SMBSERVER_NAME, nbtAddress.firstCalledName());
    
            mockName = new Name(mockConfig, "DOMAIN", 0x1C, null); // Domain Controller
            nbtAddress = new NbtAddress(mockName, testAddressInt, false, NbtAddress.H_NODE);
            assertEquals(NbtAddress.SMBSERVER_NAME, nbtAddress.firstCalledName());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SpnegoContext.java

        }
    
        private static SpnegoToken getToken(final byte[] token) throws SpnegoException {
            SpnegoToken spnegoToken = null;
            try {
                spnegoToken = switch (token[0]) {
                case (byte) 0x60 -> new NegTokenInit(token);
                case (byte) 0xa1 -> new NegTokenTarg(token);
                default -> throw new SpnegoException("Invalid token type");
                };
                return spnegoToken;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

        private byte[] testMacSigningKey;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testMacSigningKey = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
        }
    
        @Test
        @DisplayName("Test constructor with MAC signing key and bypass flag")
        void testConstructorWithBypass() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            // Given & When
            int securityMode = 0x03;
            int capabilities = 0x0F;
            long previousSessionId = 0xFEDCBA9876543210L;
            byte[] token = { 0x0A, 0x0B, 0x0C };
    
            Smb2SessionSetupRequest req = new Smb2SessionSetupRequest(mockContext, securityMode, capabilities, previousSessionId, token);
    
            // Then - verify fields are set correctly using reflection
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbSession.java

                final long now = System.currentTimeMillis();
                int retry = 1;
    
                do {
                    if (dc_list_expiration < now) {
                        final NbtAddress[] list = NbtAddress.getAllByName(DOMAIN, 0x1C, null, null);
                        dc_list_expiration = now + CACHE_POLICY * 1000L;
                        if (list != null && list.length > 0) {
                            dc_list = list;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

         * RPC message for retrieving the server's time of day information
         */
        public static class RemoteTOD extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x1c;
            }
    
            /**
             * The return value of the operation.
             */
            public int retval;
            /**
             * The name of the server.
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 27K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/lsarpc.java

        /**
         * LSA open policy version 2 message.
         */
        public static class LsarOpenPolicy2 extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x2c;
            }
    
            /** Return value from the RPC call. */
            public int retval;
            /** Name of the system to connect to. */
            public String system_name;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                        dots++;
                        i++;
                    }
                }
            } else {
                switch (hostName.hexCode) {
                case 0x1B:
                case 0x1C:
                case 0x1D:
                    calledName = SMBSERVER_NAME;
                }
            }
    
            return calledName;
        }
    
        /**
         * Gets the next called name for session establishment.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

        /**
         * LSA open policy version 2 message.
         */
        public static class LsarOpenPolicy2 extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x2c;
            }
    
            /** Return value from the RPC call. */
            public int retval;
            /** Name of the system to connect to. */
            public String system_name;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            assertEquals(mockObjAttr, openPolicy2.object_attributes);
            assertEquals(1, openPolicy2.desired_access);
            assertEquals(mockPolicyHandle, openPolicy2.policy_handle);
            assertEquals(0x2c, openPolicy2.getOpnum());
        }
    
        @Test
        void testLsarOpenPolicy2EncodeIn() throws NdrException {
            lsarpc.LsarObjectAttributes mockObjAttr = mock(lsarpc.LsarObjectAttributes.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
Back to top