<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Linux to Linux on rchitect</title><link>https://www.rchitect.in/tags/linux-to-linux/</link><description>Recent content in Linux to Linux on rchitect</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 05 Apr 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://www.rchitect.in/tags/linux-to-linux/index.xml" rel="self" type="application/rss+xml"/><item><title>File transfer between Windows,Linux machines</title><link>https://www.rchitect.in/posts/file-upload/</link><pubDate>Tue, 05 Apr 2022 00:00:00 +0000</pubDate><guid>https://www.rchitect.in/posts/file-upload/</guid><description>&lt;h1 id="file-transfer-between-windowslinux-machines"&gt;
 File Transfer between Windows,Linux Machines
 &lt;a class="heading-link" href="#file-transfer-between-windowslinux-machines"&gt;
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;
 &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;
 &lt;/a&gt;
&lt;/h1&gt;
&lt;h3 id="method-1--ftp"&gt;
 Method-1- FTP
 &lt;a class="heading-link" href="#method-1--ftp"&gt;
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;
 &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;
 &lt;/a&gt;
&lt;/h3&gt;
&lt;p&gt;Some time FTP option is enabled with &amp;ldquo;anonymous&amp;rdquo; user and password any or blank.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;$ ftp 10.10.10.116
Connected to 10.10.10.116.
220 Microsoft FTP Service
Name (10.10.10.116:rocky): anonymous
331 Anonymous access allowed, send identity (e-mail name) as password.
Password:
230 User logged in.
Remote system type is Windows_NT.
ftp&amp;gt; ls
200 PORT command successful.
125 Data connection already open; Transfer starting.
226 Transfer complete.
ftp&amp;gt; ls -al
200 PORT command successful.
125 Data connection already open; Transfer starting.
226 Transfer complete.
ftp&amp;gt; pwd
257 &amp;#34;/&amp;#34; is current directory.
ftp&amp;gt; ls
200 PORT command successful.
125 Data connection already open; Transfer starting.
226 Transfer complete.
ftp&amp;gt; exit
421 Service not available, remote server has closed connection

┌──(rocky㉿kali)-[~/hckbox/conceal/ftpdump]
└─$ echo &amp;#34;sample file rchitect&amp;#34; &amp;gt; test.txt

┌──(rocky㉿kali)-[~/hckbox/conceal/ftpdump]
└─$ ftp 10.10.10.116 
ftp: connect: Connection timed out
ftp&amp;gt; exit

┌──(rocky㉿kali)-[~/hckbox/conceal/ftpdump]
└─$ ftp 10.10.10.116
ftp: connect: Connection timed out
ftp&amp;gt; ^C
ftp&amp;gt; exit

┌──(rocky㉿kali)-[~/hckbox/conceal/ftpdump]
└─$ ftp 10.10.10.116
Connected to 10.10.10.116.
220 Microsoft FTP Service
Name (10.10.10.116:rocky): anonymous
331 Anonymous access allowed, send identity (e-mail name) as password.
Password:
230 User logged in.
Remote system type is Windows_NT.
ftp&amp;gt; put test.txt
local: test.txt remote: test.txt
200 PORT command successful.
125 Data connection already open; Transfer starting.
226 Transfer complete.
22 bytes sent in 0.00 secs (477.4305 kB/s)
ftp&amp;gt; exit
221 Goodbye.
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id="method-2---smb-transfer"&gt;
 Method-2 - SMB Transfer
 &lt;a class="heading-link" href="#method-2---smb-transfer"&gt;
 &lt;i class="fa-solid fa-link" aria-hidden="true" title="Link to heading"&gt;&lt;/i&gt;
 &lt;span class="sr-only"&gt;Link to heading&lt;/span&gt;
 &lt;/a&gt;
&lt;/h3&gt;
&lt;p&gt;If we have reverse normal shell to the Windows machine, most of the case &amp;ldquo;SMB transfer&amp;rdquo; should work&lt;/p&gt;</description></item></channel></rss>