Showing posts with label IRC/shell. Show all posts
Showing posts with label IRC/shell. Show all posts

Wednesday, June 12, 2013

Installing Unreal IRCd

Hopefully you have already downloaded the source. If not, get it here: http://www.unrealircd.com

1. wget http://www1.dnwt.net/unreal/Unreal3.2.3.tar.gz

2. tar -zxvf Unreal3.2.3.tar.gz

3. rm Unreal3.2.3.tar.gz

Then lets run the script!

1. cd Unreal3.2

2. ./Config

Now the script is running! You will see notes about Unreal 3.2.3, you do not have to read this! Just press enter once, then spacebar until you see this

 
==[ ADDITIONAL INFO ]==
* See ChangeLog
[Enter to continue]


Then answer the questions it asks.


To launch Unreal IRCD use this command:

./unreal start
Hopefully you have already downloaded the source. If not, get it here: http://www.unrealircd.com

1. wget http://www1.dnwt.net/unreal/Unreal3.2.3.tar.gz

2. tar -zxvf Unreal3.2.3.tar.gz

3. rm Unreal3.2.3.tar.gz

Then lets run the script!

1. cd Unreal3.2

2. ./Config

Now the script is running! You will see notes about Unreal 3.2.3, you do not have to read this! Just press enter once, then spacebar until you see this

 
==[ ADDITIONAL INFO ]==
* See ChangeLog
[Enter to continue]


Then answer the questions it asks.


To launch Unreal IRCD use this command:

./unreal start

Installing psyBNC and using it

Downloading psyBNC:



  1. At the shell prompt, type:get-psybnc

    Alternative method:



Compiling psyBNC:



  1. At the shell prompt, type:nano .nanorc

  2. Make these changes to .nanorc:set nowrap

    Save & exit.

  3. At the shell prompt, type:

    • cd psybnc

    • nano config.h



  4. Make these changes to config.h:

    • #define CRYPT

    • #define BLOWFISH

    • #define MULTIUSER

    • #define MAXUSER 20

    • #define MAXCONN 40

    • #define BLOCKDNS

    • #define NETWORK

    • #define SCRIPTING

    • #define PROXYS

    • #define LOGLEVEL 0

    • #define CTCPVERSION “[CTCP version response shown when not connected to psyBNC]”

    • #define SSLSEC 2


    Only define these options if required:

    • #define INTNET (Enables ircd)

    • #define LINKAGE (Enables linkage)

    • #define DCCFILES (Enables DCC get and send)

    • #define DCCCHAT (Enables DCC chat)


    Save & exit.

  5. At the shell prompt, type:

    • make

    • mkdir backup

    • mv salt.h backup




