Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There was another question like this. Use netcat. 'man nc'. <strong>Use os.system() in python to spawn it on both client side and server side.</strong></p> <p>From the netcat manual page:</p> <blockquote> <p>DESCRIPTION</p> <p>The nc (or netcat) utility is used for just about anything under the sun involving TCP or UDP. It can open TCP connections, send UDP packets, listen on arbitrary TCP and UDP ports, do port scanning, and deal with both IPv4 and IPv6. Unlike telnet(1), nc scripts nicely, and separates error messages onto standard error instead of sending them to standard output, as telnet(1) does with some.</p> <p>Common uses include:</p> <ul> <li>simple TCP proxies</li> <li>shell-script based HTTP clients and servers</li> <li>network daemon testing</li> <li>a SOCKS or HTTP ProxyCommand for ssh(1)</li> <li>and much, much more</li> </ul> </blockquote> <p>This works great for both local or remote machines on an intranet and also internet if aware of the related issues (original question did not specify the meaning of 'remote'). Some examples are:</p> <ul> <li><a href="http://www.sans.org/security-resources/sec560/netcat_cheat_sheet_v1.pdf" rel="nofollow">http://www.sans.org/security-resources/sec560/netcat_cheat_sheet_v1.pdf</a> </li> <li><p>"Netcat - The TCP/IP Swiss Army Knife - SANS" </p> <ul> <li><a href="http://www.sans.org/reading_room/whitepapers/tools/netcat-tcp-ip-swiss-army-knife_952" rel="nofollow">http://www.sans.org/reading_room/whitepapers/tools/netcat-tcp-ip-swiss-army-knife_952</a> </li> <li>Note that sans.org teaches both foundational comp sci tools and security.</li> </ul></li> <li><p><a href="http://www.g-loaded.eu/2006/11/06/netcat-a-couple-of-useful-examples/" rel="nofollow">http://www.g-loaded.eu/2006/11/06/netcat-a-couple-of-useful-examples/</a> ; Note this example includes complete automated backup via netcat: "Netcat is extremely useful for creating a partition image and sending it to a remote machine on-the-fly"</p></li> <li><p><a href="http://www.stearns.org/doc/nc-intro.v0.9.html" rel="nofollow">http://www.stearns.org/doc/nc-intro.v0.9.html</a> ; An example for making dirt simple remote logging.</p></li> </ul> <p>As for the comment "but that isn't python": Don't reinvent the wheel when there are very good foundational utilities which have been ported to all O/Ss and have no other dependencies other than the underlying base O/S.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload