mirror of
https://github.com/wader/fq.git
synced 2024-09-11 20:07:11 +03:00
refactor: package name aligned with directory name
This commit is contained in:
parent
5bfe27803b
commit
58f4f61ac5
@ -1,7 +1,7 @@
|
|||||||
// Copyright (c) 2022-2023 GoSecure Inc.
|
// Copyright (c) 2022-2023 GoSecure Inc.
|
||||||
// Copyright (c) 2024 Flare Systems
|
// Copyright (c) 2024 Flare Systems
|
||||||
// Licensed under the MIT License
|
// Licensed under the MIT License
|
||||||
package pyrdp
|
package pdu
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/wader/fq/pkg/decode"
|
"github.com/wader/fq/pkg/decode"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Copyright (c) 2022-2023 GoSecure Inc.
|
// Copyright (c) 2022-2023 GoSecure Inc.
|
||||||
// Copyright (c) 2024 Flare Systems
|
// Copyright (c) 2024 Flare Systems
|
||||||
// Licensed under the MIT License
|
// Licensed under the MIT License
|
||||||
package pyrdp
|
package pdu
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/wader/fq/pkg/decode"
|
"github.com/wader/fq/pkg/decode"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Copyright (c) 2022-2023 GoSecure Inc.
|
// Copyright (c) 2022-2023 GoSecure Inc.
|
||||||
// Copyright (c) 2024 Flare Systems
|
// Copyright (c) 2024 Flare Systems
|
||||||
// Licensed under the MIT License
|
// Licensed under the MIT License
|
||||||
package pyrdp
|
package pdu
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/wader/fq/pkg/decode"
|
"github.com/wader/fq/pkg/decode"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// Copyright (c) 2022-2023 GoSecure Inc.
|
// Copyright (c) 2022-2023 GoSecure Inc.
|
||||||
// Copyright (c) 2024 Flare Systems
|
// Copyright (c) 2024 Flare Systems
|
||||||
// Licensed under the MIT License
|
// Licensed under the MIT License
|
||||||
package pyrdp
|
package pdu
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/wader/fq/pkg/decode"
|
"github.com/wader/fq/pkg/decode"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// Copyright (c) 2022-2023 GoSecure Inc.
|
// Copyright (c) 2022-2023 GoSecure Inc.
|
||||||
// Licensed under the MIT License
|
// Licensed under the MIT License
|
||||||
package pyrdp
|
package pdu
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
@ -13,7 +13,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/wader/fq/format"
|
"github.com/wader/fq/format"
|
||||||
pyrdp "github.com/wader/fq/format/pyrdp/pdu"
|
pyrdp_pdu "github.com/wader/fq/format/pyrdp/pdu"
|
||||||
"github.com/wader/fq/pkg/decode"
|
"github.com/wader/fq/pkg/decode"
|
||||||
"github.com/wader/fq/pkg/interp"
|
"github.com/wader/fq/pkg/interp"
|
||||||
"github.com/wader/fq/pkg/scalar"
|
"github.com/wader/fq/pkg/scalar"
|
||||||
@ -69,26 +69,26 @@ var pduTypesMap = scalar.UintMapSymStr{
|
|||||||
}
|
}
|
||||||
|
|
||||||
var pduParsersMap = map[uint16]interface{}{
|
var pduParsersMap = map[uint16]interface{}{
|
||||||
PDU_FAST_PATH_INPUT: pyrdp.ParseFastPathInput,
|
PDU_FAST_PATH_INPUT: pyrdp_pdu.ParseFastPathInput,
|
||||||
// PDU_FAST_PATH_OUTPUT: pyrdp.ParseFastPathOut,
|
// PDU_FAST_PATH_OUTPUT: pyrdp_pdu.ParseFastPathOut,
|
||||||
PDU_CLIENT_INFO: pyrdp.ParseClientInfo,
|
PDU_CLIENT_INFO: pyrdp_pdu.ParseClientInfo,
|
||||||
// PDU_SLOW_PATH_PDU: pyrdp.ParseSlowPathPDU,
|
// PDU_SLOW_PATH_PDU: pyrdp_pdu.ParseSlowPathPDU,
|
||||||
PDU_CONNECTION_CLOSE: noParse,
|
PDU_CONNECTION_CLOSE: noParse,
|
||||||
PDU_CLIPBOARD_DATA: pyrdp.ParseClipboardData,
|
PDU_CLIPBOARD_DATA: pyrdp_pdu.ParseClipboardData,
|
||||||
PDU_CLIENT_DATA: pyrdp.ParseClientData,
|
PDU_CLIENT_DATA: pyrdp_pdu.ParseClientData,
|
||||||
// PDU_MOUSE_MOVE: pyrdp.ParseMouseMove,
|
// PDU_MOUSE_MOVE: pyrdp_pdu.ParseMouseMove,
|
||||||
// PDU_MOUSE_BUTTON: pyrdp.ParseMouseButton,
|
// PDU_MOUSE_BUTTON: pyrdp_pdu.ParseMouseButton,
|
||||||
// PDU_MOUSE_WHEEL: pyrdp.ParseMouseWheel,
|
// PDU_MOUSE_WHEEL: pyrdp_pdu.ParseMouseWheel,
|
||||||
// PDU_KEYBOARD: pyrdp.ParseKeyboard,
|
// PDU_KEYBOARD: pyrdp_pdu.ParseKeyboard,
|
||||||
// PDU_TEXT: pyrdp.ParseText,
|
// PDU_TEXT: pyrdp_pdu.ParseText,
|
||||||
// PDU_FORWARDING_STATE: pyrdp.ParseForwardingState,
|
// PDU_FORWARDING_STATE: pyrdp_pdu.ParseForwardingState,
|
||||||
// PDU_BITMAP: pyrdp.ParseBitmap,
|
// PDU_BITMAP: pyrdp_pdu.ParseBitmap,
|
||||||
// PDU_DEVICE_MAPPING: pyrdp.ParseDeviceMapping,
|
// PDU_DEVICE_MAPPING: pyrdp_pdu.ParseDeviceMapping,
|
||||||
// PDU_DIRECTORY_LISTING_REQUEST: pyrdp.ParseDirectoryListingRequest,
|
// PDU_DIRECTORY_LISTING_REQUEST: pyrdp_pdu.ParseDirectoryListingRequest,
|
||||||
// PDU_DIRECTORY_LISTING_RESPONSE: pyrdp.ParseDirectoryListingResponse,
|
// PDU_DIRECTORY_LISTING_RESPONSE: pyrdp_pdu.ParseDirectoryListingResponse,
|
||||||
// PDU_FILE_DOWNLOAD_REQUEST: pyrdp.ParseFileDownloadRequest,
|
// PDU_FILE_DOWNLOAD_REQUEST: pyrdp_pdu.ParseFileDownloadRequest,
|
||||||
// PDU_FILE_DOWNLOAD_RESPONSE: pyrdp.ParseFileDownloadResponse,
|
// PDU_FILE_DOWNLOAD_RESPONSE: pyrdp_pdu.ParseFileDownloadResponse,
|
||||||
// PDU_FILE_DOWNLOAD_COMPLETE: pyrdp.ParseFileDownloadComplete,
|
// PDU_FILE_DOWNLOAD_COMPLETE: pyrdp_pdu.ParseFileDownloadComplete,
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
Loading…
Reference in New Issue
Block a user