Posted on Leave a comment

How to use http proxy hosting

Firefox:

Go to Tools > Options > Advanced > Network > Connection Settings and then select manual proxy configuration.

Firefox Proxy

 

 

Internet Explorer:

Go to Tools > Internet Options > Connections > and press LAN settings. Then check “Use a proxy server for your LAN” and enter the info sent to your email.

Internet Explorer Proxy

 Firefox:

Go to Tools > Options > Advanced > Network > Connection Settings and then select manual proxy configuration.

Firefox Proxy

 

 

Internet Explorer:

Go to Tools > Internet Options > Connections > and press LAN settings. Then check “Use a proxy server for your LAN” and enter the info sent to your email.

Internet Explorer Proxy

 

Posted on Leave a comment

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

Posted on Leave a comment

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.

Posted on Leave a comment

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

Posted on Leave a comment

How to install VNC server on CentOS 6

VNC is a protocol that is used to share the desktop with other users/computers over the network/Internet.In order to share a desktop, VNC server must be install and configure on the computer and VNC client must be run on the computer that will access the shared desktop.

When we install the minimal copy of CentOS Server, it only gives us the “Command Line” interface.

But some people prefer GUI instead and for this they install Full version of Gnome on CentOS. Actually there is a better way and that is to install VNC. VNC provides a lightweight virtual desktop than full blown version of Gnome.

To run the VNC Server on CentOS, we have to install these required packages:

sudo yum groupinstall Desktop

sudo yum install tigervnc-server

sudo yum install xorg-x11-fonts-Type1

This is optional:

sudo yum install vnc

To start VNC Server on boot

sudo chkconfig vncserver on

To setup users’ VNC password:

vncpasswd

Edit the /etc/sysconfig/vncservers file:

sudo nano /etc/sysconfig/vncservers

Add the following to the end of the file:

VNCSERVERS="1:arbab"
VNCSERVERARGS[1]="-geometry 1024x600"

The iptables rules need to be amended to open the VNC ports:

sudo iptables -I INPUT 5 -m state --state NEW -m tcp -p tcp -m multiport --dports 5901:5903,6001:6003 -j ACCEPT
sudo service iptables save
sudo service iptables restart

Restart the VNC Server:

sudo service vncserver restart

Now kill the VNC Server:

vncserver -kill :1

Edit the xstartup file in .vnc directory:

nano .vnc/xstartup

Comment the last line and run the Gnome:

#twm & 
exec gnome-session &

Restart the service:

sudo service vncserver restart

Now, download VNCViewer onto our desktop computer from which we want to access the shared desktop. Connect using ServerIP/Name:1 (:1 is for the VNC server window), In my case it is centos:1.

Enter the password that we created using the vncpasswd command:

We now have GUI access to our server.

Ability to connect for multiple users:

Create a local user, using the following command:

sudo adduser ali

Create a password for newly created user:

sudo passwd ali

Switch to the newly created user and run vncpasswd command for it:

su ali
vncpasswd

Edit the /etc/sysconfig/vncservers file:

sudo nano /etc/sysconfig/vncservers

Add these lines for new user:

VNCSERVERS="1:arbab 2:ali"
VNCSERVERARGS[1]="-geometry 1024x600"
VNCSERVERARGS[2]="-geometry 1024x600"

Restart the VNC service:

sudo service vncserver restart

Kill the vncserver session for new user and edit the xstartup file:

su ali
vncserver -kill :2
cd ~
nano .vnc/xstartup

Modify the file so it looks like this:

#twm & 
exec gnome-session &

Restart the VNC service:

sudo service vncserver restart

Connect with newly created user using centos:2, Where centos is my server name:

Enter the password that we created using the vncpasswd command:

We now have GUI access to our server for newly created user.

Hope this will help you!