Configuring psyBNC:



  1. At the shell prompt, type:nano psybnc.conf

  2. Make these changes to psybnc.conf:

    • PSYBNC.HOSTALLOWS.ENTRY0=*;*

    • PSYBNC.SYSTEM.ME=[bouncer name] (bnc01, mybouncer, psybnc1, etc..)

    • PSYBNC.SYSTEM.HOST1=[your shell IP address] (Sent to you via email)

    • PSYBNC.SYSTEM.PORT1=[the port psyBNC will listen on] (Valid range: 1000-65535. Avoid port 31337.)

    • USER1.USER.VHOST=[your vhost IP address]

    • USER1.USER.LOGIN=[username] (Select a psyBNC login name)

    • USER1.USER.PASS=[password] (Select a psyBNC password)

    • USER1.USER.USER=[real name] (Your real name in /whois)

    • USER1.USER.NICK=[IRC nickname]

    • USER1.USER.AWAYNICK=[away nickname]

    • USER1.USER.AUTOREJOIN=0 (Disables auto rejoin when not connected to psyBNC, default=1)

    • USER1.USER.DCCENABLED=0 (Disables DCC, default=1)

    • USER1.USER.RIGHTS=1 (Enables admin rights, default=1)

    • USER1.USER.VLINK=0 (Disables linkage, default=1)

    • USER1.USER.AIDLE=1

    • USER1.USER.AUTOGETDCC=0

    • USER1.USER.CERT=+

    • USER1.USER.LASTLOG=0

    • USER1.USER.LEAVEQUIT=1

    • USER1.USER.PARENT=0

    • USER1.USER.PPORT=0

    • USER1.USER.QUITTED=0

    • USER1.USER.SYSMSG=1

    • USER1.SERVERS.SERVER1=[IRC server IP address] (First server psyBNC will connect to)

    • USER1.SERVERS.PORT1=[IRC server port #]

    • USER1.CHANNELS.ENTRY0=[#channel name] (First channel psyBNC will join)

    • USER1.CHANNELS.KEY0=[channel key] (First channel key)

    • USER1.CHANNELS.ENTRY1=[#channel name]

    • USER1.CHANNELS.KEY1=[channel key]


    Save & exit.


  3. At the shell prompt, type:

    • more psybnc.conf (Review your settings)

    • ./psybnc (Launch psyBNC and Review any errors which may result)

    • ps x (Verify that psyBNC is running)

    • kill -9 [PID, process ID] (Only if you need to stop the process)

    • export VISUAL='nano'

    • pwd (Path to psybnc folder, required for next step.)

    • crontab -e



  4. Make the following changes to your crontab file:0,10,20,30,40,50 * * * * /[path to psybnc folder]/psybncchk >/dev/null 2>&1

    Save & exit.

  5. At the shell prompt, type:

    • crontab -l (Review your settings)

    • chmod 700 psybncchk

    • nano psybncchk



  6. Make the following changes to psybncchk:PSYBNCPATH=[path to psybnc folder]

    Save & exit.


Configuring mIRC options:



  1. Tools - Options - Connect:

    • Full Name: [your real name, same as USER1.USER.USER in psybnc.conf]

    • Email Address: [your psyBNC login name, same as USER1.USER.LOGIN in psybnc.conf]@anydomain.com

    • Nickname: [your IRC nickname, same as USER1.USER.NICK in psybnc.conf]



  2. Tools - Options - Connect - Local Info:

    • On connect, always get: Local Host

    • Lookup Method: Server



  3. Tools - Options - Connect - Identd:Disable Identd server

    You do not need to run an Identd server. PsyBNC will use the Email Address field as your login name.

  4. Tools - Options - Connect - Servers:Add a new server.

    • IRC Server: [your shell IP, same as PSYBNC.SYSTEM.HOST1 in psybnc.conf]

    • Ports: [your psyBNC port, same as PSYBNC.SYSTEM.PORT1 in psybnc.conf]

    • Password: [your psyBNC password, same as USER1.USER.PASS in psybnc.conf]


    Save & initiate a connection to the server. (Remember to press 'Select' in the mIRC server settings dialog or incorrect information will be used when you press 'Connect'.)

  5. Once connected to psyBNC, the following options become available:

    • /bvhost [your vhost IP address]

    • /addserver [IRC server IP address] :[IRC server port #]

    • /listservers

    • /j [#channel name] (Channel you want psyBNC to join)

    • /bconnect (Connect psyBNC to IRC servers)

    • /bquit (Disconnect psyBNC from IRC servers)

    • /bhelp (Query help file)


    For a list of all available options please refer to a full psyBNC FAQ or tutorial.

Downloading psyBNC:



  1. At the shell prompt, type:get-psybnc

    Alternative method:



Compiling psyBNC:



  1. At the shell prompt, type:nano .nanorc

  2. Make these changes to .nanorc:set nowrap

    Save & exit.

  3. At the shell prompt, type:

    • cd psybnc

    • nano config.h



  4. Make these changes to config.h:

    • #define CRYPT

    • #define BLOWFISH

    • #define MULTIUSER

    • #define MAXUSER 20

    • #define MAXCONN 40

    • #define BLOCKDNS

    • #define NETWORK

    • #define SCRIPTING

    • #define PROXYS

    • #define LOGLEVEL 0

    • #define CTCPVERSION “[CTCP version response shown when not connected to psyBNC]”

    • #define SSLSEC 2


    Only define these options if required:

    • #define INTNET (Enables ircd)

    • #define LINKAGE (Enables linkage)

    • #define DCCFILES (Enables DCC get and send)

    • #define DCCCHAT (Enables DCC chat)


    Save & exit.

  5. At the shell prompt, type:

    • make

    • mkdir backup

    • mv salt.h backup




Configuring psyBNC:



  1. At the shell prompt, type:nano psybnc.conf

  2. Make these changes to psybnc.conf:

    • PSYBNC.HOSTALLOWS.ENTRY0=*;*

    • PSYBNC.SYSTEM.ME=[bouncer name] (bnc01, mybouncer, psybnc1, etc..)

    • PSYBNC.SYSTEM.HOST1=[your shell IP address] (Sent to you via email)

    • PSYBNC.SYSTEM.PORT1=[the port psyBNC will listen on] (Valid range: 1000-65535. Avoid port 31337.)

    • USER1.USER.VHOST=[your vhost IP address]

    • USER1.USER.LOGIN=[username] (Select a psyBNC login name)

    • USER1.USER.PASS=[password] (Select a psyBNC password)

    • USER1.USER.USER=[real name] (Your real name in /whois)

    • USER1.USER.NICK=[IRC nickname]

    • USER1.USER.AWAYNICK=[away nickname]

    • USER1.USER.AUTOREJOIN=0 (Disables auto rejoin when not connected to psyBNC, default=1)

    • USER1.USER.DCCENABLED=0 (Disables DCC, default=1)

    • USER1.USER.RIGHTS=1 (Enables admin rights, default=1)

    • USER1.USER.VLINK=0 (Disables linkage, default=1)

    • USER1.USER.AIDLE=1

    • USER1.USER.AUTOGETDCC=0

    • USER1.USER.CERT=+

    • USER1.USER.LASTLOG=0

    • USER1.USER.LEAVEQUIT=1

    • USER1.USER.PARENT=0

    • USER1.USER.PPORT=0

    • USER1.USER.QUITTED=0

    • USER1.USER.SYSMSG=1

    • USER1.SERVERS.SERVER1=[IRC server IP address] (First server psyBNC will connect to)

    • USER1.SERVERS.PORT1=[IRC server port #]

    • USER1.CHANNELS.ENTRY0=[#channel name] (First channel psyBNC will join)

    • USER1.CHANNELS.KEY0=[channel key] (First channel key)

    • USER1.CHANNELS.ENTRY1=[#channel name]

    • USER1.CHANNELS.KEY1=[channel key]


    Save & exit.


  3. At the shell prompt, type:

    • more psybnc.conf (Review your settings)

    • ./psybnc (Launch psyBNC and Review any errors which may result)

    • ps x (Verify that psyBNC is running)

    • kill -9 [PID, process ID] (Only if you need to stop the process)

    • export VISUAL='nano'

    • pwd (Path to psybnc folder, required for next step.)

    • crontab -e



  4. Make the following changes to your crontab file:0,10,20,30,40,50 * * * * /[path to psybnc folder]/psybncchk >/dev/null 2>&1

    Save & exit.

  5. At the shell prompt, type:

    • crontab -l (Review your settings)

    • chmod 700 psybncchk

    • nano psybncchk



  6. Make the following changes to psybncchk:PSYBNCPATH=[path to psybnc folder]

    Save & exit.


Configuring mIRC options:



  1. Tools - Options - Connect:

    • Full Name: [your real name, same as USER1.USER.USER in psybnc.conf]

    • Email Address: [your psyBNC login name, same as USER1.USER.LOGIN in psybnc.conf]@anydomain.com

    • Nickname: [your IRC nickname, same as USER1.USER.NICK in psybnc.conf]



  2. Tools - Options - Connect - Local Info:

    • On connect, always get: Local Host

    • Lookup Method: Server



  3. Tools - Options - Connect - Identd:Disable Identd server

    You do not need to run an Identd server. PsyBNC will use the Email Address field as your login name.

  4. Tools - Options - Connect - Servers:Add a new server.

    • IRC Server: [your shell IP, same as PSYBNC.SYSTEM.HOST1 in psybnc.conf]

    • Ports: [your psyBNC port, same as PSYBNC.SYSTEM.PORT1 in psybnc.conf]

    • Password: [your psyBNC password, same as USER1.USER.PASS in psybnc.conf]


    Save & initiate a connection to the server. (Remember to press 'Select' in the mIRC server settings dialog or incorrect information will be used when you press 'Connect'.)

  5. Once connected to psyBNC, the following options become available:

    • /bvhost [your vhost IP address]

    • /addserver [IRC server IP address] :[IRC server port #]

    • /listservers

    • /j [#channel name] (Channel you want psyBNC to join)

    • /bconnect (Connect psyBNC to IRC servers)

    • /bquit (Disconnect psyBNC from IRC servers)

    • /bhelp (Query help file)


    For a list of all available options please refer to a full psyBNC FAQ or tutorial.

Installing Psotnics

Let’s make a psotnic bot and start with the cfg file on a notepad:
"nick user
nickappend _-^`|
realname -= la prova del ipv6 =-
myipv4 insert servermainIP here
vhost**************
choose here: http://www.santrex.net/domainsvhosts.php
Port here you put the port number you want

Owner password

server ***********

keepnick 1


 

Slave config file
nickuser
nickappend _-^`|
realname -= la prova del ipv6 =-
myipv4 insert servermainIP here
vhost************
choose from: http://www.santrex.net/domainsvhosts.php

hub ip port pass (of the hub) (del hub)

*************

put the portnumber you want

keepnick 1


 

Leaf config file
"nick user
nickappend _-^`|
realname -= la prova del ipv6 =-
myipv4 insert servermainIP here
vhost************
choose from: http://www.santrex.net/domainsvhosts.php

hub ip port pass
alt ip port
alt you can put as many slaves as you have

server *************

keepnick 1"


configure:

1. mkdir bot

2. cd bot

3. mkdir source

4. cd source

5. wget http://monki.us/~esio/knb.t0tal.in/mirrors/friends.polibuda.info/
~grusin/src/psotnic-current.tar.gz

6. tar xvzf psotnic-current.tar.gz

7. mv psotnic-current psotnic

8. cd psotnic

9. ./configure

10. make dynamic

11. cd bin

12. pwd

13. /home/username/login/bot/source/psotnic

14. cp psotnic /home/username/login/bot

15. cd /home/username/login/bot

16. rm -rf source

17. pico


allowing it to startup:

./psotnic –c conf.nick


rm conf.nick.dec

./psotnic conf.nick
Let’s make a psotnic bot and start with the cfg file on a notepad:
"nick user
nickappend _-^`|
realname -= la prova del ipv6 =-
myipv4 insert servermainIP here
vhost**************
choose here: http://www.santrex.net/domainsvhosts.php
Port here you put the port number you want

Owner password

server ***********

keepnick 1


 

Slave config file
nickuser
nickappend _-^`|
realname -= la prova del ipv6 =-
myipv4 insert servermainIP here
vhost************
choose from: http://www.santrex.net/domainsvhosts.php

hub ip port pass (of the hub) (del hub)

*************

put the portnumber you want

keepnick 1


 

Leaf config file
"nick user
nickappend _-^`|
realname -= la prova del ipv6 =-
myipv4 insert servermainIP here
vhost************
choose from: http://www.santrex.net/domainsvhosts.php

hub ip port pass
alt ip port
alt you can put as many slaves as you have

server *************

keepnick 1"


configure:

1. mkdir bot

2. cd bot

3. mkdir source

4. cd source

5. wget http://monki.us/~esio/knb.t0tal.in/mirrors/friends.polibuda.info/
~grusin/src/psotnic-current.tar.gz

6. tar xvzf psotnic-current.tar.gz

7. mv psotnic-current psotnic

8. cd psotnic

9. ./configure

10. make dynamic

11. cd bin

12. pwd

13. /home/username/login/bot/source/psotnic

14. cp psotnic /home/username/login/bot

15. cd /home/username/login/bot

16. rm -rf source

17. pico


allowing it to startup:

./psotnic –c conf.nick


rm conf.nick.dec

./psotnic conf.nick