File Transfer
How to transfer files with Linux and Windows
Linux -> Windows
Certutil (exe)
First establish a web server with python in Linux terminal
Now in windows execute
PowerShell
First establish a web server with python in Linux terminal
With PowerShell in cmd we have several options.
En windows crear una sesion powershell. Simplemente escribe powershell
impacket-smbserver
Linux
To windows 10
impacket-smbserver smbFolder $(pwd) -smb2support -username <anyuser> -password <anypw>
To other windows
impacket-smbserver smbFolder $(pwd) -username <anyuser> -password <anypw>
impacket-smbserver smbFolder $(pwd)
Windows
Linux -> Linux
Option A
Machine to act as server and has the file:
Machine where you want to save the file:
Option B
Server:
Receiver:
Option C
Receiver:
Sender:
Validate integrity, execute it in both systems, hash needs to be the same:
Windows -> Linux
Shared folder
On Linux, we create the shared folder:
And copy file:
In case of error like this:
We need to try with credentials:
And now on Windows machine we "linked" the shared folder in a network:
Last updated