Hack Forums
[Tutorial] How to setup Unrealircd on a vps/dedi [Tutorial] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45)
+--- Forum: Blackhat • Red Team • Offensive Security (https://hackforums.net/forumdisplay.php?fid=447)
+---- Forum: Botnets and Botting (https://hackforums.net/forumdisplay.php?fid=92)
+---- Thread: [Tutorial] How to setup Unrealircd on a vps/dedi [Tutorial] (/showthread.php?tid=3302799)

Pages: Pages 1 2 3


[Tutorial] How to setup Unrealircd on a vps/dedi [Tutorial] - mad - Mar 4, 2013

Unrealircd setup

First login to your vps, then do an update:
For CentOs
Code
yum update
Or Ubuntu
Code
apt-get update
Or Opensuse
Code
zypper update

After the update is done, make sure that gcc & make are installed, if not installed you can install them by:
For CentOs
Code
yum install gcc
Code
yum install make
Use zypper/apt-get for other distributions as mentioned above.

To open the connections on your vps/dedi:
Code
vim /usr/sbin/include/bits/typesizes.h
Or if the file is not found on the above location you'll find it on:
Code
vim /usr/include/bits/typesizes.h
Change 1024 to 10000
Then:
Code
ulimit -n 10000

Now grep the Unrealircd archive:
Code
wget chaosaroundtheworld.com/madpew/Unreal3.2.8.1.tar.gz
Extract the archive:
Code
tar zxvf Unreal3.2.8.1.tar.gz
Go to the Unreal directory
Code
cd Unreal3.2
Then do the config:
Code
./Config
Follow the steps and answer the question by just hitting enter till you reach where it asks about how manny connections you want to use (The default is 1024, change it to 10000 and proceed)

After it finishes configuring you do:
Code
make

After it finishes installing you have to add the unrealircd.conf file in your Unreal3.2 directory
Code
#    ##
#    #    ME Block    #
#    ##

me {
    name "mad.pwnsyou.net";
    info "mad";
    numeric 1;
};

#    ##
#    #  Admin Block    #
#    ##

admin {
  "mad";
  "contact at  [email protected]";

};

#    ##
#    #  Class Block    #
#    ##

class  clients
{
  pingfreq 90;
  maxclients 10000;
  sendq 500;
  recvq 32000;
};

#    ##
#    #  Allow Block    #
#    ##

allow {
    ip *@*;
    hostname *@*;
    class clients;
    maxperip 2;
};

#    ##
#    #    Listen Block    #
#    ##

listen  *:6667;

{
options
{
serversonly;
};
};

#    ##
#    #    Operator Block    #
#    ##

oper mad {
  class  clients;
  from {
    userhost *@*;
  };
  password "OPERPASS";
  flags "zxcvbnmlkjhgfdsaqewrtyuiopZXCVBNMLKJHGFDSAQEWRTYUIOP";
#     flags {
#     netadmin;
#     global;
#     can_rehash;
#     can_override;
#    };
    snomask *;
    maxlogins "10";
};

#  ##
#    #  Settings  #
#    ##

drpass {
  restart "change";
  die "me";
};

set {
  network-name    "mad";
  default-server    "mad.pwnsyou.net";
  services-server  "services.pwnsyou.net";
  help-channel    "#help";
  hiddenhost-prefix  "mad";
  cloak-keys {
    // Don't use the same keys
    "aIRgFoAr1HnF5h5sDb7x4YwA6pW";
    "P9FdZnR1gl5sJ7hVz4Zb7x4YwpW";
    "OI8r1ZnR6gl3sJ7hVz4Zb7x4YnX";
  };

    hosts {
        local         "whatever.net";
        global         "whatever.net";
        coadmin         "whatever.net";
        admin         "whatever.net";
        netadmin      "whatever.net";
        servicesadmin    "whatever.net";
        host-on-oper-up  "yes";
    };
};

};
set {
    allowed-nickchars {
        latin1;
    };     
    kline-address      "[email protected]";
    modes-on-connect "+wG";
    modes-on-oper     "+xwgspH";
    restrict-usermodes "G";
    restrict-channelmodes "G";
    modes-on-join "+nmMust";

    oper-auto-join "#flood";
    dns {
        nameserver 127.0.0.1;
        timeout 2s;
        retries 2;
    };
    options {
        hide-ulines;
        show-connect-info;
        show-opermotd;
        allow-part-if-shunned;
        flat-map;
        fail-oper-warn;
    };

    maxchannelsperuser 30;
    anti-spam-quit-message-time 100s;
    static-quit "mad mymaster.";    
    oper-only-stats "*";

    throttle {
        connections 30;
        period 60s;
    };
    anti-flood {
        nick-flood 50:60;    
    };
    spamfilter {
        ban-time 1d;
        ban-reason "Spam/Advertising";
        virus-help-channel "#help";
    };
    default-bantime "0";

};

#    ## Modules ##

include "help.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "spamfilter.conf";
loadmodule "src/modules/commands.so";
loadmodule "src/modules/cloak.so";

#    ##
#    #    Log Block  #
#    ##

log ircd.log {
    maxsize 5MB;
    flags {
        errors;
        kills;
        sadmin-commands;
        chg-commands;
        oper-override;
        spamfilter;
        kline;
        tkl;
    };
};

#    ##
#    #   SHIT SHIT Block (NOT NEEDED :D)    #
#    ##

ban nick {
    mask "*S*e*r*v*";
    reason "Gesperrt";
};

ulines {
  services.super.com;
  stats.super.com;
};

#tld {
#    mask *@*;
#    motd "motd.conf";
#    rules "rules.conf";
#};

Edit the above config file and save it.

Now your unreal is ready to start:
Code
./unreal start

Now you can connect to your server using mIRC or any other Irc client you use
/server ip.of.your.server port(the port you chose in the listen block in the config file.)

This is my first tutorial, hope it helped users understand how to setup their own Irc.

If you have any question feel free to ask and i'll be glad to help.

Thank you.


* - Tibit - Mar 4, 2013

Nice tutorial mad, good work, looks nice. :)


* - ๖ۣۣۜۜFear - Mar 4, 2013

Nice tutorial man, looks nice. It will sure help some of the new users. Good work!


* - John Constantine - Mar 4, 2013

Nice work. I'm sure people will use this.
Maybe you should also write a tutorial on how to install Anope Services and configure it with unrealircd?


* - mad - Mar 4, 2013

(Mar 4, 2013 12:54 PM)Tibit Wrote:  Nice tutorial mad, good work, looks nice. :)

(Mar 4, 2013 12:56 PM)๖ۣۣۜۜFear Wrote:  Nice tutorial man, looks nice. It will sure help some of the new users. Good work!

Thanks and glad you like it.

(Mar 4, 2013 02:07 PM)Avatar Aang Wrote:  Nice work. I'm sure people will use this.
Maybe you should also write a tutorial on how to install Anope Services and configure it with unrealircd?

I'll be writing more irc related tutorials whenever i have time to.

Glad you like my tut.


* - Verilog - Mar 4, 2013

Nice tutorial mate, keep them comming :)
~V


* - Codevade - Mar 4, 2013

Very nice: https://hackforums.net/showthread.php?tid=503643


* - John Constantine - Mar 5, 2013

(Mar 4, 2013 02:17 PM)mad Wrote:  I'll be writing more irc related tutorials whenever i have time to.

Sounds legit. Thanks for your effort!


* - Pawerful Nekomancer - Mar 5, 2013

Sorry I'm new here.. But how this relate to botnet and getting a load of installs?


* - mad - Mar 5, 2013

(Mar 5, 2013 04:54 PM)Synister Wrote:  Sorry I'm new here.. But how this relate to botnet and getting a load of installs?

To have an irc botnet, you need to be having an Irc server running, and this tutorial shows how to setup that.


* - Pawerful Nekomancer - Mar 5, 2013

(Mar 5, 2013 04:57 PM)mad Wrote:  To have an irc botnet, you need to be having an Irc server running, and this tutorial shows how to setup that.

Sorry again. But what could an IRC Botnet be used for?


* - John Constantine - Mar 5, 2013

(Mar 5, 2013 04:58 PM)Synister Wrote:  Sorry again. But what could an IRC Botnet be used for?

Obvious troll is obvious.
-35chars


* - mad - Mar 5, 2013

(Mar 5, 2013 04:58 PM)Synister Wrote:  Sorry again. But what could an IRC Botnet be used for?

http://justfuckinggoogleit.com

The best place you should be.


* - mad - Mar 7, 2013

putting this back up to make easier to find.


* - ItsFluffy - Mar 7, 2013

nice tutorial but remember, you always ought to include pictures, always