DISNIX-BACKDOOR-CLIENT(1)
π DISNIX-BACKDOOR-CLIENT(1) β disnix-backdoor-client manual from User Commands, bestie π
πΈ NAME πΈ
disnix-backdoor-client β provides access to the disnix-service through a socket with public access. Thatβs the name-section vibe, and it ate. π
β¨ SYNOPSIS β¨
Hereβs the exact shape, no cap:
disnix-backdoor-client --target socat_address operation [OPTION] [paths]
π¦ DESCRIPTION π¦
Okay so disnix-backdoor-client gives you remote access to a disnix-service instance running on a machine in the network by using an insecure socket with public access. Yes, bestie, insecure is literally in the original π. This tool is designed for use with disnixos-vm-env to automatically deploy a system in a network of virtual machines.
In most cases this command is not used directly. Instead, itβs used by specifying the --interface option for a Disnix command-line utility (such as disnix-env) or by setting the DISNIX_CLIENT_INTERFACE environment variable. By using one of those properties, the Disnix tools will use the given interface instead of the standard disnix-client, which only provides loopback access. Iconic indirection, honestly. π«Ά
β οΈ The page says insecure socket with public access, so letβs not pretend thatβs a security flex. Itβs the whole backdoor-client vibe, periodt.
π OPTIONS π
Pick your operation, then add the options that match. Everything below is exactly what the page says β Iβm just adding sparkle. β¨
π₯ Operations:
--importβ Imports a given closure into the Nix store of the target machine. Optionally, it transfers the closure from this machine to the target machine. π--exportβ Exports the closure of a given Nix store path of the target machine into a file, and optionally downloads it. π¦--print-invalidβ Prints all the paths that are not valid in the Nix store of the target machine. π-r,--realiseβ Realises the given store derivation on the target machine. π₯--setβ Creates a Disnix profile only containing the given derivation on the target machine. π-q,--query-installedβ Queries all the installed services on the given target machine. π--query-requisitesβ Queries all the requisites (intra-dependencies) of the given services on the target machine. π--collect-garbageβ Collects garbage on the given target machine. π--activateβ Activates the given service on the target machine. β--deactivateβ Deactivates the given service on the target machine. π--lockβ Acquires a lock on a Disnix profile of the target machine. π--unlockβ Release the lock on a Disnix profile of the target machine. π--snapshotβ Snapshots the logical state of a component on the given target machine. πΈ--restoreβ Restores the logical state of a component on the given target machine. π§--delete-stateβ Deletes the state of a component on the given machine. π--query-all-snapshotsβ Queries all available snapshots of a component on the given target machine. π--query-latest-snapshotβ Queries the latest snapshot of a component on the given target machine. β¨--print-missing-snapshotsβ Prints the paths of all snapshots not present on the given target machine. π--import-snapshotsβ Imports the specified snapshots into the remote snapshot store. π--export-snapshotsβ Exports the specified snapshot to the local snapshot store. π¦--resolve-snapshotsβ Converts the relative paths to the snapshots to absolute paths. πΈ--clean-snapshotsβ Removes older snapshots from the snapshot store. π§Ή--capture-configβ Captures the configuration of the machine from the Dysnomia container properties in a Nix expression. π--helpβ Shows the usage of this command to the user. π«Ά--versionβ Shows the version of this command to the user. π
π General options:
-t,--target=TARGETβ Specifies the hostname and optional port number of the SSH server used to connect to the target machine. π
π Import/Export/Import snapshots/Export snapshots options:
--localfileβ Specifies that the given paths are stored locally and must be transferred to the remote machine if needed. π--remotefileβ Specifies that the given paths are stored remotely and must be transferred from the remote machine if needed. π¦
π§Έ Set/Query installed/Lock/Unlock options:
-p,--profile=PROFILEβ Name of the Disnix profile. Defaults to:default. π
π Collect garbage options:
-d,--delete-oldβ Indicates whether all older generations of Nix profiles must be removed as well. π₯
π§ Activation/Deactivation/Snapshot/Restore/Delete state options:
--type=TYPEβ Specifies the activation module that should be used, such asechoorprocess. β--arguments=ARGUMENTSβ Specifies the arguments passed to the Dysnomia module, which is a string withkey=valuepairs. π--container=CONTAINERβ Name of the container in which the component is managed. If omitted it will default to the same value as the type. πΈ
π Query all snapshots/Query latest snapshot options:
-C,--container=CONTAINERβ Name of the container in which the component is managed. π-c,--component=COMPONENTβ Name of the component hosted in a container. π¦
π Clean snapshots options:
--keep=NUMβ Amount of snapshot generations to keep. Defaults to:1. β¨-C,--container=CONTAINERβ Name of the container to filter on. π-c,--component=COMPONENTβ Name of the component to filter on. π
π± ENVIRONMENT π±
DISNIX_REMOTE_CLIENTβ Name of the remote executable to run to execute a deployment activity (defaults to:disnix-run-activity). π«ΆDISNIX_PROFILEβ Sets the name of the profile that stores the manifest on the coordinator machine and the deployed services per machine on each target (Defaults to:default). πDYSNOMIA_STATEDIRβ Specifies where the snapshots must be stored on the coordinator machine (defaults to:/var/state/dysnomia). πΈ
π COPYRIGHT π
Copyright Β© 2008-2022 Sander van der Burg
π And thatβs the whole manual, bestie. The footerβs source/version is disnix..., dated January 1980, for DISNIX-BACKDOOR-CLIENT(1). Bye and slay responsibly! π
π¦ where this page comes from
- nixos 26.05: disnixos 0.9.4
- nixpkgs unstable: disnixos 0.9.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms