dissect.target 3.15.dev13__tar.gz → 3.15.dev14__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {dissect.target-3.15.dev13/dissect.target.egg-info → dissect.target-3.15.dev14}/PKG-INFO +1 -1
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/ssh/openssh.py +11 -54
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/ssh/opensshd.py +4 -3
- dissect.target-3.15.dev14/dissect/target/plugins/apps/ssh/putty.py +236 -0
- dissect.target-3.15.dev14/dissect/target/plugins/apps/ssh/ssh.py +58 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/registry.py +1 -1
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14/dissect.target.egg-info}/PKG-INFO +1 -1
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect.target.egg-info/SOURCES.txt +3 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/ssh/test_openssh.py +38 -29
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/ssh/test_opensshd.py +2 -2
- dissect.target-3.15.dev14/tests/plugins/apps/ssh/test_putty.py +131 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/COPYRIGHT +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/LICENSE +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/MANIFEST.in +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/README.md +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/container.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/containers/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/containers/asdf.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/containers/ewf.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/containers/hdd.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/containers/hds.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/containers/qcow2.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/containers/raw.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/containers/split.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/containers/vdi.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/containers/vhd.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/containers/vhdx.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/containers/vmdk.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/data/autocompletion/target_bash_completion.sh +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/exceptions.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystem.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/ad1.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/btrfs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/cb.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/config.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/dir.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/exfat.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/extfs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/fat.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/ffs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/itunes.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/jffs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/ntfs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/smb.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/squashfs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/tar.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/vmfs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/xfs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/filesystems/zip.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/cache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/config.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/configutil.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/data/windowsZones.xml +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/descriptor_extensions.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/docs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/fsutil.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/hashutil.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/keychain.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/lazy.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/loaderutil.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/localeutil.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/mount.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/network_managers.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/record.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/record_modifier.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/regutil.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/shell_folder_ids.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/ssh.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/targetd.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/helpers/utils.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loader.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/ad1.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/asdf.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/cb.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/dir.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/hyperv.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/itunes.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/kape.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/local.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/log.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/multiraw.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/ova.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/ovf.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/phobos.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/profile.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/pvm.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/pvs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/raw.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/remote.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/res.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/smb.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/tanium.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/tar.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/target.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/targetd.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/utm.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/vb.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/vbox.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/velociraptor.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/vma.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/vmwarevm.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/vmx.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/loaders/xva.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugin.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/av/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/av/mcafee.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/av/sophos.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/av/symantec.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/av/trendmicro.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/browser/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/browser/browser.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/browser/chrome.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/browser/chromium.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/browser/edge.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/browser/firefox.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/browser/iexplore.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/container/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/container/docker.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/remoteaccess/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/remoteaccess/anydesk.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/remoteaccess/remoteaccess.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/remoteaccess/teamviewer.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/shell/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/shell/powershell.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/ssh/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/vpn/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/vpn/openvpn.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/vpn/wireguard.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/webhosting/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/webhosting/cpanel.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/webserver/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/webserver/apache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/webserver/caddy.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/webserver/iis.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/webserver/nginx.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/webserver/webserver.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/child/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/child/esxi.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/child/hyperv.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/child/virtuozzo.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/child/vmware_workstation.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/child/wsl.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/filesystem/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/filesystem/acquire_handles.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/filesystem/acquire_hash.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/filesystem/icat.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/filesystem/ntfs/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/filesystem/ntfs/mft.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/filesystem/ntfs/mft_timeline.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/filesystem/ntfs/usnjrnl.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/filesystem/ntfs/utils.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/filesystem/resolver.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/filesystem/unix/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/filesystem/unix/capability.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/filesystem/unix/suid.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/filesystem/walkfs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/filesystem/yara.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/general/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/general/config.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/general/default.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/general/example.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/general/loaders.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/general/osinfo.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/general/plugins.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/general/scrape.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/general/users.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/_os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/bsd/_os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/bsd/citrix/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/bsd/citrix/_os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/bsd/freebsd/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/bsd/freebsd/_os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/bsd/ios/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/bsd/ios/_os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/bsd/openbsd/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/bsd/openbsd/_os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/bsd/osx/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/bsd/osx/_os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/bsd/osx/user.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/cronjobs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/datetime.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/esxi/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/esxi/_os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/etc.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/generic.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/history.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/_os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/android/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/android/_os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/cmdline.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/debian/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/debian/_os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/debian/apt.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/debian/dpkg.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/debian/vyos/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/debian/vyos/_os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/environ.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/fortigate/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/fortigate/_os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/iptables.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/modules.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/netstat.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/proc.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/processes.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/redhat/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/redhat/_os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/redhat/yum.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/services.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/sockets.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/suse/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/suse/_os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/linux/suse/zypper.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/locale.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/log/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/log/atop.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/log/audit.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/log/auth.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/log/journal.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/log/lastlog.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/log/messages.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/log/utmp.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/packagemanager.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/unix/shadow.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/_os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/activitiescache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/adpolicy.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/amcache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/catroot.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/cim.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/clfs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/datetime.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/defender.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/dpapi/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/dpapi/blob.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/dpapi/crypto.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/dpapi/dpapi.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/dpapi/master_key.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/env.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/exchange/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/exchange/exchange.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/generic.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/lnk.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/locale.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/log/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/log/amcache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/log/etl.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/log/evt.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/log/evtx.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/log/pfro.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/notifications.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/prefetch.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/recyclebin.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/7zip.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/appxdebugkeys.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/auditpol.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/bam.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/cit.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/clsid.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/firewall.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/mru.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/muicache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/nethist.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/recentfilecache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/regf.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/runkeys.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/shellbags.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/shimcache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/trusteddocs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/usb.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/regf/userassist.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/sam.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/services.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/sru.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/startupinfo.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/syscache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/task_helpers/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/task_helpers/tasks_job.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/task_helpers/tasks_records.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/task_helpers/tasks_xml.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/tasks.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/thumbcache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/ual.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/os/windows/wer.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/report.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/target.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/tools/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/tools/build_pluginlist.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/tools/dd.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/tools/dump/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/tools/dump/run.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/tools/dump/state.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/tools/dump/utils.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/tools/fs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/tools/info.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/tools/logging.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/tools/mount.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/tools/query.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/tools/reg.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/tools/shell.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/tools/utils.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/volume.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/volumes/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/volumes/bde.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/volumes/ddf.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/volumes/disk.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/volumes/luks.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/volumes/lvm.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/volumes/md.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/volumes/vmfs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect.target.egg-info/dependency_links.txt +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect.target.egg-info/entry_points.txt +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect.target.egg-info/requires.txt +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect.target.egg-info/top_level.txt +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/pyproject.toml +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/setup.cfg +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/_docs/Makefile +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/_docs/conf.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/_docs/index.rst +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/_utils.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/conftest.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/containers/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/containers/test_split.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/filesystems/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/filesystems/test_cb.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/filesystems/test_config.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/filesystems/test_dir.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/filesystems/test_exfat.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/filesystems/test_fat.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/filesystems/test_ntfs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/filesystems/test_smb.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/filesystems/test_tar.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/filesystems/test_zip.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/helpers/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/helpers/test_cache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/helpers/test_config.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/helpers/test_configutil.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/helpers/test_docs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/helpers/test_fsutil.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/helpers/test_hashutil.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/helpers/test_keychain.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/helpers/test_loaderutil.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/helpers/test_localeutil.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/helpers/test_modifier.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/helpers/test_record.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/helpers/test_regutil.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/helpers/test_utils.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_asdf.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_cb.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_dir.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_hyperv.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_kape.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_local.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_log.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_multiraw.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_ova.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_ovf.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_phobos.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_pvm.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_pvs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_remote.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_smb.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_tanium.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_tar.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_utm.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_vbox.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_velociraptor.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/loaders/test_vmwarevm.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/av/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/av/test_mcafee.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/av/test_sophos.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/av/test_symantec.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/av/test_trendmicro.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/browser/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/browser/test_browser.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/container/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/container/test_docker.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/remoteaccess/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/remoteaccess/test_anydesk.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/remoteaccess/test_teamviewer.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/shell/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/shell/test_powershell.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/ssh/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/vpn/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/vpn/test_openvpn.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/vpn/test_wireguard.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/webhosting/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/webhosting/test_cpanel.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/webserver/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/webserver/test_apache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/webserver/test_caddy.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/webserver/test_iis.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/webserver/test_nginx.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/child/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/child/test_hyperv.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/child/test_virtuozzo.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/child/test_wsl.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/filesystem/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/filesystem/ntfs/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/filesystem/ntfs/test_mft.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/filesystem/ntfs/test_usnjrnl.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/filesystem/test_acquire_handles.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/filesystem/test_acquire_hash.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/filesystem/test_icat.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/filesystem/test_resolver.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/filesystem/test_walkfs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/filesystem/test_yara.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/filesystem/unix/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/filesystem/unix/test_capability.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/filesystem/unix/test_suid.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/general/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/general/test_config.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/general/test_default.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/general/test_plugins.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/general/test_scrape.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/general/test_users.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/bsd/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/bsd/citrix/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/bsd/citrix/test__os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/bsd/osx/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/bsd/osx/test__os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/bsd/osx/test_user.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/android/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/android/test__os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/debian/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/debian/test_apt.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/debian/test_dpkg.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/redhat/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/redhat/test_yum.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/suse/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/suse/test_zypper.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/test_cmdline.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/test_environ.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/test_iptables.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/test_modules.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/test_netstat.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/test_proc.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/test_processes.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/test_services.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/linux/test_sockets.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/log/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/log/test_atop.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/log/test_audit.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/log/test_auth.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/log/test_lastlog.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/log/test_messages.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/log/test_utmp.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/test__os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/test_generic.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/test_history.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/test_ips.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/test_journal.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/test_locale.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/test_packagemanager.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/test_shadow.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/test_users.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/unix/test_version.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/log/test_etl.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/log/test_evt.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/log/test_evtx.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/regf/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/regf/test_appxdebugkeys.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/regf/test_cit.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/regf/test_clsid.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/regf/test_muicache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/regf/test_trusteddocs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/regf/test_userassist.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test__os.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_adpolicy.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_amcache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_clfs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_datetime.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_defender.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_dpapi.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_env.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_generic.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_lnk.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_locale.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_mru.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_notifications.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_prefetch.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_recyclebin.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_registry.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_sam.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_shimcache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_sru.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_syscache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_tasks.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_thumbcache.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_ual.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/os/windows/test_wer.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/test_container.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/test_filesystem.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/test_plugin.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/test_registration.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/test_report.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/test_target.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/test_volume.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/tools/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/tools/test_dump.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/tools/test_fs.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/tools/test_mount.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/tools/test_query.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/tools/test_shell.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/tools/test_utils.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/volumes/__init__.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/volumes/test_bde.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/volumes/test_md.py +0 -0
- {dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tox.ini +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: dissect.target
|
3
|
-
Version: 3.15.
|
3
|
+
Version: 3.15.dev14
|
4
4
|
Summary: This module ties all other Dissect modules together, it provides a programming API and command line tools which allow easy access to various data sources inside disk images or file collections (a.k.a. targets)
|
5
5
|
Author-email: Dissect Team <dissect@fox-it.com>
|
6
6
|
License: Affero General Public License v3
|
{dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/ssh/openssh.py
RENAMED
@@ -5,59 +5,15 @@ from typing import Iterator
|
|
5
5
|
|
6
6
|
from dissect.target import Target
|
7
7
|
from dissect.target.exceptions import UnsupportedPluginError
|
8
|
-
from dissect.target.helpers.descriptor_extensions import UserRecordDescriptorExtension
|
9
8
|
from dissect.target.helpers.fsutil import TargetPath
|
10
|
-
from dissect.target.helpers.record import create_extended_descriptor
|
11
9
|
from dissect.target.helpers.ssh import SSHPrivateKey
|
12
|
-
from dissect.target.plugin import
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
("path", "path"),
|
20
|
-
]
|
21
|
-
|
22
|
-
AuthorizedKeysRecord = OpenSSHUserRecordDescriptor(
|
23
|
-
"application/openssh/authorized_keys",
|
24
|
-
[
|
25
|
-
*COMMON_ELLEMENTS,
|
26
|
-
("string", "public_key"),
|
27
|
-
("string", "options"),
|
28
|
-
],
|
29
|
-
)
|
30
|
-
|
31
|
-
|
32
|
-
KnownHostRecord = OpenSSHUserRecordDescriptor(
|
33
|
-
"application/openssh/known_host",
|
34
|
-
[
|
35
|
-
*COMMON_ELLEMENTS,
|
36
|
-
("string", "hostname_pattern"),
|
37
|
-
("string", "public_key"),
|
38
|
-
("string", "marker"),
|
39
|
-
],
|
40
|
-
)
|
41
|
-
|
42
|
-
|
43
|
-
PrivateKeyRecord = OpenSSHUserRecordDescriptor(
|
44
|
-
"application/openssh/private_key",
|
45
|
-
[
|
46
|
-
*COMMON_ELLEMENTS,
|
47
|
-
("datetime", "mtime_ts"),
|
48
|
-
("string", "key_format"),
|
49
|
-
("string", "public_key"),
|
50
|
-
("boolean", "encrypted"),
|
51
|
-
],
|
52
|
-
)
|
53
|
-
|
54
|
-
PublicKeyRecord = OpenSSHUserRecordDescriptor(
|
55
|
-
"application/openssh/public_key",
|
56
|
-
[
|
57
|
-
*COMMON_ELLEMENTS,
|
58
|
-
("datetime", "mtime_ts"),
|
59
|
-
("string", "public_key"),
|
60
|
-
],
|
10
|
+
from dissect.target.plugin import export
|
11
|
+
from dissect.target.plugins.apps.ssh.ssh import (
|
12
|
+
AuthorizedKeysRecord,
|
13
|
+
KnownHostRecord,
|
14
|
+
PrivateKeyRecord,
|
15
|
+
PublicKeyRecord,
|
16
|
+
SSHPlugin,
|
61
17
|
)
|
62
18
|
|
63
19
|
|
@@ -72,8 +28,8 @@ def find_sshd_directory(target: Target) -> TargetPath:
|
|
72
28
|
return target.fs.path("/etc/ssh/")
|
73
29
|
|
74
30
|
|
75
|
-
class OpenSSHPlugin(
|
76
|
-
__namespace__ = "
|
31
|
+
class OpenSSHPlugin(SSHPlugin):
|
32
|
+
__namespace__ = "openssh"
|
77
33
|
|
78
34
|
SSHD_DIRECTORIES = ["/sysvol/ProgramData/ssh", "/etc/ssh"]
|
79
35
|
|
@@ -136,7 +92,8 @@ class OpenSSHPlugin(Plugin):
|
|
136
92
|
|
137
93
|
for hostname in hostnames:
|
138
94
|
yield KnownHostRecord(
|
139
|
-
|
95
|
+
host=hostname,
|
96
|
+
port=None,
|
140
97
|
key_type=keytype,
|
141
98
|
public_key=public_key,
|
142
99
|
comment=comment,
|
{dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/dissect/target/plugins/apps/ssh/opensshd.py
RENAMED
@@ -3,8 +3,9 @@ from typing import TYPE_CHECKING, Any, Callable, Iterator, Optional, Union
|
|
3
3
|
from dissect.target import Target
|
4
4
|
from dissect.target.exceptions import UnsupportedPluginError
|
5
5
|
from dissect.target.helpers.record import DynamicDescriptor, TargetRecordDescriptor
|
6
|
-
from dissect.target.plugin import
|
6
|
+
from dissect.target.plugin import export
|
7
7
|
from dissect.target.plugins.apps.ssh.openssh import find_sshd_directory
|
8
|
+
from dissect.target.plugins.apps.ssh.ssh import SSHPlugin
|
8
9
|
|
9
10
|
if TYPE_CHECKING:
|
10
11
|
from dissect.target.plugins.general.config import ConfigurationTreePlugin
|
@@ -72,8 +73,8 @@ SSHD_MULTIPLE_DEFINITIONS_ALLOWED_FIELDS = (
|
|
72
73
|
)
|
73
74
|
|
74
75
|
|
75
|
-
class SSHServerPlugin(
|
76
|
-
__namespace__ = "
|
76
|
+
class SSHServerPlugin(SSHPlugin):
|
77
|
+
__namespace__ = "opensshd"
|
77
78
|
|
78
79
|
def __init__(self, target: Target):
|
79
80
|
super().__init__(target)
|
@@ -0,0 +1,236 @@
|
|
1
|
+
import logging
|
2
|
+
from datetime import datetime
|
3
|
+
from pathlib import Path
|
4
|
+
from typing import Iterator, Optional, Union
|
5
|
+
|
6
|
+
from Crypto.PublicKey import ECC, RSA
|
7
|
+
from flow.record.fieldtypes import posix_path, windows_path
|
8
|
+
|
9
|
+
from dissect.target.exceptions import RegistryKeyNotFoundError, UnsupportedPluginError
|
10
|
+
from dissect.target.helpers.descriptor_extensions import UserRecordDescriptorExtension
|
11
|
+
from dissect.target.helpers.fsutil import TargetPath, open_decompress
|
12
|
+
from dissect.target.helpers.record import create_extended_descriptor
|
13
|
+
from dissect.target.helpers.regutil import RegistryKey
|
14
|
+
from dissect.target.plugin import export
|
15
|
+
from dissect.target.plugins.apps.ssh.ssh import KnownHostRecord, SSHPlugin
|
16
|
+
from dissect.target.plugins.general.users import UserDetails
|
17
|
+
|
18
|
+
log = logging.getLogger(__name__)
|
19
|
+
|
20
|
+
PuTTYUserRecordDescriptor = create_extended_descriptor([UserRecordDescriptorExtension])
|
21
|
+
PuTTYSessionRecord = PuTTYUserRecordDescriptor(
|
22
|
+
"application/putty/saved_session",
|
23
|
+
[
|
24
|
+
("datetime", "ts"),
|
25
|
+
("string", "session_name"),
|
26
|
+
("string", "protocol"),
|
27
|
+
("string", "host"),
|
28
|
+
("string", "user"),
|
29
|
+
("varint", "port"),
|
30
|
+
("string", "remote_command"),
|
31
|
+
("string", "port_forward"),
|
32
|
+
("string", "manual_ssh_host_keys"),
|
33
|
+
("path", "path"),
|
34
|
+
],
|
35
|
+
)
|
36
|
+
|
37
|
+
|
38
|
+
class PuTTYPlugin(SSHPlugin):
|
39
|
+
"""Extract artifacts from the PuTTY client.
|
40
|
+
|
41
|
+
NOTE:
|
42
|
+
- Does not parse ``$HOME/.putty/randomseed`` (GNU/Linux)
|
43
|
+
and ``HKCU\\Software\\SimonTatham\\PuTTY\\RandSeedFile`` (Windows)
|
44
|
+
|
45
|
+
Resources:
|
46
|
+
- http://www.chiark.greenend.org.uk/~sgtatham/putty/0.78/puttydoc.txt
|
47
|
+
- http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#faq-settings
|
48
|
+
"""
|
49
|
+
|
50
|
+
__namespace__ = "putty"
|
51
|
+
|
52
|
+
def __init__(self, target):
|
53
|
+
super().__init__(target)
|
54
|
+
|
55
|
+
self.regf_installs, self.path_installs = self._detect_putty()
|
56
|
+
|
57
|
+
def _detect_putty(
|
58
|
+
self,
|
59
|
+
) -> tuple[list[set[RegistryKey, Optional[UserDetails]]], list[set[TargetPath, Optional[UserDetails]]]]:
|
60
|
+
regf_installs, path_installs = [], []
|
61
|
+
|
62
|
+
if self.target.has_function("registry"):
|
63
|
+
for key in self.target.registry.keys("HKCU\\Software\\SimonTatham\\PuTTY"):
|
64
|
+
user_details = self.target.registry.get_user_details(key)
|
65
|
+
regf_installs.append((key, user_details))
|
66
|
+
|
67
|
+
for user_details in self.target.user_details.all_with_home():
|
68
|
+
if (putty_path := user_details.home_path.joinpath(".putty")).exists():
|
69
|
+
path_installs.append((putty_path, user_details))
|
70
|
+
|
71
|
+
return regf_installs, path_installs
|
72
|
+
|
73
|
+
def check_compatible(self) -> None:
|
74
|
+
if not any(self.regf_installs + self.path_installs):
|
75
|
+
raise UnsupportedPluginError("No PuTTY installations found")
|
76
|
+
|
77
|
+
@export(record=KnownHostRecord)
|
78
|
+
def known_hosts(self) -> Iterator[KnownHostRecord]:
|
79
|
+
"""Parse PuTTY saved SshHostKeys."""
|
80
|
+
|
81
|
+
for putty_key, user_details in self.regf_installs:
|
82
|
+
yield from self._regf_known_hosts(putty_key, user_details)
|
83
|
+
|
84
|
+
for putty_path, user_details in self.path_installs:
|
85
|
+
yield from self._path_known_hosts(putty_path, user_details)
|
86
|
+
|
87
|
+
def _regf_known_hosts(self, putty_key: RegistryKey, user_details: UserDetails) -> Iterator[KnownHostRecord]:
|
88
|
+
"""Parse PuTTY traces in Windows registry."""
|
89
|
+
|
90
|
+
try:
|
91
|
+
ssh_host_keys = putty_key.subkey("SshHostKeys")
|
92
|
+
except RegistryKeyNotFoundError:
|
93
|
+
return
|
94
|
+
|
95
|
+
for entry in ssh_host_keys.values():
|
96
|
+
key_type, host = entry.name.split("@")
|
97
|
+
port, host = host.split(":")
|
98
|
+
|
99
|
+
yield KnownHostRecord(
|
100
|
+
mtime_ts=ssh_host_keys.ts,
|
101
|
+
host=host,
|
102
|
+
port=port,
|
103
|
+
key_type=key_type,
|
104
|
+
public_key=construct_public_key(key_type, entry.value),
|
105
|
+
comment="",
|
106
|
+
marker=None,
|
107
|
+
path=windows_path(ssh_host_keys.path),
|
108
|
+
_target=self.target,
|
109
|
+
_user=user_details.user if user_details else None,
|
110
|
+
)
|
111
|
+
|
112
|
+
def _path_known_hosts(self, putty_path: TargetPath, user_details: UserDetails) -> Iterator[KnownHostRecord]:
|
113
|
+
"""Parse PuTTY traces in ``.putty`` folders"""
|
114
|
+
ssh_host_keys_path = putty_path.joinpath("sshhostkeys")
|
115
|
+
|
116
|
+
if ssh_host_keys_path.exists():
|
117
|
+
ts = ssh_host_keys_path.stat().st_mtime
|
118
|
+
|
119
|
+
for line in open_decompress(ssh_host_keys_path, "rt"):
|
120
|
+
parts = line.split()
|
121
|
+
key_type, host = parts[0].split("@")
|
122
|
+
port, host = host.split(":")
|
123
|
+
|
124
|
+
yield KnownHostRecord(
|
125
|
+
mtime_ts=ts,
|
126
|
+
host=host,
|
127
|
+
port=port,
|
128
|
+
key_type=key_type,
|
129
|
+
public_key=construct_public_key(key_type, parts[1]),
|
130
|
+
comment="",
|
131
|
+
marker=None,
|
132
|
+
path=posix_path(ssh_host_keys_path),
|
133
|
+
_target=self.target,
|
134
|
+
_user=user_details.user if user_details else None,
|
135
|
+
)
|
136
|
+
|
137
|
+
@export(record=PuTTYSessionRecord)
|
138
|
+
def sessions(self) -> Iterator[PuTTYSessionRecord]:
|
139
|
+
"""Parse PuTTY saved session configuration files."""
|
140
|
+
|
141
|
+
for putty_key, user_details in self.regf_installs:
|
142
|
+
yield from self._regf_sessions(putty_key, user_details)
|
143
|
+
|
144
|
+
for putty_path, user_details in self.path_installs:
|
145
|
+
yield from self._path_sessions(putty_path, user_details)
|
146
|
+
|
147
|
+
def _regf_sessions(self, putty_key: RegistryKey, user_details: UserDetails) -> Iterator[PuTTYSessionRecord]:
|
148
|
+
try:
|
149
|
+
sessions = putty_key.subkey("Sessions")
|
150
|
+
except RegistryKeyNotFoundError:
|
151
|
+
return
|
152
|
+
|
153
|
+
for session in sessions.subkeys():
|
154
|
+
cfg = {s.name: s.value for s in session.values()}
|
155
|
+
yield from self._build_session_record(
|
156
|
+
session.ts, session.name, windows_path(session.path), cfg, user_details
|
157
|
+
)
|
158
|
+
|
159
|
+
def _path_sessions(self, putty_path: TargetPath, user_details: UserDetails) -> Iterator[PuTTYSessionRecord]:
|
160
|
+
sessions_dir = putty_path.joinpath("sessions")
|
161
|
+
if sessions_dir.exists():
|
162
|
+
for session in sessions_dir.glob("*"):
|
163
|
+
if session.is_file():
|
164
|
+
cfg = dict(map(str.strip, line.split("=", maxsplit=1)) for line in session.open("rt").readlines())
|
165
|
+
yield from self._build_session_record(
|
166
|
+
session.stat().st_mtime, session.name, session, cfg, user_details
|
167
|
+
)
|
168
|
+
|
169
|
+
def _build_session_record(
|
170
|
+
self, ts: float, name: Union[float, datetime], source: Path, cfg: dict, user_details: UserDetails
|
171
|
+
) -> PuTTYSessionRecord:
|
172
|
+
host, user = parse_host_user(cfg.get("HostName"), cfg.get("UserName"))
|
173
|
+
|
174
|
+
yield PuTTYSessionRecord(
|
175
|
+
ts=ts,
|
176
|
+
session_name=name,
|
177
|
+
protocol=cfg.get("Protocol"),
|
178
|
+
host=host,
|
179
|
+
user=user,
|
180
|
+
port=cfg.get("PortNumber"),
|
181
|
+
remote_command=cfg.get("RemoteCommand"),
|
182
|
+
port_forward=cfg.get("PortForwardings"),
|
183
|
+
manual_ssh_host_keys=cfg.get("SSHManualHostKeys"),
|
184
|
+
path=source,
|
185
|
+
_target=self.target,
|
186
|
+
_user=user_details.user if user_details else None,
|
187
|
+
)
|
188
|
+
|
189
|
+
|
190
|
+
def parse_host_user(host: str, user: str) -> tuple[str, str]:
|
191
|
+
"""Parse host and user from PuTTY hostname component."""
|
192
|
+
if "@" in host:
|
193
|
+
parsed_user, parsed_host = host.split("@")
|
194
|
+
user = user or parsed_user
|
195
|
+
host = parsed_host
|
196
|
+
|
197
|
+
return host, user
|
198
|
+
|
199
|
+
|
200
|
+
def construct_public_key(key_type: str, iv: str) -> str:
|
201
|
+
"""Returns OpenSSH format public key calculated from PuTTY SshHostKeys format.
|
202
|
+
|
203
|
+
PuTTY stores raw public key components instead of OpenSSH-formatted public keys
|
204
|
+
or fingerprints. With RSA public keys the exponent and modulus are stored.
|
205
|
+
With ECC keys the x and y prime coordinates are stored together with the curve type.
|
206
|
+
|
207
|
+
Currently supports ``ssh-ed25519``, ``ecdsa-sha2-nistp256`` and ``rsa2`` key types.
|
208
|
+
|
209
|
+
NOTE:
|
210
|
+
- Sha256 fingerprints of the reconstructed public keys are currently not generated.
|
211
|
+
- More key types could be supported in the future.
|
212
|
+
|
213
|
+
Resources:
|
214
|
+
- https://github.com/github/putty/blob/master/contrib/kh2reg.py
|
215
|
+
- https://pycryptodome.readthedocs.io/en/latest/src/public_key/rsa.html
|
216
|
+
- https://pycryptodome.readthedocs.io/en/latest/src/public_key/ecc.html
|
217
|
+
- https://github.com/mkorthof/reg2kh
|
218
|
+
"""
|
219
|
+
|
220
|
+
if key_type == "ssh-ed25519":
|
221
|
+
x, y = iv.split(",")
|
222
|
+
key = ECC.construct(curve="ed25519", point_x=int(x, 16), point_y=int(y, 16))
|
223
|
+
return key.public_key().export_key(format="OpenSSH").split()[-1]
|
224
|
+
|
225
|
+
if key_type == "ecdsa-sha2-nistp256":
|
226
|
+
_, x, y = iv.split(",")
|
227
|
+
key = ECC.construct(curve="NIST P-256", point_x=int(x, 16), point_y=int(y, 16))
|
228
|
+
return key.public_key().export_key(format="OpenSSH").split()[-1]
|
229
|
+
|
230
|
+
if key_type == "rsa2":
|
231
|
+
exponent, modulus = iv.split(",")
|
232
|
+
key = RSA.construct((int(modulus, 16), int(exponent, 16)))
|
233
|
+
return key.public_key().export_key(format="OpenSSH").decode("utf-8").split()[-1]
|
234
|
+
|
235
|
+
log.warning("Could not reconstruct public key: type %s not implemented.", key_type)
|
236
|
+
return iv
|
@@ -0,0 +1,58 @@
|
|
1
|
+
from dissect.target.helpers.descriptor_extensions import UserRecordDescriptorExtension
|
2
|
+
from dissect.target.helpers.record import create_extended_descriptor
|
3
|
+
from dissect.target.plugin import NamespacePlugin
|
4
|
+
|
5
|
+
OpenSSHUserRecordDescriptor = create_extended_descriptor([UserRecordDescriptorExtension])
|
6
|
+
|
7
|
+
COMMON_ELLEMENTS = [
|
8
|
+
("string", "key_type"),
|
9
|
+
("string", "comment"),
|
10
|
+
("path", "path"),
|
11
|
+
]
|
12
|
+
|
13
|
+
AuthorizedKeysRecord = OpenSSHUserRecordDescriptor(
|
14
|
+
"application/openssh/authorized_keys",
|
15
|
+
[
|
16
|
+
*COMMON_ELLEMENTS,
|
17
|
+
("string", "public_key"),
|
18
|
+
("string", "options"),
|
19
|
+
],
|
20
|
+
)
|
21
|
+
|
22
|
+
|
23
|
+
KnownHostRecord = OpenSSHUserRecordDescriptor(
|
24
|
+
"application/openssh/known_host",
|
25
|
+
[
|
26
|
+
("datetime", "mtime_ts"),
|
27
|
+
*COMMON_ELLEMENTS,
|
28
|
+
("string", "host"),
|
29
|
+
("varint", "port"),
|
30
|
+
("string", "public_key"),
|
31
|
+
("string", "marker"),
|
32
|
+
],
|
33
|
+
)
|
34
|
+
|
35
|
+
|
36
|
+
PrivateKeyRecord = OpenSSHUserRecordDescriptor(
|
37
|
+
"application/openssh/private_key",
|
38
|
+
[
|
39
|
+
("datetime", "mtime_ts"),
|
40
|
+
*COMMON_ELLEMENTS,
|
41
|
+
("string", "key_format"),
|
42
|
+
("string", "public_key"),
|
43
|
+
("boolean", "encrypted"),
|
44
|
+
],
|
45
|
+
)
|
46
|
+
|
47
|
+
PublicKeyRecord = OpenSSHUserRecordDescriptor(
|
48
|
+
"application/openssh/public_key",
|
49
|
+
[
|
50
|
+
("datetime", "mtime_ts"),
|
51
|
+
*COMMON_ELLEMENTS,
|
52
|
+
("string", "public_key"),
|
53
|
+
],
|
54
|
+
)
|
55
|
+
|
56
|
+
|
57
|
+
class SSHPlugin(NamespacePlugin):
|
58
|
+
__namespace__ = "ssh"
|
@@ -329,7 +329,7 @@ class RegistryPlugin(Plugin):
|
|
329
329
|
@internal
|
330
330
|
def get_user_details(self, key: RegistryKey) -> UserDetails:
|
331
331
|
"""Return user details for the user who owns a registry hive that contains the provided key"""
|
332
|
-
if not key.hive or not key.hive
|
332
|
+
if not key.hive or not getattr(key.hive, "filepath", None):
|
333
333
|
return
|
334
334
|
|
335
335
|
return self._hives_to_users.get(key.hive)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: dissect.target
|
3
|
-
Version: 3.15.
|
3
|
+
Version: 3.15.dev14
|
4
4
|
Summary: This module ties all other Dissect modules together, it provides a programming API and command line tools which allow easy access to various data sources inside disk images or file collections (a.k.a. targets)
|
5
5
|
Author-email: Dissect Team <dissect@fox-it.com>
|
6
6
|
License: Affero General Public License v3
|
@@ -131,6 +131,8 @@ dissect/target/plugins/apps/shell/powershell.py
|
|
131
131
|
dissect/target/plugins/apps/ssh/__init__.py
|
132
132
|
dissect/target/plugins/apps/ssh/openssh.py
|
133
133
|
dissect/target/plugins/apps/ssh/opensshd.py
|
134
|
+
dissect/target/plugins/apps/ssh/putty.py
|
135
|
+
dissect/target/plugins/apps/ssh/ssh.py
|
134
136
|
dissect/target/plugins/apps/vpn/__init__.py
|
135
137
|
dissect/target/plugins/apps/vpn/openvpn.py
|
136
138
|
dissect/target/plugins/apps/vpn/wireguard.py
|
@@ -398,6 +400,7 @@ tests/plugins/apps/shell/test_powershell.py
|
|
398
400
|
tests/plugins/apps/ssh/__init__.py
|
399
401
|
tests/plugins/apps/ssh/test_openssh.py
|
400
402
|
tests/plugins/apps/ssh/test_opensshd.py
|
403
|
+
tests/plugins/apps/ssh/test_putty.py
|
401
404
|
tests/plugins/apps/vpn/__init__.py
|
402
405
|
tests/plugins/apps/vpn/test_openvpn.py
|
403
406
|
tests/plugins/apps/vpn/test_wireguard.py
|
{dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/ssh/test_openssh.py
RENAMED
@@ -65,7 +65,7 @@ class Alternatives:
|
|
65
65
|
return self.separator.join([mapping.get(target_dir), *file_name.split("/")])
|
66
66
|
|
67
67
|
|
68
|
-
def test_authorized_keys_plugin(target_and_filesystem: tuple[Target, VirtualFilesystem]):
|
68
|
+
def test_authorized_keys_plugin(target_and_filesystem: tuple[Target, VirtualFilesystem]) -> None:
|
69
69
|
target, fs = target_and_filesystem
|
70
70
|
authorized_keys_data = """
|
71
71
|
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINz6oq+IweAoQFMzQ0aJLYXJFkLn3tXMbVZ550wvUKOw
|
@@ -114,7 +114,7 @@ def test_authorized_keys_plugin(target_and_filesystem: tuple[Target, VirtualFile
|
|
114
114
|
assert results[4].comment == "with a comment"
|
115
115
|
|
116
116
|
|
117
|
-
def test_known_hosts_plugin(target_and_filesystem):
|
117
|
+
def test_known_hosts_plugin(target_and_filesystem: tuple[Target, VirtualFilesystem]) -> None:
|
118
118
|
target, fs = target_and_filesystem
|
119
119
|
|
120
120
|
known_hosts_data = """
|
@@ -137,41 +137,42 @@ def test_known_hosts_plugin(target_and_filesystem):
|
|
137
137
|
|
138
138
|
target.add_plugin(OpenSSHPlugin)
|
139
139
|
|
140
|
-
results = list(target.
|
140
|
+
results = list(target.openssh.known_hosts())
|
141
141
|
assert len(results) == 6
|
142
142
|
|
143
|
-
assert results[0].
|
143
|
+
assert results[0].host == "cvs.example.net"
|
144
144
|
assert results[0].key_type == "ssh-rsa"
|
145
145
|
assert results[0].comment == "comment with spaces"
|
146
146
|
assert results[0].marker is None
|
147
147
|
|
148
|
-
assert results[1].
|
148
|
+
assert results[1].host == "192.0.2.10"
|
149
149
|
assert results[1].key_type == "ssh-rsa"
|
150
150
|
assert results[1].comment == "comment with spaces"
|
151
151
|
assert results[1].marker is None
|
152
152
|
|
153
|
-
assert results[2].
|
153
|
+
assert results[2].host == "|1|JfKTdBh7rNbXkVAQCRp4OQoPfmI=|USECr3SWf1JUPsms5AqfD5QfxkM="
|
154
154
|
assert results[2].key_type == "ssh-rsa"
|
155
155
|
assert results[2].comment == ""
|
156
156
|
assert results[2].marker is None
|
157
157
|
|
158
|
-
assert results[3].
|
158
|
+
assert results[3].host == "*"
|
159
159
|
assert results[3].key_type == "ssh-rsa"
|
160
160
|
assert results[3].comment == ""
|
161
161
|
assert results[3].marker == "@revoked"
|
162
162
|
|
163
|
-
assert results[4].
|
163
|
+
assert results[4].host == "*.mydomain.org"
|
164
164
|
assert results[4].key_type == "ssh-rsa"
|
165
165
|
assert results[4].comment == ""
|
166
166
|
assert results[4].marker == "@cert-authority"
|
167
167
|
|
168
|
-
assert results[5].
|
168
|
+
assert results[5].host == "*.mydomain.com"
|
169
169
|
assert results[5].key_type == "ssh-rsa"
|
170
170
|
assert results[5].comment == ""
|
171
171
|
assert results[5].marker == "@cert-authority"
|
172
|
+
assert results[5].username == target_system.user_name
|
172
173
|
|
173
174
|
|
174
|
-
def test_private_keys_plugin_rfc4716_ed25519(target_and_filesystem):
|
175
|
+
def test_private_keys_plugin_rfc4716_ed25519(target_and_filesystem: tuple[Target, VirtualFilesystem]) -> None:
|
175
176
|
target, fs = target_and_filesystem
|
176
177
|
private_key_data = """
|
177
178
|
-----BEGIN OPENSSH PRIVATE KEY-----
|
@@ -199,7 +200,7 @@ def test_private_keys_plugin_rfc4716_ed25519(target_and_filesystem):
|
|
199
200
|
|
200
201
|
target.add_plugin(OpenSSHPlugin)
|
201
202
|
|
202
|
-
results = list(target.
|
203
|
+
results = list(target.openssh.private_keys())
|
203
204
|
assert len(results) == 1
|
204
205
|
|
205
206
|
private_key = results[0]
|
@@ -208,12 +209,12 @@ def test_private_keys_plugin_rfc4716_ed25519(target_and_filesystem):
|
|
208
209
|
assert private_key.comment == "long comment here"
|
209
210
|
assert private_key.public_key == public_key_data
|
210
211
|
assert not private_key.encrypted
|
211
|
-
assert str(private_key.path)
|
212
|
-
|
213
|
-
)
|
212
|
+
assert str(private_key.path).replace("\\", "/") == target_system.filesystem_path(
|
213
|
+
"ssh_host_ed25519_key", TargetDir.SSHD
|
214
|
+
).replace(target_system.label, "\\sysvol\\").replace("\\", "/")
|
214
215
|
|
215
216
|
|
216
|
-
def test_private_keys_plugin_rfc4716_rsa_encrypted(target_and_filesystem):
|
217
|
+
def test_private_keys_plugin_rfc4716_rsa_encrypted(target_and_filesystem: tuple[Target, VirtualFilesystem]) -> None:
|
217
218
|
target, fs = target_and_filesystem
|
218
219
|
# Generated using password "password".
|
219
220
|
private_key_data = """
|
@@ -274,7 +275,7 @@ def test_private_keys_plugin_rfc4716_rsa_encrypted(target_and_filesystem):
|
|
274
275
|
|
275
276
|
target.add_plugin(OpenSSHPlugin)
|
276
277
|
|
277
|
-
results = list(target.
|
278
|
+
results = list(target.openssh.private_keys())
|
278
279
|
private_key = results[0]
|
279
280
|
|
280
281
|
assert len(results) == 1
|
@@ -283,10 +284,12 @@ def test_private_keys_plugin_rfc4716_rsa_encrypted(target_and_filesystem):
|
|
283
284
|
assert private_key.public_key == public_key_data
|
284
285
|
assert private_key.comment == ""
|
285
286
|
assert private_key.encrypted
|
286
|
-
assert str(private_key.path) == target_system.filesystem_path(
|
287
|
+
assert str(private_key.path).replace("\\", "/") == target_system.filesystem_path(
|
288
|
+
".ssh/id_rsa", TargetDir.HOME
|
289
|
+
).replace("\\", "/")
|
287
290
|
|
288
291
|
|
289
|
-
def test_private_keys_plugin_pem_ecdsa(target_and_filesystem):
|
292
|
+
def test_private_keys_plugin_pem_ecdsa(target_and_filesystem: tuple[Target, VirtualFilesystem]) -> None:
|
290
293
|
target, fs = target_and_filesystem
|
291
294
|
private_key_data = """
|
292
295
|
-----BEGIN EC PRIVATE KEY-----
|
@@ -304,7 +307,7 @@ def test_private_keys_plugin_pem_ecdsa(target_and_filesystem):
|
|
304
307
|
|
305
308
|
target.add_plugin(OpenSSHPlugin)
|
306
309
|
|
307
|
-
results = list(target.
|
310
|
+
results = list(target.openssh.private_keys())
|
308
311
|
private_key = results[0]
|
309
312
|
|
310
313
|
assert len(results) == 1
|
@@ -312,10 +315,12 @@ def test_private_keys_plugin_pem_ecdsa(target_and_filesystem):
|
|
312
315
|
assert private_key.key_type == "ecdsa"
|
313
316
|
assert private_key.username == target_system.user_name
|
314
317
|
assert not private_key.encrypted
|
315
|
-
assert str(private_key.path) == target_system.filesystem_path(
|
318
|
+
assert str(private_key.path).replace("\\", "/") == target_system.filesystem_path(
|
319
|
+
".ssh/id_ecdsa", TargetDir.HOME
|
320
|
+
).replace("\\", "/")
|
316
321
|
|
317
322
|
|
318
|
-
def test_private_keys_plugin_pkcs8_dsa(target_and_filesystem):
|
323
|
+
def test_private_keys_plugin_pkcs8_dsa(target_and_filesystem: tuple[Target, VirtualFilesystem]) -> None:
|
319
324
|
target, fs = target_and_filesystem
|
320
325
|
private_key_data = """
|
321
326
|
-----BEGIN PRIVATE KEY-----
|
@@ -337,17 +342,19 @@ def test_private_keys_plugin_pkcs8_dsa(target_and_filesystem):
|
|
337
342
|
|
338
343
|
target.add_plugin(OpenSSHPlugin)
|
339
344
|
|
340
|
-
results = list(target.
|
345
|
+
results = list(target.openssh.private_keys())
|
341
346
|
private_key = results[0]
|
342
347
|
|
343
348
|
assert len(results) == 1
|
344
349
|
assert private_key.key_format == "PKCS8"
|
345
350
|
assert private_key.username == target_system.user_name
|
346
351
|
assert not private_key.encrypted
|
347
|
-
assert str(private_key.path) == target_system.filesystem_path(
|
352
|
+
assert str(private_key.path).replace("\\", "/") == target_system.filesystem_path(
|
353
|
+
".ssh/id_dsa", TargetDir.HOME
|
354
|
+
).replace("\\", "/")
|
348
355
|
|
349
356
|
|
350
|
-
def test_public_keys_plugin(target_and_filesystem):
|
357
|
+
def test_public_keys_plugin(target_and_filesystem: tuple[Target, VirtualFilesystem]) -> None:
|
351
358
|
target, fs = target_and_filesystem
|
352
359
|
user_public_key_data = (
|
353
360
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINz6oq+IweAoQFMzQ0aJLYXJFkLn3tXMbVZ550wvUKOw long comment here"
|
@@ -376,7 +383,7 @@ def test_public_keys_plugin(target_and_filesystem):
|
|
376
383
|
|
377
384
|
target.add_plugin(OpenSSHPlugin)
|
378
385
|
|
379
|
-
results = list(target.
|
386
|
+
results = list(target.openssh.public_keys())
|
380
387
|
|
381
388
|
assert len(results) == 2
|
382
389
|
|
@@ -386,11 +393,13 @@ def test_public_keys_plugin(target_and_filesystem):
|
|
386
393
|
assert user_public_key.key_type == user_public_key_data.split(" ", 2)[0]
|
387
394
|
assert user_public_key.public_key == user_public_key_data.split(" ", 2)[1]
|
388
395
|
assert user_public_key.comment == user_public_key_data.split(" ", 2)[2]
|
389
|
-
assert str(user_public_key.path) == target_system.filesystem_path(
|
396
|
+
assert str(user_public_key.path).replace("\\", "/") == target_system.filesystem_path(
|
397
|
+
".ssh/id_ed25519.pub", TargetDir.HOME
|
398
|
+
).replace("\\", "/")
|
390
399
|
|
391
400
|
assert host_public_key.key_type == host_public_key_data.split(" ", 2)[0]
|
392
401
|
assert host_public_key.public_key == host_public_key_data.split(" ", 2)[1]
|
393
402
|
assert host_public_key.comment == host_public_key_data.split(" ", 2)[2]
|
394
|
-
assert str(host_public_key.path)
|
395
|
-
|
396
|
-
)
|
403
|
+
assert str(host_public_key.path).replace("\\", "/") == target_system.filesystem_path(
|
404
|
+
"ssh_host_rsa_key.pub", TargetDir.SSHD
|
405
|
+
).replace(target_system.label, "\\sysvol\\").replace("\\", "/")
|
{dissect.target-3.15.dev13 → dissect.target-3.15.dev14}/tests/plugins/apps/ssh/test_opensshd.py
RENAMED
@@ -13,7 +13,7 @@ def test_sshd_config_plugin(target_unix_users: Target, fs_unix: VirtualFilesyste
|
|
13
13
|
fs_unix.map_file(str(plugin.sshd_config_path), config_file)
|
14
14
|
|
15
15
|
target_unix_users.add_plugin(SSHServerPlugin)
|
16
|
-
results = list(target_unix_users.
|
16
|
+
results = list(target_unix_users.opensshd.config())
|
17
17
|
|
18
18
|
assert len(results) == 1
|
19
19
|
result = results[0]
|
@@ -43,7 +43,7 @@ def test_sshd_config_plugin_multiple_definitions(target_unix_users: Target, fs_u
|
|
43
43
|
)
|
44
44
|
|
45
45
|
target_unix_users.add_plugin(SSHServerPlugin)
|
46
|
-
results = list(target_unix_users.
|
46
|
+
results = list(target_unix_users.opensshd.config())
|
47
47
|
|
48
48
|
assert len(results) == 1
|
49
49
|
result = results[0]
|