الأحد، 20 أكتوبر 2013

How to setup your own IRC Botnet

 I will be showing you how to set up an IRC off your VPS and or Dedi. I will be using CentOS 6, which I use on all my Dedis, I highly recommend it. So, lets get started. This guide will be showing you how to set up a IRC, with any max connection w/o Unknowns Modded IRCd.
1. Update
Code:
yum update

[Image: f2d2098f9386a8658cd746a20f43dcb8.png?1356880049]
I have already updated mine.

2. Install gcc
Code:
yum install gcc

[Image: da2709e5ae2c7d65472613baf0a3fa1a.png?1356880099]
I have mine already installed to the newest version.

3. Download UnrealIRCD 3.2
Code:
wget http://www.unrealircd.com/downloads/Unreal3.2.9.tar.gz

[Image: 29894a216217165954a711712521da2a.png?1356880197]
4. Extract the files
Code:
tar xf Unreal3.2.9.tar.gz

[Image: 33d821dce8d955fcae3303bac6871e35.png]
5. If you plan on having more than 1024 users/bots, upgrade the setsize
Code:
nano /usr/include/bits/typesizes.h
Scroll down to "#define __FD_SETSIZE 1024" and change 1024 to 12000 (or how much you plant to old). Save the file.(Ctrl & X, Y, Enter)

[Image: 8cd58226cd1c97591dbcffb0bf9464fc.png?1356880332]
6.Enter Unreal folder:
Code:
cd Unreal3.2

[Image: 99c72ca76a4cac6e9b98e8f9dc572256.png?1356880433]
7.Enter Unreal config
Code:
./Config
Hold enter until it says 100% on the bottom or when it says "[Enter to continue]"
Press enter until you get to "How many file descriptors (or sockets) can the IRCd use? [1024] ->" Type 12000 and press enter for the rest

[Image: 4e1c34bf0f308007977d7098f1504da9.png?1356880498]
8. Copy and paste this code from the pastebin link I provide, it is the unrealircd.conf. Click Here
Type, nano unrealircd.conf
Then paste the code from pastebin, if you use Putty right click to paste.
After, edit to your liking.

** MAKES SURE YOU CHANGE THE FIRST MAX CLIENTS TO THE LIMIT YOU PUT WHEN YOU CONFIGURED

[Image: b7d2dee45f7a9074867e853695e9b76c.png?1356882021]
** Under the oper block, I would add these lines

[Image: bb0ad3b7fb51372639304ea58cd21a67.png?1356880912]
add
Code:
global;
services-admin;
can_rehash;
can_die;
can_restart;
helpop;
can_wallops;
can_globops;
can_localroute;
can_globalroute;
can_localkill;
can_globalkill;
can_kline;
can_gzline;
can_gkline;
can_unkline;
can_localnotice;
can_globalnotice;
netadmin;
can_zline;
get_umodew;
get_host;
can_override;
Should look like this when you are done.
[Image: 88da9847ee163130820ebb5306f53b4e.png?1356881206]
** Save the file (Ctrl & X, Y, Enter)
9)type: make
[Image: 41826990455cab5906fa3a7c806134af.png?1356881307]
10)Start your IRC
** If you get an error saying could not find, ircd.motd.fr, ircd.rules.fr, ircd.log. | Just type: touch ircd.motd.fr ircd.rules.fr ircd.log
Type..
Code:
ulimit -n 12000;./unreal start
[Image: d5b2b966dd4e9780a0b1aa6ccb02d2ce.png?1356882098]
You will now be able to connect to your IRC using a client like "mIRC" for Windows, "LimeChat" for Mac, or "KVIrc" for Linux."