Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mirc and a VPS Proxy using Netcat
Hi IRC nerds

I was fooling around with netcat and found a cool way to make a Proxy using a VPS.

Naturally Mirc itself has a Proxy option already using Http and Socks but this could be interesting for people.

So we have Mirc on a Windows System and a Linux VPS.

I made this connection completely automated and will describe the way it works.

The VPS has IP of say for a hypothetical example.

So in Mirc Remotes you put,


server -m
/run C:\server.bat


Now as you can see we have port 5555 not 6667 etc. this is for the netcat listener. The server.bat file is the automated file which starts the netcat listener on the VPS using ssh.

So lets start with the VPS and the netcat listener.

Ssh to your vps and login to root.

make sure you are in root@vps:/home/user

Now type

mknod pipe p

this creates a pipe

Then type


Enter this into your .sh file


nc -l -p 5555 0<pipe | tee -a in.dump | nc 6667 | tee -a out.dump 1>pipe

Save file

To run the file type


So that creates a pipe that connects the netcat listener on port 5555 and the IRC server.

So when you START mirc it will connect to your VPS on 5555 which pipes to the IRC server.

It is just simple Socket connections.

To automate this is a little trickier which is the server.bat file

You will need to first install PuTTy in C:\putty.exe

This is how you ssh to your VPS and run the script automatically.

Open notepad and type

START putty.exe -ssh user@ ^-pw password ^-m chat.txt

save as server.bat in C:\server.bat

the ^ is to escape the -pw and -m commands

the chat.txt file gets executed which executes the script on your VPS

In notepad in a new file type


save as chat.txt in C:\chat.txt

the password is your root password on your VPS

If everything works you will run Mirc.exe and it will open a server to
run the server.bat which ssh's to your VPS and runs the script
and Mirc will connect to your VPS and to IRC automatically.


Possibly Related Threads…
Thread Author Replies Views Last Post
  secure query for mirc wildcard 2 2,487 20-03-2019, 05:37 AM
Last Post: immortal
  mIRC 7.46 [Aug 1st, 2016] Keith 0 1,844 10-08-2016, 02:52 PM
Last Post: Keith
  mIRC (Version 7.35) Keith 1 2,704 31-05-2016, 12:04 PM
Last Post: immortal
  mIRC (Version: 7.43) Keith 4 5,203 28-05-2016, 09:30 AM
Last Post: Manati
  Vlc addons for mIRC DrAgOnHeArT 0 2,382 27-05-2016, 02:21 PM
Last Post: DrAgOnHeArT
  Change your color font on mIRC Omar 10 16,343 29-03-2016, 03:14 PM
Last Post: pollaris
  Translator any language for Mirc Script IrCQ-Net 4 7,304 23-10-2014, 03:13 PM
Last Post: Omar
  mIRC for Mobile Phones Omar 3 5,458 09-12-2013, 10:16 AM
Last Post: Omar
  mIRC with other languages Omar 1 3,051 11-04-2012, 01:40 PM
Last Post: WildCat
  Getting Started with mIRC Omar 0 3,147 05-04-2012, 06:23 PM
Last Post: Omar

Forum Jump:

Users browsing this thread: 1 Guest(s)