Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


how to send info from ur pc to another with batch filter_list
Author
Message
how to send info from ur pc to another with batch #1
On the Destination Machine (Listening):

Open a terminal and run the following command:

bash

nc -l -p 12345

This will be listening on port 12345.

On the Source Machine (Sending):

Create a batch file (e.g., send.bat) with the following content:

batch

@echo off
echo Hello, World! | nc DESTINATION_IP 12345

Replace DESTINATION_IP with the IP address of the destination machine.

Run the batch file on the source machine. This will send the text "Hello, World!" over the network to port 12345 on the destination machine.

Keep in mind that this method is very basic and does not provide security or error handling. For more advanced computer communication tasks, it would be more appropriate to consider programming languages like Python, PowerShell, or even more specialized network tools.

Reply







Users browsing this thread: 1 Guest(s)