Neler yeni

Sohbete Başlayın!

Sohbet kategorilerimizde istediğiniz gibi sohbet edebilirsiniz

Neler Yeni

Paylaşılan yeni konu ve mesajları görüntülemek için tıklayın

İletişime Geçin!

Yetkililerimiz ile forumumuz hakkında iletişime geçmek isterseniz buraya tıklayın

ForumSohbetim.Com'a

Hoş Geldiniz.


Daha iyi bir Forumsohbetim deneyimi yaşayabilmek adına lütfen üye olunuz.

Oto Kur Dosyalari

KahtaLi

Administrator
Administrative
Katılım
8 May 2021
Mesajlar
509
Tepkime puanı
6
Puanları
18
Eskiden kendi kullandığım işinize yarar..
Dosyaları web sitenize atın ve otokur'dan linkleri güncelleyin kafii!
Kod:
#--------------------------
# Oto Kurulum + Oto Conf  -
#--------------------------
clear
echo "|-------------------------------------------|"
echo "| IRC(d) Oto Kurulum Sistemine Hos Geldiniz |"
echo "|       IRC(d) Kurulumu Basliyor..          |"
echo "|       https://www.siteniz.com/            |"
echo "|-------------------------------------------|"
echo ""
echo "Gerekli Bilgiler :"
echo $n "[Serverinizin Adi (Orn: siteniz.com)] -> $c"
read cc
if [ ! -z $cc ]; then
    server="$cc"
fi
echo $n "[Kisa Domain Adi (Orn: Siteniz)] -> $c"
read cc
if [ ! -z $cc ]; then
    kisadomain="$cc"
fi
echo $n "[IP Adresiniz (Orn: 88.888.88.888)] -> $c"
read cc
if [ ! -z $cc ]; then
    ip="$cc"
fi
echo $n "[Root Nicki (Orn: Toprak)] -> $c"
read cc
if [ ! -z $cc ]; then
    rootnick="$cc"
fi
echo $n "[Root Oper Sifresi (Orn: 12345)] -> $c"
read cc
if [ ! -z $cc ]; then
    rootpass="$cc"
fi
echo $n "[Eggdrop Oper Sifresi (Orn: 12345)] -> $c"
read cc
if [ ! -z $cc ]; then
    egpass="$cc"
fi
echo $n "[Eggdrop Nick Sifresi (Orn: 12345)] -> $c"
read cc
if [ ! -z $cc ]; then
    enickpass="$cc"
fi
echo $n "[QwebIRC Sifresi (Orn: asd312)] -> $c"
read cc
if [ ! -z $cc ]; then
    qwebpass="$cc"
fi
echo $n "[QwebIRC Mobil Portu (Orn: 9090)] -> $c"
read cc
if [ ! -z $cc ]; then
    qwebport="$cc"
fi
echo $n "[QwebIRC Web Portu (Orn: 9091)] -> $c"
read cc
if [ ! -z $cc ]; then
    qwebport1="$cc"
fi
echo "|-------------------------------------------|"
echo "|- Bilgileriniz"
echo "|- Server Adi   : $server"
echo "|- Kisa Domain  : $kisadomain"
echo "|- IP Adresi    : $ip"
echo "|- Root Nick    : $rootnick"
echo "|- R. Oper Pass : $rootpass"
echo "|- E. Oper Pass : $egpass"
echo "|- E. Nick Pass : $enickpass"
echo "|- QwebIRC Pass : $qwebpass"
echo "|"
echo "|- Mobil giris  : http://$ip:$qwebport/"
echo "|- Web giris    : http://$ip:$qwebport1/"
echo "|-------------------------------------------|"
echo "|      Onayliyorsaniz Entere  Basiniz       |"
echo "|   Onaylamiyorsaniz Ctrl+C Yapip Kapatin   |"
echo "|-------------------------------------------|"
echo $n "[Onayliyormusunuz ?] -> $c"
read cc
echo "|-------------------------------------------|"
echo "|            IRC(d) Kuruluyor.              |"
echo "|-------------------------------------------|"
cd
wget -q http://www.siteniz.com/oto-kur/Unreal3.2.10.4.tar.gz
tar zxvf Unreal3.2.10.4.tar.gz
rm -rf Unreal3.2.10.4.tar.gz
cd
cd Unreal3.2.10.4/
./Config -nointro -quick
rm -rf config.settings
cat > config.settings << __EOF__
#
DPATH="/home/$USER/Unreal3.2.10.4"
SPATH="/home/$USER/Unreal3.2.10.4/src/ircd"
INET6=""
PREFIXAQ="1"
LISTEN_SIZE="5"
MAXSENDQLENGTH="3000000"
BUFFERPOOL="18"
MAXCONNECTIONS="4096"
NICKNAMEHISTORYLENGTH="2000"
DEFPERM="0600"
CRYPTOIRCD=""
SSLDIR=""
ZIPLINKS=""
ZIPLINKSDIR=""
REMOTEINC=""
CURLDIR=""
SHOWLISTMODES="1"
TOPICNICKISNUH=""
SHUNNOTICES=""
NOOPEROVERRIDE=""
DISABLEUSERMOD=""
OPEROVERRIDEVERIFY=""
DISABLEEXTBANSTACKING=""
GENCERTIFICATE="1"
EXTRAPARA=""
ADVANCED=""
__EOF__
rm -rf unrealircd.conf
cat > unrealircd.conf << __EOF__
###########################################################
#                                  #
#               Unreal3.2-(Siteniz)-10.4                  #
#              https://www.siteniz.com/                  #
#                               #
###########################################################

######
# Me #
######

me
{
  name "irc.$server";
  info "- http://www.$server";
  numeric 1;
};

#########
# Admin #
#########

admin {
      "Sunucu Sahibi";
      "$rootnick";
      "E-mail: admin@$server";
      "$server - #OperHelp";
};

#########
# Class #
#########

class clients
{
    pingfreq 300;
    maxclients 4096;
        sendq 100000000;
};
class servers
{
    pingfreq 300;
    maxclients 4096;       
        sendq 100000000;
        connfreq 600;
};

#########
# Allow #
#########

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

allow {
  ip *@$ip;
  hostname *@*;
  class clients;
  maxperip 50;
};

allow {
  ip *@185.50.68.104;
  hostname *@*;
  class clients;
  maxperip 50;
};

##########
# Drpass #
##########

drpass {
   die "rakipxXxSiteniztp4kr";
   restart "rakipxXxSiteniztp4kr";
};

#########
# Links #
#########

link services.$server {
   username *;
   hostname   $ip;
   bind-ip *;
   port 6667;
   password-connect "services";
   password-receive "services";
   class servers;
   leaf *;
};

ulines {
     services.$server;
};

cgiirc {
    type webirc;
    hostname $ip;
    password "$qwebpass";
};

psifre {
  pass "7005:$qwebpass";
  pass "1985:$qwebpass";
  pass "2018:$qwebpass";
};

############
# Bad Nick #
############

ban nick { mask "*C*h*a*n*S*e*r*v*"; reason "Reserved for services"; };
ban nick { mask "*N*i*c*k*S*e*r*v*"; reason "Reserved for services"; };
ban nick { mask "*M*e*m*o*S*e*r*v*"; reason "Reserved for services"; };
ban nick { mask "*H*e*l*p*S*e*r*v*"; reason "Reserved for services"; };
ban nick { mask "*O*p*e*r*S*e*r*v*"; reason "Reserved for services"; };
ban nick { mask "*I*n*f*o*S*e*r*v*"; reason "Reserved for services"; };
ban nick { mask "*Admin*"; reason "Reserved for Administrator"; };
ban nick { mask "*IRC*op*"; reason "Reserved for ircops"; };
ban nick { mask "*Oper*"; reason "Reserved for ircops"; };
ban nick { mask "*Root*"; reason "Reserved for ircops"; };
ban nick { mask "Status"; reason "Bug in mIRC"; };
ban nick { mask "*org"; reason "Bad nick"; };
ban nick { mask "irc_"; reason "Bad nick"; };
ban nick { mask "irc-"; reason "Bad nick"; };
ban nick { mask "www_"; reason "Bad nick"; };
ban nick { mask "www-"; reason "Bad nick"; };
ban nick { mask "*sikerim*"; reason "Bad nick"; };
ban nick { mask "*sikicem*"; reason "Bad nick"; };
ban nick { mask "*sikeyim*"; reason "Bad nick"; };
ban nick { mask "********"; reason "Bad nick"; };
ban nick { mask "*sikiyim*"; reason "Bad nick"; };
ban nick { mask "c0ders"; reason "Bad nick"; };
ban nick { mask "Siteniz"; reason "Administrator"; };

############
# Include  #
############

include "aliases/ircservices.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "doc/help.tr.conf";
include "giriskod.conf";
include "giris.conf";
include "spamfilter.conf";
include "opers.conf";

############
# Modules  #
############
#make custommodule MODULEFILE=module

loadmodule "src/modules/commands.so";
loadmodule "src/modules/cloak.so";
loadmodule "src/modules/allsend.so";
loadmodule "src/modules/commandsno.so";
loadmodule "src/modules/ekle.so";
loadmodule "src/modules/giris.so";
loadmodule "src/modules/getinfo.so";
loadmodule "src/modules/helpers.so";
loadmodule "src/modules/hideserver.so";
loadmodule "src/modules/ircops.so";
loadmodule "src/modules/KomutLog.so";
loadmodule "src/modules/Kontrol.so";
loadmodule "src/modules/LineBul.so";
loadmodule "src/modules/loggit.so";
loadmodule "src/modules/m_clones.so";
loadmodule "src/modules/m_global.so";
loadmodule "src/modules/m_istatistik.so";
loadmodule "src/modules/m_rmtkl.so";
loadmodule "src/modules/m_sendraw.so";
loadmodule "src/modules/m_smodule.so";
loadmodule "src/modules/m_sure.so";
loadmodule "src/modules/m_temizle.so";
loadmodule "src/modules/netadmins.so";
loadmodule "src/modules/portsifresi.so";
loadmodule "src/modules/randomquit.so";
loadmodule "src/modules/tkldb.so";
loadmodule "src/modules/giriskod.so";
loadmodule "src/modules/m_igs.so";

##########
# Listen #
##########

listen $ip:6660-6669;   /* Sunucuya 6660 Ile 7000 Arasi Giris Portlari */
listen $ip:7000;
listen $ip:7005;
listen $ip:1985;
listen $ip:2018;

############
# Ayarlar  #
############

set {
   ayar-giris "0"; // 1 : açık , 0 : kapalı
   ayar-version "0"; // 1 : açık , 0 : kapalı
   network-name          "$kisadomain";
   default-server        "irc.$server";
   services-server       "services.$server";
   kline-address         "admin@$server";   
   modes-on-connect      "+iwxY";
   restrict-usermodes    "ixBwCsY";
   restrict-channelmodes "GntDC";
   modes-on-join         "+nt";
   modes-on-oper         "+pxwqs-GhY";
   help-channel          "#Help";
   stats-server          "stats.$server";
   auto-join             "#Kelime,#Yarisma,#Oyun,#Radyo,#Sohbet";
   oper-auto-join        "#Adwords,#Log,#Services,#Xline,#OperHelp,#Opers";
   hiddenhost-prefix     "$kisadomain";
   static-part           "Ayrildi.";
   static-quit           "http://www.$server";
   oper-only-stats       "*";
   notify-commands       "motd,admin,module,rules,map,links,info,ircops,whois,version,stats";
   netadmins-are-gods yes;
   timesynch { enabled no; };
   anti-spam-quit-message-time 10s;
   allowed-nickchars { turkish; };
   maxchannelsperuser 10;
   throttle {
     connections 6;
     period 60s;
   };
   anti-flood {
     away-flood 4:120;
     nick-flood 3:60;
   };
   dns {
     nameserver $ip;
     timeout 2s;
     retries 2;
   };
   hosts {
     owneradmin       "Owner.$server";
     tekadmin         "TeknikAdmin.$server";
     rootadmin        "RootAdmin.$server";
     netadmin         "NetAdmin.$server";
     servicesadmin    "ServicesAdmin.$server";
     admin            "Admin.$server";
     coadmin          "CoAdmin.$server";
     global           "Oper.$server";   
     local            "Oper.$server";
     host-on-oper-up  "yes";
   };
   cloak-keys { 
     "a2JO6fh3Q6w4oNd3s7";
     "a2JO6fh3Q6w4oN38s7";
     "a2JO6fh3Q6w4oN3s79";
   };
   options {
     #show-connect-info;
   };
   spamfilter {
     except "#Help,#Helpers,#DJ,#WebMaster,#OperHelp,#GlobalOps,#Founders,#CS-Staff,#NS-Staff,#Sales,NickServ,MemoServ,ChanServ,Anti,Join";
   };
};

##################
# Loglama Bölümü #
##################

log "ircd.log" {
  maxsize 2097152;
  flags {
    oper;
    server-connects;
    sadmin-commands;
    spamfilter;
    connects;
    errors;
    kills;
    oper;
    kline;
    tkl;
    chg-commands;
    oper-override;
 };
};

#######################
#  Version Yasaklama  #
#######################

ban version {
  mask "5.91";
   reason "Version Yenileyin.";
};

#################################
#  Services Kısa Yol Komutları  #
#################################

alias "identify" {
        format "^#" {
                target "chanserv";
                type services;
                parameters "IDENTIFY %1-";
        };
        format "^[^#]" {
                target "nickserv";
                type services;
                parameters "IDENTIFY %1-";
        };
        type command;
};

alias "services" {
        format "^#" {
                target "chanserv";
                type services;
                parameters "%1-";
        };
        format "^[^#]" {
                target "nickserv";
                type services;
                parameters "%1-";
        };
        type command;
};

alias "identify" {
        format "^#" {
                target "chanserv";
                type services;
                parameters "IDENTIFY %1-";
        };
        format "^[^#]" {
                target "nickserv";
                type services;
                parameters "Pass %1-";
        };
        type command;
};

#############
# DCC Block #
#############

deny dcc {
        filename "*";
        reason "DCC dosya gönderimi yasak..";
};

#######################
# Modules Eklentileri #
#######################

except throttle { mask $ip; };
except throttle { mask 185.50.68.104; };
except ban { mask *@$ip; };
except ban { mask *@185.50.68.104; };
except tkl {
    mask *@185.50.68.104;
    type all;
};
except tkl {
    mask *@$ip;
    type all;
};

spamfilter {
    regex "hello";
    target { private; private-notice; };
    reason "4S5pam/4a5dvertising/4c5lone/4t5rojan/4d5rone is forbidden!.";
    action block;
};

hideserver
{
  disable-map yes;
  disable-links yes;
  map-deny-message "Bu komut sunucudan kaldirilmistir.";
  links-deny-message "Bu komut sunucudan kaldirilmistir.";
};

###############
# Kanal Block #
###############

deny channel {
  channel "#Opers";
  reason "Admin kanalı";
};
deny channel {
  channel "#Admin";
  reason "Admin kanalı";
};
deny channel {
  channel "#Log";
  reason "Admin kanalı";
};
deny channel {
  channel "#Adwords";
  reason "Admin kanalı";
};
deny channel {
  channel "#Services";
  reason "Admin kanalı";
};
deny channel {
  channel "#Xline";
  reason "Admin kanalı";
};
deny channel {
  channel "#Bots";
  reason "Admin kanalı";
};
deny channel {
  channel "#Master";
  reason "Admin kanalı";
};
deny channel {
  channel "#Karantina";
  reason "Güvenlik kontrolunden geçiş yaptınız, tekrar giriş yapamazsınız..";
};

####################### Bitti #######################
__EOF__
rm -rf ircd.log
cat > ircd.log << __EOF__
Ornek ircd.log by https://www.siteniz.com/
__EOF__
rm -rf giris.conf
cat > giris.conf << __EOF__
except giris {
 mask "$ip";
};
except giris {
 mask "185.50.68.104";
};
except giris {
 mask "78.*";
};
except giris {
 mask "88.*";
};
except giris {
 mask "81.*";
};
except giris {
 mask "85.*";
};
except giris {
 mask "92.*";
};
except giris {
 mask "94.*";
};
except giris {
 mask "95.*";
};
except giris {
 mask "46.155.*";
};
except giris {
 mask "5.46.*";
};
except giris {
 mask "5.47.*";
};
except giris {
 mask "37.*";
};
except giris {
 port "7005";
};
except giris {
 port "1985";
};
except giris {
 port "2018";
};
__EOF__
rm -rf oper.motd
cat > oper.motd << __EOF__
#####################################################################
-
UnrealIRCd programında kullanabileceğiniz OPER komutları;

1-4) Whois Gizleme Modu
- 4Kullanımı: /mode nick [+-]X
-
2-4) Operler için Whois IDLE Kapatma
- 4Kullanımı: /mode nick [+-]I
-
3-4) Oper KILL Engelleme Modu
- 4Kullanımı: /mode nick [+-]K
-
4-4) Bir Nicke Ait Cloneleri Bulma Komutu
- 4Kullanımı: /clones Nick
-
5-4) Toplu X:Line(Ban) Kaldırma Komutu
- 4Kullanımı: /rmtkl * *
-
6-4)  Global Mesaj Yollama
- 4Kullanımı: /global MESAJ
-
7-4) Belirtilen Nickle Özellere Mesaj Gönderme Komutu
- 4Kullanımı: /allsend all private global Nick Mesaj
-
8-4) Oper/Admin Ekleme Komutu (Owner & RootAdmin Kullanabilir.)
- 4Kullanımı: /ekle Nick Şifre Flags clients
-
9-4) Giriş Kodu Açmak İçin (RootAdmin & NetAdmin Kullanabilir.)
- 4Kullanımı: /girisac
-
10-4) Giriş Kodu Kapatmak İçin (RootAdmin & NetAdmin Kullanabilir.)
- 4Kullanımı: /giriskapat
-
-
UnrealIRCd programında kullanabileceğiniz KANAL'lar;

1-4) #Services
- 4Kullanımı: Services Üzerindeki Logların Yansıtıldığı Kanal.
-
2-4) #Adwords
- 4Kullanımı: Spamların Yansıtıldığı Kanal.
-
3-4) #Xline
- 4Kullanımı: Atılan X:Line Yansıtıldığı Kanal.
-

Not: Bu Bildiri Yönetici Arkadaşlara Kolaylık Açısından Oluşturulmuştur.

#####################################################################
__EOF__
rm -rf opers.conf
cat > opers.conf << __EOF__
###########################################################
#        YETKI                     FLAGS                  #
###########################################################
#  Owner             : OoaAreDRwgcLkKbZtBnGUQNCzW^Hv      #
#  Teknik Admin      : OoaAreDRwgcLkKbZtBnGUJNCzW^Hv      #
#  Root Admin        : OoaAreDRwgcLkKbZtBnGUNCzW^Hv       #
#  Net Admin         : OoaAreDRwgcLkKbZtBnGNCzW^Hv        #
#  Services Admin    : OoawkKbBnCGAregcLZtGzvWHe          #
#  Server Admin      : OoArewgcLkKbZtBnGzWHv              #
#  CO Admin          : OorewgcLkKbZtBnGCzWHv              #
#  IRCOP             : OorewgcLkKbZtBnGzWHv               #
########################################################### 

/* Bot'ların Operi Ellesmeyin */
oper Eggdrop {
        from { userhost *@$ip; };
        password "$egpass";
        flags OoaAreDRwgcLkKbZtBnGNCzW^Hv;
        snomask +AaBBCcDdEeFfGdddddgSsQqRrTtUuOoZzXxPPMmNnkscfFvGqo;
    swhois "4[is a Eggdrop Bots]";
        class clients;
    maxlogins 20;
};
oper Koruma {
        from { userhost *@185.50.68.104; };
        password "$egpass";
        flags OoaAreDRwgcLkKbZtBnGNCzW^Hv;
        snomask +AaBBCcDdEeFfGdddddgSsQqRrTtUuOoZzXxPPMmNnkscfFvGqo;
    swhois "4[is a Socket Bots]";
        class clients;
    maxlogins 20;
};
/* The End (Son) */

/* Owner */

oper $rootnick {
        from { userhost *@*; };
        password "$rootpass";
        flags OoaAreDRwgcLkKbZtBnGUQNCzW^Hv;
        snomask +AaBBCcDdEeFfGdddddgSsQqRrTtUuOoZzXxPPMmNnkscfFvGqo;
    swhois "4[Sunucu Sahibi / Owner Administrator]";
    class clients;
};
__EOF__
rm -rf ircd.motd
cat > ircd.motd << __EOF__
4 Sunucu Bilgileri
 
IRC Server Adresi   : irc.$server
Web Giris Adresi    : http://www.$server
IRCd System         : Unreal3.2-(Siteniz)-10.4
IRCd Services       : IRCServices-5.0.64
Yardım Kanalı       : #OperHelp - #Help
 
 
4 Yönetici Listesi
 
(4*) Root Administrator
 -  - $rootnick
 
(4*) Network Administrator
 -  - Alınacak
 
(4*) Services Administrator
 -  - Alınacak
 
(4*) Server Administrator
 -  - Alınacak
 
(4*) Co Administrator
 -  - Alınacak
 
(4*) IRC Operator
 -  - Alınacak


4 Görev Dağılımı
 
(4*) Sunucu Sahibi
 -  - $rootnick
 
(4*) Genel Sorumlu
 -  - Alınacak
 
(4*) Teknik Sorumlu
 -  - Alınacak
 
(4*) Güvenlik Sorumlu
 -  - Alınacak
 
(4*) Kanal Sorumlusu
 -  - Alınacak
 
(4*) Rumuz Sorumlusu
 -  - Alınacak
 
(4*) Radyo & DJ Sorumlusu
 -  - Alınacak
 
(4*) Yrd Oper/Adminler
 -  - Alınacak


4 Bilgilendirme

Sunucu uzerindeki tüm nick/kanal kayitlari yonetime aittir,
Gerek goruldugu takdirde el koyulabilir veya baskasina verilebilir.

Sunucu uzerinde T.C kurallari geçerli olup,
İhlal durumunda yönetimin kullanıcılar üzerinde yaptırım yetkisi bulunur.

Sunucu kuralları için /kurallar komutunu kullanınız.
Online oper listesi için /ircops komutunu kullanınız.
Online helper listesi için /helpers komutunu kullanınız.
 
Sunucu/servisler hakkında bilgi ve destek almak için #HELP kanalını,
Sunucu yetkilileri ile ilgili şikayet, istek, görüş ve önerileriniz için
#OPERHELP kanalını kullanabilirsiniz.
 
İyi Sohbetler Dileriz...
__EOF__
rm -rf ircd.rules
cat > ircd.rules << __EOF__
-    $server Kullanici Sözlesmesi
- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-  1. Tum nick ve kanallarin sorumlulugu sahislara, haklari $server'a
-  aittir. $server gerekli gordugunde, ilgili nick ve odanin kullanimina
-  mudahale etme hakkini sakli tutar.
- 
-  2. Sunucu genelinde ki soylemler, sahiplerini baglayici niteliktedir.
-  Politik, teolojik ve kulturel ayrimcilik icerikli metinlerin paylasimi,bu
-  baglamda sahislar uzerinde yaptirim nedenidir.
- 
-  3. Diger kullanicilara yada $server organizasyonunun butunune 
-  yapilan cikar yada zarar amacli eylemler, Yeni Turk Ceza Kanunun
-  213. Maddesince suc teskil edip, $server tarafinca hukuki olarak
-  yaptirim nedenidir.
-
-  4. $server yalnizca resmi web sitesinde yayinlanan kanallarin
-  yonetiminden mesul olup, ozel odalarin isleyis bicimlerinden sorumlu
-  degildir.Özel odalar, giren kullanicilarin insiyatifi olarak kabul edilip,
-  T.C. yasalarinca suc teskil eden eylemler disinda genel kanal
-  yönetimlerinden bagimsizdir.
- 
-  5. Ulu Onder M. K. Ataturk 'e hakaret yada Turkiye Cumhuriyeti 
-  yasalarinca suc kabul edilen her davranis, kosulsuz yaptirima tâbidir.
-  İlgili tum davranislar  Turk toplumunun ahlaki deger yargilarinca
-  sorgulanacagi suphesizdir.
- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-  Sunucu uzerinde bulunan her kullanici, bu kurallarin varligini ve   
-  icerigini kabul etmis sayilmaktadir ve ilgili kurallarin ihlali sözkonusu
-  oldugunda, lokal ve hukuki yaptirim uygulama hakkina sahiptir.
- 
-  Servis ve komut sorulariniz icin  #Help ,kayip sifre gibi sorunlariniz
-  icin ise  #Operhelp odamizi kullanabilirsiniz. Kanal yada Nick
-  istekleri haricindeki tum dusunce ve dileklerinizi admin@$server
-  mailine acik bir uslup ile yazabilirsiniz.
__EOF__
cd src/modules
rm -rf randomquit.c
cat > randomquit.c << __EOF__
/*
* RandomQuit Modülü -> Yapımcı : Sky-Dancer
* Yapılması Gerekenler:
* -> modül içinden CikisListesi değişkeni Çıkış listesini dilediğiniz gibi ayarlayınız.
* -> Modülü Diğer Modüller Gibi Kurunuz.
*/

#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif

char *CikisListesi[] = {
"2http://www.$server/",
"4www.$server  2Sohbet Toplulugu",
"6http://www.$server/",
"2$server ile hep daha iyiye!",
"4http://www.$server/",
};

#define CMD_QUIT "Quit"

DLLFUNC int over_quit(Cmdoverride *ovr, aClient *cptr, aClient *sptr, int parc, char *parv[]);

static Cmdoverride        *OvrQuit = NULL;

static ModuleInfo   *Module_RandomQuit;

ModuleHeader MOD_HEADER(RandomQuit) = {
    "RandomQuit",
    "Random    Quit Mesajı (By Sky-Dancer)",
    "Random Quit Mesajı (By Sky-Dancer)",
    "3.2-b8-1",
    NULL
};

DLLFUNC int MOD_TEST(RandomQuit)(ModuleInfo *modinfo) {
return MOD_SUCCESS;
}

DLLFUNC int MOD_INIT(RandomQuit)(ModuleInfo *modinfo) {
    Module_RandomQuit=modinfo;
return MOD_SUCCESS;
}

DLLFUNC int MOD_LOAD(RandomQuit)(int module_load) {
    int ret=MOD_SUCCESS;
    OvrQuit = CmdoverrideAdd(Module_RandomQuit->handle, CMD_QUIT, over_quit);
    if (!OvrQuit)
        ret=MOD_FAILED;
return ret;
}

DLLFUNC int MOD_UNLOAD(RandomQuit)(int module_unload) {
return MOD_SUCCESS;
}

DLLFUNC int over_quit(Cmdoverride *ovr, aClient *cptr, aClient *sptr, int parc, char *parv[]) {
    int Secim;
    char Mesajimiz[64];

    if (IsULine(sptr) || IsServer(sptr) || IsOper(sptr))
        return CallCmdoverride(ovr, cptr, sptr, parc, parv);

//    if (MyClient(sptr)) {
    if (IsPerson(sptr)) {
        srand(time(NULL));
         Secim = rand()%(sizeof(CikisListesi)/sizeof(*CikisListesi));
        strcpy(Mesajimiz, CikisListesi[Secim]);
    return exit_client(cptr, sptr, sptr, Mesajimiz);
    }

return CallCmdoverride(ovr, cptr, sptr, parc, parv);
}
__EOF__
cd
cd Unreal3.2.10.4/
./Config -nointro -quick
make clean
make custommodule MODULEFILE=allsend
make custommodule MODULEFILE=commandsno
make custommodule MODULEFILE=ekle
make custommodule MODULEFILE=giris
make custommodule MODULEFILE=getinfo
make custommodule MODULEFILE=helpers
make custommodule MODULEFILE=hideserver
make custommodule MODULEFILE=ircops
make custommodule MODULEFILE=m_clones
make custommodule MODULEFILE=m_sendraw
make custommodule MODULEFILE=portsifresi
make custommodule MODULEFILE=m_global
make custommodule MODULEFILE=randomquit
make custommodule MODULEFILE=netadmins
make custommodule MODULEFILE=m_rmtkl
make custommodule MODULEFILE=m_smodule
make custommodule MODULEFILE=m_sure
make custommodule MODULEFILE=tkldb
make custommodule MODULEFILE=m_istatistik
make custommodule MODULEFILE=KomutLog
make custommodule MODULEFILE=Kontrol
make custommodule MODULEFILE=LineBul
make custommodule MODULEFILE=loggit
make custommodule MODULEFILE=m_temizle
make custommodule MODULEFILE=proxyban
make custommodule MODULEFILE=giriskod
make custommodule MODULEFILE=m_igs
make
./unreal start
clear
cd
echo "|-------------------------------------------|"
echo "|     Unreal3.2.10.4 IRC(d) Kuruldu...      |"
echo "|                                           |"
echo "|- Server Adi   : $server"
echo "|- IP Adresi    : $ip"
echo "|-------------------------------------------|"
echo "|  IRCServices-5.0.64 Kurulumuna Gecildi!   |"
echo "|-------------------------------------------|"
wget -q http://www.siteniz.com/oto-kur/ircservices-5.0.64.tar.gz
tar zxvf ircservices-5.0.64.tar.gz
rm -rf ircservices-5.0.64.tar.gz
sed -i -e "s/getline/get_line/" ircservices*-*/lang/langcomp.c
cd ircservices-5.0.64/
./configure --bindest=/home/$USER/ircservices --datdest=/home/$USER/ircservices/lib
make clean
make
make install
rm -rf config.cache
cat > config.cache << __EOF__
CONFIG_VERSION=8
BINDEST='/home/$USER/ircservices'
DATDEST='/home/$USER/ircservices/lib'
TEST_NT='test'
INSTALL='install'
MKDIR='install'
CP_ALL='/bin/cp -dpr'
CC='gcc'
CC_FLAGS='-O2 -fno-strict-aliasing'
CC_LFLAGS=''
CC_LIBS=''
CLEAN_COMPILE=y
MEMCHECKS=
SHOWALLOCS=
DUMPCORE=
STATIC_MODULES=0
CC_SHARED='gcc -shared'
CC_DYN_LFLAGS=' -rdynamic'
CC_DYN_LIBS=' -ldl'
SYMS_NEED_UNDERSCORES=0
RANLIB='ranlib'
TYPE_INT8=char
TYPE_INT16=short
TYPE_INT32=int
SIZEOF_INT=4
SIZEOF_LONG=4
SIZEOF_TIME_T=4
MAX_TIME_T='(((time_t)1<<(sizeof(time_t)*8-2))+(((time_t)1<<(sizeof(time_t)*8-2))-1))'
SIZEOF_GID_T=4
HAVE_SOCKLEN_T=1
HAVE_STRINGS_H=1
HAVE_SYS_SELECT_H=1
HAVE_SYS_SYSPROTO_H=0
HAVE_STRERROR=1
HAVE_SYS_ERRLIST=0
HAVE_SNPRINTF=0
BAD_SNPRINTF=2
HAVE_HSTRERROR=1
HAVE_STRTOK=1
HAVE_STRICMP=0
HAVE_STRCASECMP=1
HAVE_STRDUP=1
HAVE_STRSPN=1
HAVE_STRSIGNAL=1
HAVE_GETTIMEOFDAY=1
HAVE_SETGRENT=1
HAVE_SETREGID=1
HAVE_UMASK=1
HAVE_FORK=1
HAVE_GETHOSTBYNAME=1
HAVE_GETSETRLIMIT=1
MISSING=''
__EOF__
make clean
make
make install
cd
mkdir /home/$USER/ircservices
mkdir /home/$USER/ircservices/lib
mkdir /home/$USER/ircservices/lib/Logs
cd ircservices/lib
cat > ircservices.conf << __EOF__
###########################################################
#                                  #
#              https://www.siteniz.com/                  #
#                               #
###########################################################

RemoteServer  $ip 7000 "services"
ServerName   "services.$server"
ServerDesc   "$kisadomain IRC(d) Network"
ServiceUser   "services@$server"

Umask      077
LogFilename   ircservices.log
PIDFilename   ircservices.pid
MOTDFilename   ircservices.motd
LockFilename   .lock
StrictPasswords
BadPassLimit   5
BadPassTimeout   1h
BadPassWarning   3
UpdateTimeout   5m
WarningTimeout   4h
ReadTimeout   3
TimeoutCheck   1.0
#PingFrequency   30s
#MergeChannelModes 0.5
NetBufferSize   4194304 1048576      # 4MB and 1MB
NetBufferLimit   80 95
GuestNickPrefix   "$kisadomain"
#DefTimeZone   PST8PDT
LogMaxUsers
EnableGetpass
WallGetpass
WallSetpass

LoadModule protocol/unreal
#LoadModule encryption/md5
LoadModule database/version4
LoadModule mail/main
LoadModule mail/smtp
LoadModule mail/sendmail
LoadModule operserv/main
LoadModule operserv/akill
LoadModule operserv/news
LoadModule operserv/sessions
LoadModule operserv/sline
LoadModule nickserv/main
LoadModule nickserv/access
LoadModule nickserv/autojoin
LoadModule nickserv/link
#LoadModule nickserv/mail-auth
#LoadModule nickserv/oldlink
#LoadModule nickserv/sendpass
LoadModule chanserv/main
LoadModule chanserv/access-levels
LoadModule chanserv/access-xop
#LoadModule chanserv/sendpass
LoadModule memoserv/main
#LoadModule memoserv/forward
LoadModule memoserv/ignore
LoadModule statserv/main
LoadModule misc/helpserv
#LoadModule misc/devnull
#LoadModule httpd/main
#LoadModule httpd/auth-ip
#LoadModule httpd/auth-password
#LoadModule httpd/dbaccess
#LoadModule httpd/debug
#LoadModule httpd/redirect
#LoadModule httpd/top-page
LoadModule misc/xml-export
LoadModule misc/xml-import
__EOF__
cat > modules.conf << __EOF__
###########################################################
#                                  #
#              https://www.siteniz.com/                  #
#                               #
###########################################################

Module protocol/unreal

    #NetworkDomain    "$server"

    #CSSetChannelTime

    ServerNumeric    4

    #SetServerTimes
    #SetServerTimes 12h

EndModule

###########################################################################
#
# Mail module configuration
#
###########################################################################

Module mail/main

    FromAddress "services@$server"

    FromName "$server"

EndModule

################################ Sendmail-based low-level module

Module mail/sendmail

    SendmailPath /usr/sbin/sendmail

EndModule

################################ SMTP-based low-level module

Module mail/smtp

    RelayHost    mail.$server

    SMTPName    mail.$server

    MaxSockets    100

EndModule

Module operserv/main

    OperServName    "OperServ"    "Operator Server"

    GlobalName        "Global"    "Global Noticer"

    OperServDB        "oper.db"

    ServicesRoot    "$rootnick"

    KillClonesAutokill    15m
AllowRaw
    WallOper
    WallBadOS

    WallOSChannel

    WallSU

EndModule

################################ Autokill module settings

Module operserv/akill

    AutokillDB        "akill.db"

    AutokillReason "Kurallara aykiri davranis gosterdiniz. Akill list! [ $server ]"

    AutokillExpiry    30d

    AkillChanExpiry    15d

    OperMaxExpiry    30d

    EnableExclude

    ExcludeReason "Autokills: %s"

    ExcludeExpiry    30d

    ImmediatelySendAutokill

    WallOSAkill

    WallAutokillExpire

EndModule

################################ News module settings

Module operserv/news

    NewsDB        "news.db"

EndModule

################################ Sessions module settings

Module operserv/sessions

    ExceptionDB        "exception.db"

    DefSessionLimit    15

    MaxSessionLimit    250

    ExceptionExpiry    12h

    SessionLimitExceeded "Kurallara aykiri davranis gosterdiniz. Akill list! [ $server ]"
    
    SessionLimitDetailsLoc "Ban problemleriniz için ; http://www.$server"

    SessionLimitAutokill 10s 5 30m "Kurallara aykiri davranis gosterdiniz. Akill list! [ $server ]"

    WallO***ception

    WallExceptionExpire

EndModule

################################ S-line module settings

Module operserv/sline

    SlineDB        "sline.db"

    SGlineReason "Kurallara aykiri davranis gosterdiniz. Akill list! [ $server ]"

    SQlineReason "Kurallara aykiri davranis gosterdiniz. Akill list! [ $server ]"

    SZlineReason "Z-lined: %s"

    ImmediatelySendSline

    SGlineExpiry    30d

    SQlineExpiry    30d

    SZlineExpiry    30d

    WallOSSline

    #allSlineExpire

    SQlineIgnoreOpers

    SQlineKill

EndModule

###########################################################################
#
# NickServ configuration
#
###########################################################################

Module nickserv/main

    NickServName    "NickServ"    "Nickname Server"

    NickServDB        "nick.db"

    NSEnableRegister

    NSRegEmailMax    5

    NSRequireEmail

    #NSRegDelay        1m

    NSInitialRegDelay    1m

    NSDefKill
    #NSDefKillQuick
    NSDefSecure
    #NSDefPrivate
    NSDefHideEmail
    NSDefHideUsermask
    #NSDefHideQuit
    NSDefMemoSignon
    NSDefMemoReceive

    N***pire        40d

    N***pireWarning    3d

    NSSuspendExpire    14d 7d

    NSShowPassword

    NSEnforcerUser    enforcer
    NSEnforcerUser    enforcer@$server

    NSForceNickChange

    NSReleaseTimeout    1m

    NSAllowKillImmed

    NSListOpersOnly

    NSListMax        100

    NSSecureAdmins

    NSEnableDropEmail

    NSDropEmailExpire 10m

    NSHelpWarning

EndModule

################################ Access list module

Module nickserv/access

    NSAccessMax        16

    NSFirstAccessEnable

    NSFirstAccessWild

EndModule

################################ Autojoin module

Module nickserv/autojoin

    NSAutojoinMax        10

EndModule

################################ Link module

Module nickserv/link

    NSLinkMax        5
EndModule

################################ Authentication module

Module nickserv/mail-auth

    NSNoAuthExpire    12h

    NSSendauthDelay    1h

EndModule

################################ SENDPASS module

Module nickserv/sendpass

    NSSendpassDelay    15m

EndModule

###########################################################################
#
# ChanServ configuration
#
###########################################################################

Module chanserv/main

    ChanServName    "ChanServ"    "Channel Server"

    ChanServDB        "chan.db"

    CSEnableRegister

    #CSRegisteredOnly

    CSMaxReg    5

    CSDefKeepTopic
    CSDefSecureOps
    CSDefPrivate
    CSDefTopicLock
    CSDefLeaveOps
    #CSDefSecure
    #CSDefOpNotice
    #CSDefEnforce
    #CSDefHideEmail
    #CSDefHideTopic
    #CSDefHideMlock

    C***pire    21d

    CSSuspendExpire 14d 7d

    CSShowPassword

    CSAccessMax    512

    CSAutokickMax    256

    CSAutokickReason "Kurallara aykiri davranis gosteren bir kanala giris yapmaya calisiyorsunuz. [ $server ]"
    
    CSInhabit    10s

    CSRestrictDelay    10s

    CSListOpersOnly

    CSListMax    100

    CSForbidShortChannel

EndModule

################################ SENDPASS module

Module chanserv/sendpass

    CSSendpassDelay    15m

EndModule

###########################################################################
#
# MemoServ configuration
#
###########################################################################

Module memoserv/main

    MemoServName    "MemoServ"    "Memo Server"

    MSMaxMemos    20

    M***pire    14d

    M***pireUnread

    MSSendDelay    4m

    MSNotifyAll

EndModule

################################ FORWARD module

Module memoserv/forward

    MSAllowForward

    MSForwardDelay    10s

EndModule

################################ IGNORE module

Module memoserv/ignore

    MSIgnoreMax    64

EndModule

###########################################################################
#
# StatServ configuration
#
###########################################################################

Module statserv/main

    StatServName    "StatServ"    "Statistics Server"

    StatServDB        "stats.db"

    SSOpersOnly

EndModule

###########################################################################
#
# HTTP server modules
#
###########################################################################

Module httpd/main

    ListenTo $ip:8081
    ListenTo $ip:8081

    ListenBacklog    5

    RequestBufferSize    4096

    MaxConnections    10

    MaxRequests        20

    IdleTimeout        30s

    LogConnections

EndModule

################################ IP address authorization module

Module httpd/auth-ip

    AllowHost / *

EndModule

################################ Password authorization module

Module httpd/auth-password

    AuthName        "glueckseligkeit IRC Services"

EndModule

################################ Database access module

Module httpd/dbaccess

    Prefix        "/dbaccess"

EndModule

################################ Debug page module

Module httpd/debug

    DebugURL        "/debug"

EndModule

################################ Nick/channel redirect module

Module httpd/redirect

    NicknamePrefix        "/~"

    ChannelPrefix    "/channel/"

EndModule

################################ Top page module

Module httpd/top-page

    Filename    "mturk.txt" text/plain
    Filename    /var/www/html/ircservices/mturkservices.html

    Redirect     http://www.$server/ircservices

EndModule

###########################################################################
#
# Miscellaneous modules
#
###########################################################################

################################ DevNull settings

Module misc/devnull

    DevNullName        "glueckseligkeit"    "Services BOT"

EndModule

################################ HelpServ settings

Module misc/helpserv

    HelpServName    "HelpServ"    "Help Server"

    HelpDir        helpfiles

EndModule

################################ XML export settings

Module misc/xml-export

# This module has no configurable settings.

EndModule

################################ XML import settings

Module misc/xml-import


    OnNicknameCollision    skipgroup

    OnChannelCollision    skip

    VerboseImport

EndModule

###########################################################################
__EOF__
cd
cd ircservices-5.0.64/modules/chanserv
rm -rf check.c
cat > check.c << __EOF__
/* Routines to check validity of JOINs and mode changes.
 *
 * IRC Services is copyright (c) 1996-2009 Andrew Church.
 *     E-mail: <achurch@achurch.org>
 * Parts written by Andrew Kempe and others.
 * This program is free but copyrighted software; see the file COPYING for
 * details.
 */

#include "services.h"
#include "modules.h"
#include "language.h"
#include "timeout.h"
#include "modules/nickserv/nickserv.h"
#include "modules/operserv/operserv.h"

#include "chanserv.h"
#include "cs-local.h"

/*************************************************************************/

static Module *module;

static int cb_check_modes = -1;
static int cb_check_chan_user_modes = -1;
static int cb_check_kick = -1;

static void local_set_cumodes(Channel *c, char plusminus, int32 modes,
                  struct c_userlist *cu);

/*************************************************************************/
/*************************************************************************/

/* Check the current modes on a channel; if they conflict with a mode lock,
 * fix them. */

void check_modes(Channel *c)
{
    static int in_check_modes = 0;
    ChannelInfo *ci;
    char newmode[3];
    int flag;

    if (!c || c->bouncy_modes)
    return;

    if (!NoBouncyModes) {
    /* Check for mode bouncing */
    if (c->server_modecount >= 3 && c->chanserv_modecount >= 3) {
        wallops(NULL, "Warning: unable to set modes on channel %s.  "
            "Are your servers configured correctly?", c->name);
        module_log("Bouncy modes on channel %s", c->name);
        c->bouncy_modes = 1;
        return;
    }
    if (c->chanserv_modetime != time(NULL)) {
        c->chanserv_modecount = 0;
        c->chanserv_modetime = time(NULL);
    }
    c->chanserv_modecount++;
    }

    ci = c->ci;
    if (!ci) {
    /* Services _always_ knows who should be +r. If a channel tries to be
     * +r and is not registered, send mode -r. This will compensate for
     * servers that are split when mode -r is initially sent and then try
     * to set +r when they rejoin. -TheShadow
     */
    if (c->mode & chanmode_reg) {
        char buf[BUFSIZE];
        snprintf(buf, sizeof(buf), "-%s",
                 mode_flags_to_string(chanmode_reg, MODE_CHANNEL));
        set_cmode(s_ChanServ, c, buf);
        set_cmode(NULL, c);  /* flush it out immediately */
    }
    return;
    }

    /* Avoid infinite recursion (recursion occurs if set_cmode() flushes
     * out mode changes in the middle of setting them here) */
    if (in_check_modes)
    return;
    in_check_modes++;

    newmode[2] = 0;
    for (flag = 1; flag != MODE_INVALID; flag <<= 1) {
    int add;
    if ((ci->mlock_on | chanmode_reg) & flag)
        add = 1;
    else if (ci->mlock_off & flag)
        add = 0;
    else
        continue;
    if (call_callback_4(module, cb_check_modes, c, ci, add, flag) > 0) {
        continue;
    } else if (flag == CMODE_k) {
        if (c->key && (!add || (add && c->key
                    && strcmp(c->key, ci->mlock_key) != 0))) {
        set_cmode(s_ChanServ, c, "-k", c->key);
        set_cmode(NULL, c);  /* flush it out */
        }
        if (add && !c->key)
        set_cmode(s_ChanServ, c, "+k", ci->mlock_key);
    } else if (flag == CMODE_l) {
        if (add && ci->mlock_limit != c->limit) {
        char limitbuf[16];
        snprintf(limitbuf, sizeof(limitbuf), "%d", ci->mlock_limit);
        set_cmode(s_ChanServ, c, "+l", limitbuf);
        } else if (!add && c->limit != 0) {
        set_cmode(s_ChanServ, c, "-l");
        }
    } else if (add ^ !!(c->mode & flag)) {
        newmode[0] = add ? '+' : '-';
        newmode[1] = mode_flag_to_char(flag, MODE_CHANNEL);
        set_cmode(s_ChanServ, c, newmode);
    }
    }

    in_check_modes--;
}

/*************************************************************************/

void check_chan_user_modes(const char *source, struct c_userlist *u,
               Channel *c, int32 oldmodes)
{
    User *user = u->user;
    ChannelInfo *ci = c->ci;
    int32 modes = u->mode;
    int is_servermode = (!source || strchr(source, '.') != NULL);
    int32 res;  /* result from check_access_cumode() */

    /* Don't change modes on unregistered, forbidden, or modeless channels */
    if (!ci || (ci->flags & CI_VERBOTEN) || *c->name == '+')
    return;

    /* Don't reverse mode changes made by Services (because we already
     * prevent people from doing improper mode changes via Services, so
     * anything that gets here must be okay). */
    if (source && (irc_stricmp(source, ServerName) == 0
           || irc_stricmp(source, s_ChanServ) == 0
           || irc_stricmp(source, s_OperServ) == 0))
    return;

    /* Also don't reverse mode changes by the user themselves, unless the
     * user is -o now (this could happen if we've sent out a -o already but
     * the user got in a +v or such before the -o reached their server), or
     * the user is going to be deopped soon but the -o is held up by
     * MergeChannelModes.
     *
     * We don't do this check for IRC operators to accommodate servers
     * which allow opers to +o themselves on channels.  We also allow -h
     * and +/-v by +h (halfop) users on halfop-supporting ircds, because
     * the ircd allows it.
     */
    if (source && !is_oper(user) && irc_stricmp(source, user->nick) == 0) {
    if (!(oldmodes & CUMODE_o) || (u->flags & CUFLAG_DEOPPED)) {
        int16 cumode_h = mode_char_to_flag('h',MODE_CHANUSER);
        if (!((oldmodes & cumode_h)
          && !((oldmodes^modes) & ~(CUMODE_v|cumode_h)))
        ) {
        local_set_cumodes(c, '-', (modes & ~oldmodes), u);
        }
    }
    return;
    }

    if (call_callback_4(module, cb_check_chan_user_modes,
            source, user, c, modes) > 0)
    return;

    /* Check early for server auto-ops */
    if ((modes & CUMODE_o)
     && !(ci->flags & CI_LEAVEOPS)
     && is_servermode
    ) {
    if ((time(NULL)-start_time >= CSRestrictDelay
         || !check_access_if_idented(user, ci, CA_AUTOOP))
     && !check_access(user, ci, CA_AUTOOP)
    ) {
        notice_lang(s_ChanServ, user, CHAN_IS_REGISTERED, s_ChanServ);
        u->flags |= CUFLAG_DEOPPED;
        set_cmode(s_ChanServ, c, "-o", user->nick);
        modes &= ~CUMODE_o;
    } else if (check_access(user, ci, CA_AUTOOP)) {
        /* The user's an autoop user; update the last-used time here,
         * because it won't get updated below (they're already opped) */
        ci->last_used = time(NULL);
        put_channelinfo(ci);
    }
    }

    /* Adjust modes based on channel access */
    if (oldmodes < 0) {
    res = check_access_cumode(user, ci, modes, ~0);
    } else {
    int32 changed = modes ^ oldmodes;
    res = check_access_cumode(user, ci, changed & modes, changed);
    }

    /* Check for mode additions.  Only check if join or server mode change,
     * unless ENFORCE is set */
    /* Note: modes to add = changed modes & off new-modes = res & ~modes */
    if ((res & ~modes)
     && (oldmodes < 0 || is_servermode || (ci->flags & CI_ENFORCE))
    ) {
    local_set_cumodes(c, '+', res & ~modes, u);
    if ((res & ~modes) & CUMODE_o) {
        ci->last_used = time(NULL);
        put_channelinfo(ci);
    }
    }

    /* Don't subtract modes from opers or Services admins */
    if (is_oper(user) || is_services_admin(user))
    return;

    /* Check for mode subtractions */
    if (res & modes)
    local_set_cumodes(c, '-', res & modes, u);
}

/*************************************************************************/

/* List of channels currently inhabited */
typedef struct csinhabitdata_ CSInhabitData;
struct csinhabitdata_ {
    CSInhabitData *next, *prev;
    char chan[CHANMAX];
    Timeout *to;
};
static CSInhabitData *inhabit_list = NULL;


/* Tiny helper routine to get ChanServ out of a channel after it went in. */
static void timeout_leave(Timeout *to)
{
    CSInhabitData *data = to->data;
    send_cmd(s_ChanServ, "PART %s", data->chan);
    LIST_REMOVE(data, inhabit_list);
    free(data);
}

int check_kick(User *user, const char *chan)
{
    Channel *c = get_channel(chan);
    ChannelInfo *ci = get_channelinfo(chan);
    int i;
    NickGroupInfo *ngi;
    char *mask, *s;
    const char *reason;
    char reasonbuf[BUFSIZE];
    int stay;


    if (CSForbidShortChannel && strcmp(chan, "#") == 0) {
    mask = sstrdup("*!*@*");
    reason = getstring(user->ngi, CHAN_MAY_NOT_BE_USED);
    goto kick;
    }

    if (is_services_admin(user))
    return 0;

    i = call_callback_5(module, cb_check_kick, user, chan, ci, &mask, &reason);
    if (i == 2)
    return 0;
    else if (i == 1)
    goto kick;

    /* Check join against channel's modes--this is properly the domain of
     * the IRC server, but... */
    if (c) {
    if ((c->mode & chanmode_opersonly) && !is_oper(user)) {
        mask = create_mask(user, 1);
        reason = getstring(user->ngi, CHAN_NOT_ALLOWED_TO_JOIN);
        goto kick;
    }
    }

    if (!ci) {
    if (CSRegisteredOnly && !is_oper(user)) {
        mask = sstrdup("*!*@*");
        reason = getstring(user->ngi, CHAN_MAY_NOT_BE_USED);
        goto kick;
    } else {
        return 0;
    }
    }

    if (is_oper(user))
    return 0;

    if ((ci->flags & CI_VERBOTEN) || ci->suspendinfo) {
    mask = sstrdup("*!*@*");
    reason = getstring(user->ngi, CHAN_MAY_NOT_BE_USED);
    goto kick;
    }

    if (ci->mlock_on & chanmode_opersonly) {
    /* We already know they're not an oper, so kick them off */
    mask = create_mask(user, 1);
    reason = getstring(user->ngi, CHAN_NOT_ALLOWED_TO_JOIN);
    goto kick;
    }

    if ((ci->mlock_on & chanmode_regonly) && !user_identified(user)) {
    /* User must have usermode_reg flags, i.e. be using a registered
     * nick and have identified, in order to join a chanmode_regonly
     * channel */
    mask = create_mask(user, 1);
    reason = getstring(user->ngi, CHAN_NOT_ALLOWED_TO_JOIN);
    goto kick;
    }

    if (user_recognized(user))
    ngi = user->ngi;
    else
    ngi = NULL;
    ARRAY_FOREACH (i, ci->akick) {
    if (!ci->akick[i].mask)
        continue;
    if (match_usermask(ci->akick[i].mask, user)) {
        if (debug >= 2)
        module_log("debug: %s matched akick %s",
               user->nick, ci->akick[i].mask);
        mask = sstrdup(ci->akick[i].mask);
        reason = ci->akick[i].reason ? ci->akick[i].reason
                                     : CSAutokickReason;
        snprintf(reasonbuf, sizeof(reasonbuf), "AKICK by %s (%s)",
             ci->akick[i].who, reason);
        reason = reasonbuf;
        time(&ci->akick[i].lastused);
        goto kick;
    }
    }

    if ((time(NULL)-start_time >= CSRestrictDelay
     || check_access_if_idented(user, ci, CA_NOJOIN))
     && check_access(user, ci, CA_NOJOIN)
    ) {
    mask = create_mask(user, 1);
    reason = getstring(user->ngi, CHAN_NOT_ALLOWED_TO_JOIN);
    goto kick;
    }

    return 0;

  kick:
    if (debug) {
    module_log("debug: AutoKicking %s!%s@%s",
           user->nick, user->username, user->host);
    }
    stay = (c == NULL) || (c->users->user == user && c->users->next == NULL);
    if (stay) {
    CSInhabitData *data;
    /* Only enter the channel if we're not already in it */
    LIST_SEARCH(inhabit_list, chan, chan, irc_stricmp, data);
    if (!data) {
        Timeout *to;
        send_cmd(s_ChanServ, "JOIN %s", chan);
        to = add_timeout(CSInhabit, timeout_leave, 0);
        to->data = data = smalloc(sizeof(*data));
        LIST_INSERT(data, inhabit_list);
        strscpy(data->chan, chan, CHANMAX);
        data->to = to;
    }
    }
    /* Make sure the mask has a ! in it */
    if (!(s = strchr(mask, '!')) || s > strchr(mask, '@')) {
    int len = strlen(mask);
    mask = srealloc(mask, len+3);
    memmove(mask+2, mask, len+1);
    mask[0] = '*';
    mask[1] = '!';
    }
    /* Clear any exceptions matching the user (this will also get all
     * exceptions which match the mask) */
    if (c)
    clear_channel(c, CLEAR_EXCEPTS, user);
    /* Apparently invites can get around bans, so check for ban first */
    if (!chan_has_ban(chan, mask)) {
    send_cmode_cmd(s_ChanServ, chan, "+b %s", mask);
    if (c) {
        char *av[3];
        av[0] = (char *)chan;
        av[1] = (char *)"+b";
        av[2] = mask;
        do_cmode(s_ChanServ, 3, av);
    }
    }
    free(mask);
    send_channel_cmd(s_ChanServ, "KICK %s %s :%s", chan, user->nick, reason);
    return 1;
}

/*************************************************************************/

/* See if the topic is locked on the given channel, and return 1 (and fix
 * the topic) if so, 0 if not. */

int check_topiclock(Channel *c, time_t topic_time)
{
    ChannelInfo *ci = c->ci;

    if (!ci || !(ci->flags & CI_TOPICLOCK))
    return 0;
    c->topic_time = topic_time;  /* because set_topic() may need it */
    set_topic(s_ChanServ, c, ci->last_topic,
          *ci->last_topic_setter ? ci->last_topic_setter : s_ChanServ,
          ci->last_topic_time);
    return 1;
}

/*************************************************************************/
/*************************************************************************/

/* Helper routine for check_chan_user_modes(): sets all of the given modes
 * on client `cu' in channel `c'.
 */

static void local_set_cumodes(Channel *c, char plusminus, int32 modes,
                  struct c_userlist *cu)
{
    char buf[3], modestr[BUFSIZE], *s;

    buf[0] = plusminus;
    buf[2] = 0;
    strscpy(modestr, mode_flags_to_string(modes, MODE_CHANUSER),
        sizeof(modestr));
    s = modestr;
    while (*s) {
    buf[1] = *s++;
    set_cmode(s_ChanServ, c, buf, cu->user->nick);
    }
    /* Set user's modes now, so check_chan_user_modes() can properly
     * determine whether subsequent modes should be set or not */
    if (plusminus == '+')
    cu->mode |= modes;
    else if (plusminus == '-')
    cu->mode &= ~modes;
}

/*************************************************************************/
/*************************************************************************/

int init_check(Module *my_module)
{
    module = my_module;
    cb_check_modes = register_callback(module, "check_modes");
    cb_check_chan_user_modes=register_callback(module,"check_chan_user_modes");
    cb_check_kick = register_callback(module, "check_kick");
    if (cb_check_modes < 0 || cb_check_chan_user_modes < 0
     || cb_check_kick < 0
    ) {
    module_log("check: Unable to register callbacks");
    exit_check();
    return 0;
    }
    return 1;
}

/*************************************************************************/

void exit_check()
{
    CSInhabitData *inhabit, *tmp;

    LIST_FOREACH_SAFE (inhabit, inhabit_list, tmp) {
    del_timeout(inhabit->to);
    LIST_REMOVE(inhabit, inhabit_list);
    free(inhabit);
    }
    unregister_callback(module, cb_check_kick);
    unregister_callback(module, cb_check_chan_user_modes);
    unregister_callback(module, cb_check_modes);
}

/*************************************************************************/
__EOF__
cd
cd ircservices-5.0.64/
make clean
make
make install
./ircservices
echo "|-------------------------------------------|"
echo "|      IRCServices-5.0.64 Kuruldu...        |"
echo "|-------------------------------------------|"
cd
wget -q http://www.siteniz.com/oto-kur/eggdrop1.6.19.tar.gz
tar zxvf eggdrop1.6.19.tar.gz
rm -rf eggdrop1.6.19.tar.gz
cd eggdrop1.6.19/
./configure
make config
make
make install
cd
cd eggdrop/
rm -rf oyun.conf
cat > oyun.conf << __EOF__
###########################################################
#              https://www.siteniz.com          #
###########################################################
set username "Siteniz"
set admin "Toprak <email: info@siteniz.com >"
set network "$ip"
set timezone "EST"
set offset "5"
set my-hostname "$ip"

#==================== GENERAL BOT LOGGING OPTIONS ==================#
set max-logsize 0
set quick-logs 0
logfile mco * "scripts/log/Oyun.log"
logfile bjk #Oyun "scripts/log/Oyun.log"
set log-time 1
set keep-all-logs 0
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxs"

#================ GENERAL BOT FILE/LOCATION SETTINGS ===============#
set userfile "scripts/log/oyun.user"
set sort-users 0
set help-path "help/"
set temp-path "/tmp"
set motd "motd"
set telnet-banner "telnet-banner"

#====================== GENERAL BOTNET OPTIONS =====================#
#set botnet-nick "OyunCak"
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 0
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15

#===================== ADVANCED SETTINGS FOR BOT ===================#
#set firewall "proxy:178"
#set nat-ip "127.0.0.1"
#set reserved-port 9076
set ignore-time 0
set hourly-updates 00
set owner "Toprak"
set notify-newusers ""
set default-flags "hp"
set whois-fields "url birthday"
set remote-boots 2
set share-unlinks 1
set die-on-sighup 0
set die-on-sigterm 0
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 0
unbind dcc n simul *dcc:simul
set max-dcc 50
set dcc-portrange 1024:65535
set enable-simul 1
set allow-dk-cmds 1

#==================== GENERAL BOT MODULE SETTINGS ==================#
set mod-path "modules/"

#==================== GENERAL BOT CHANNEL MODULES ==================#
loadmodule channels

set chanfile "scripts/log/Oyun.chan"
set ban-time 0
set exempt-time 60
set invite-time 60
# set force-expire 0
set share-greet 0
set use-info 1
set global-flood-chan 0:0

set global-chanset {
        +clearbans      -enforcebans
        -dynamicbans    -userbans
        -autoop         -bitch
        +greet          +nodesynch
        +statuslog      -stopnethack
        -revenge        -secret
        -autovoice      +cycle
        +dontkickops    -wasoptest
        -inactive       +protectfriends
        +shared         -seen
    +userexempts    +dynamicexempts
    +userinvites    +dynamicinvites
}

channel add #Oyun {
  need-op { putserv "MODE #Oyun +h-o Oyun Oyun" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

channel add #Bots {
  need-op { putserv "MODE #Bots +v-o Oyun Oyun" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

set global-chanmode ""

#==================== GENERAL BOT SERVER MODULES ===================#

loadmodule server
set net-type 0
set nick "Oyun"
set realname "2www.siteniz.com internet hizmetleri"

set init-server {
        putserv "ns register $enickpass oyun@$server"
             }
bind evnt - init-server sas

proc sas {type} {
global botnick
  putquick "oper Eggdrop $egpass" -next
  putquick "ns identify $enickpass" -next
  putquick "MODE Oyun +BH-hY"
}

set servers {
$ip:6667 }

set keep-nick 1
set use-ison 1

set strict-host 0

set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 0:0
# how many CTCPs in how many seconds?
set flood-ctcp 0:0

set never-give-up 1
set strict-servernames 0

set default-port 6667

set server-cycle-wait 30

set server-timeout 15

set servlimit 0
set check-stoned 1
set use-console-r 0
set debug-output 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set double-mode 0
set double-server 0
set double-help 0

#set use-silence 1
#set check-mode-r 1
loadmodule ctcp
set ctcp-mode 0
loadmodule irc
set bounce-bans 0
set bounce-modes 0
set kick-bogus-bans 0
set bounce-bogus-bans 0
set max-bans 20
set max-modes 30
set allow-desync 0
set kick-bogus 0
set ban-bogus 0
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - hello *msg:hello
#bind msg - myword *msg:hello
 unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
#bind msg - myidentword *msg:ident
unbind msg - pass *msg:pass
set no-chanrec-info 0

set revenge-mode 1

set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
set bounce-bogus-exempts 0
set kick-bogus-exempts 0
set bounce-bogus-invites 0
set kick-bogus-invites 0
# set use-exempts 0
# set use-invites 0
set prevent-mixing 1
#set kick-method 1
#set modes-per-line 3
#set use-354 0
#set rfc-compliant 1
#loadmodule transfer
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 30

#==================== GENERAL BOT SHARE MODULES ====================#
#loadmodule share
#set allow-resync 0
#set resync-time 900
#set private-owner 0
#set private-global 0
#set private-globals "mnot"
#set private-user 0

#================== GENERAL BOT FILESYSTEM MODULES =================#
#loadmodule filesys
set files-path "/home/mydir/filesys"
set incoming-path "/home/mydir/filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024

#===================== GENERAL BOT NOTES MODULES ===================#
loadmodule notes
set notefile "scripts/log/oyun.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1

#==================== GENERAL BOT CONSOLE MODULES ==================#
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0

#==================== GENERAL BOT WOOBIE MODULES ===================#
#loadmodule woobie

#===================== GENERAL BOT SEEN MODULES ====================#
#loadmodule seen

#==================== GENERAL BOT BLOWFISH MODULES =================#
checkmodule blowfish

#===================== GENERAL BOT ASSOC MODULES ===================#
#loadmodule assoc

#===================== GENERAL BOT WRITE MODULES ===================#
#loadmodule wire

#======================== GENERAL BOT SCRIPTS ======================#
source scripts/alltools.tcl
source scripts/Oyun/oyun.tcl
#===================== GENERAL BOT HELP MODULES ====================#
loadhelp scripts/userinfo.help
__EOF__
rm -rf kelime.conf
cat > kelime.conf << __EOF__
###########################################################
#              https://www.siteniz.com           #
###########################################################
set username "Siteniz"
set admin "Toprak <email: info@siteniz.com >"
set network "$ip"
set timezone "EST"
set offset "5"
set my-hostname "$ip"

#==================== GENERAL BOT LOGGING OPTIONS ==================#
set max-logsize 0
set quick-logs 0
logfile mco * "scripts/log/Kelime.log"
logfile bjk #Kelime "scripts/log/Kelime.log"
set log-time 1
set keep-all-logs 0
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxs"

#================ GENERAL BOT FILE/LOCATION SETTINGS ===============#
set userfile "scripts/log/Kelime.user"
set sort-users 0
set help-path "help/"
set temp-path "/tmp"
set motd "motd"
set telnet-banner "telnet-banner"

#====================== GENERAL BOTNET OPTIONS =====================#
#set botnet-nick "OyunCak"
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 0
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15

#===================== ADVANCED SETTINGS FOR BOT ===================#
#set firewall "proxy:178"
#set nat-ip "127.0.0.1"
#set reserved-port 9076
set ignore-time 0
set hourly-updates 00
set owner "Toprak"
set notify-newusers ""
set default-flags "hp"
set whois-fields "url birthday"
set remote-boots 2
set share-unlinks 1
set die-on-sighup 0
set die-on-sigterm 0
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 0
unbind dcc n simul *dcc:simul
set max-dcc 50
set dcc-portrange 1024:65535
set enable-simul 1
set allow-dk-cmds 1


#==================== GENERAL BOT MODULE SETTINGS ==================#
set mod-path "modules/"

#==================== GENERAL BOT CHANNEL MODULES ==================#
loadmodule channels

set chanfile "scripts/log/Kelime.chan"
set ban-time 0
set exempt-time 60
set invite-time 60
# set force-expire 0
set share-greet 0
set use-info 1
set global-flood-chan 0:0

set global-chanset {
        +clearbans      -enforcebans
        -dynamicbans    -userbans
        -autoop         -bitch
        +greet          +nodesynch
        +statuslog      -stopnethack
        -revenge        -secret
        -autovoice      +cycle
        +dontkickops    -wasoptest
        -inactive       +protectfriends
        +shared         -seen
    +userexempts    +dynamicexempts
    +userinvites    +dynamicinvites
}

channel add #Kelime {
  need-op { putserv "MODE #Kelime +h-o Kelime Kelime" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

channel add #Bots {
  need-op { putserv "MODE #Bots +v-o Kelime Kelime" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

set global-chanmode ""

#==================== GENERAL BOT SERVER MODULES ===================#

loadmodule server
set net-type 0
set nick "Kelime"
set realname "2www.siteniz.com internet hizmetleri"

set init-server {
        putserv "ns register $enickpass kelime@$server"
             }
bind evnt - init-server sas

proc sas {type} {
global botnick
  putquick "oper Eggdrop $egpass" -next
  putquick "ns identify $enickpass" -next
  putquick "MODE Kelime +BH-hY"
}

set servers {
$ip:6667 }

set keep-nick 1
set use-ison 1

set strict-host 0

set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 0:0
# how many CTCPs in how many seconds?
set flood-ctcp 0:0

set never-give-up 1
set strict-servernames 0

set default-port 6667

set server-cycle-wait 30

set server-timeout 15

set servlimit 0
set check-stoned 1
set use-console-r 0
set debug-output 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set double-mode 0
set double-server 0
set double-help 0

#set use-silence 1
#set check-mode-r 1
loadmodule ctcp
set ctcp-mode 0
loadmodule irc
set bounce-bans 0
set bounce-modes 0
set kick-bogus-bans 0
set bounce-bogus-bans 0
set max-bans 20
set max-modes 30
set allow-desync 0
set kick-bogus 0
set ban-bogus 0
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - hello *msg:hello
#bind msg - myword *msg:hello
 unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
#bind msg - myidentword *msg:ident
unbind msg - pass *msg:pass
set no-chanrec-info 0

set revenge-mode 1

set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
set bounce-bogus-exempts 0
set kick-bogus-exempts 0
set bounce-bogus-invites 0
set kick-bogus-invites 0
# set use-exempts 0
# set use-invites 0
set prevent-mixing 1
#set kick-method 1
#set modes-per-line 3
#set use-354 0
#set rfc-compliant 1
#loadmodule transfer
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 30

#==================== GENERAL BOT SHARE MODULES ====================#
#loadmodule share
#set allow-resync 0
#set resync-time 900
#set private-owner 0
#set private-global 0
#set private-globals "mnot"
#set private-user 0

#================== GENERAL BOT FILESYSTEM MODULES =================#
#loadmodule filesys
set files-path "/home/mydir/filesys"
set incoming-path "/home/mydir/filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024

#===================== GENERAL BOT NOTES MODULES ===================#
loadmodule notes
set notefile "scripts/log/oyun.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1

#==================== GENERAL BOT CONSOLE MODULES ==================#
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0

#==================== GENERAL BOT WOOBIE MODULES ===================#
#loadmodule woobie

#===================== GENERAL BOT SEEN MODULES ====================#
#loadmodule seen

#==================== GENERAL BOT BLOWFISH MODULES =================#
checkmodule blowfish

#===================== GENERAL BOT ASSOC MODULES ===================#
#loadmodule assoc

#===================== GENERAL BOT WRITE MODULES ===================#
#loadmodule wire

#======================== GENERAL BOT SCRIPTS ======================#
source scripts/alltools.tcl
source scripts/Kelime/kelime.tcl
#===================== GENERAL BOT HELP MODULES ====================#
loadhelp scripts/userinfo.help
__EOF__
rm -rf kaos.conf
cat > kaos.conf << __EOF__
###########################################################
#              https://www.siteniz.com          #
###########################################################
set username "Siteniz"
set admin "Toprak <email: info@siteniz.com>"
set network "$ip"
set timezone "EST"
set offset "5"
set my-hostname "$ip"

#==================== GENERAL BOT LOGGING OPTIONS ==================#
set max-logsize 0
set quick-logs 0
logfile mco * "scripts/log/Kaos.log"
logfile bjk #Kelime "scripts/log/Kaos.log"
set log-time 1
set keep-all-logs 0
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxs"

#================ GENERAL BOT FILE/LOCATION SETTINGS ===============#
set userfile "scripts/log/Kaos.user"
set sort-users 0
set help-path "help/"
set temp-path "/tmp"
set motd "motd"
set telnet-banner "telnet-banner"

#====================== GENERAL BOTNET OPTIONS =====================#
#set botnet-nick "OyunCak"
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 0
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15

#===================== ADVANCED SETTINGS FOR BOT ===================#
#set firewall "proxy:178"
#set nat-ip "127.0.0.1"
#set reserved-port 9076
set ignore-time 0
set hourly-updates 00
set owner "Toprak"
set notify-newusers ""
set default-flags "hp"
set whois-fields "url birthday"
set remote-boots 2
set share-unlinks 1
set die-on-sighup 0
set die-on-sigterm 0
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 0
unbind dcc n simul *dcc:simul
set max-dcc 50
set dcc-portrange 1024:65535
set enable-simul 1
set allow-dk-cmds 1

#==================== GENERAL BOT MODULE SETTINGS ==================#
set mod-path "modules/"

#==================== GENERAL BOT CHANNEL MODULES ==================#
loadmodule channels

set chanfile "scripts/log/Kaos.chan"
set ban-time 0
set exempt-time 60
set invite-time 60
# set force-expire 0
set share-greet 0
set use-info 1
set global-flood-chan 0:0

set global-chanset {
        +clearbans      -enforcebans
        -dynamicbans    -userbans
        -autoop         -bitch
        +greet          +nodesynch
        +statuslog      -stopnethack
        -revenge        -secret
        -autovoice      +cycle
        +dontkickops    -wasoptest
        -inactive       +protectfriends
        +shared         -seen
    +userexempts    +dynamicexempts
    +userinvites    +dynamicinvites
}

channel add #Yarisma {
  need-op { putserv "MODE #Yarisma +h-o Kaos Kaos" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

channel add #Bots {
  need-op { putserv "MODE #Bots +v-o Kaos Kaos" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

set global-chanmode ""

#==================== GENERAL BOT SERVER MODULES ===================#

loadmodule server
set net-type 0
set nick "Kaos"
set realname "2www.siteniz.cominternet hizmetleri"

set init-server {
        putserv "ns register $enickpass kaos@$server"
             }
bind evnt - init-server sas

proc sas {type} {
global botnick
  putquick "oper Eggdrop $egpass" -next
  putquick "ns identify $enickpass" -next
  putquick "MODE Kaos +BH-hY"
}

set servers {
$ip:6667 }

set keep-nick 1
set use-ison 1

set strict-host 0

set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 0:0
# how many CTCPs in how many seconds?
set flood-ctcp 0:0

set never-give-up 1
set strict-servernames 0

set default-port 6667

set server-cycle-wait 30

set server-timeout 15

set servlimit 0
set check-stoned 1
set use-console-r 0
set debug-output 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set double-mode 0
set double-server 0
set double-help 0

#set use-silence 1
#set check-mode-r 1
loadmodule ctcp
set ctcp-mode 0
loadmodule irc
set bounce-bans 0
set bounce-modes 0
set kick-bogus-bans 0
set bounce-bogus-bans 0
set max-bans 20
set max-modes 30
set allow-desync 0
set kick-bogus 0
set ban-bogus 0
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - hello *msg:hello
#bind msg - myword *msg:hello
 unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
#bind msg - myidentword *msg:ident
unbind msg - pass *msg:pass
set no-chanrec-info 0

set revenge-mode 1

set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
set bounce-bogus-exempts 0
set kick-bogus-exempts 0
set bounce-bogus-invites 0
set kick-bogus-invites 0
# set use-exempts 0
# set use-invites 0
set prevent-mixing 1
#set kick-method 1
#set modes-per-line 3
#set use-354 0
#set rfc-compliant 1
#loadmodule transfer
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 30

#==================== GENERAL BOT SHARE MODULES ====================#
#loadmodule share
#set allow-resync 0
#set resync-time 900
#set private-owner 0
#set private-global 0
#set private-globals "mnot"
#set private-user 0

#================== GENERAL BOT FILESYSTEM MODULES =================#
#loadmodule filesys
set files-path "/home/mydir/filesys"
set incoming-path "/home/mydir/filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024

#===================== GENERAL BOT NOTES MODULES ===================#
loadmodule notes
set notefile "scripts/log/oyun.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1

#==================== GENERAL BOT CONSOLE MODULES ==================#
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0

#==================== GENERAL BOT WOOBIE MODULES ===================#
#loadmodule woobie

#===================== GENERAL BOT SEEN MODULES ====================#
#loadmodule seen

#==================== GENERAL BOT BLOWFISH MODULES =================#
checkmodule blowfish

#===================== GENERAL BOT ASSOC MODULES ===================#
#loadmodule assoc

#===================== GENERAL BOT WRITE MODULES ===================#
#loadmodule wire

#======================== GENERAL BOT SCRIPTS ======================#
source scripts/alltools.tcl
source scripts/Kaos/kaos.tcl
#===================== GENERAL BOT HELP MODULES ====================#
loadhelp scripts/userinfo.help
__EOF__
rm -rf test.conf
cat > test.conf << __EOF__
###########################################################
#              https://www.siteniz.com          #
###########################################################
set username "Siteniz"
set admin "Toprak <email: info@siteniz.com>"
set network "$ip"
set timezone "EST"
set offset "5"
set my-hostname "$ip"

#==================== GENERAL BOT LOGGING OPTIONS ==================#
set max-logsize 0
set quick-logs 0
logfile mco * "scripts/log/test.log"
logfile bjk #Kelime "scripts/log/test.log"
set log-time 1
set keep-all-logs 0
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxs"

#================ GENERAL BOT FILE/LOCATION SETTINGS ===============#
set userfile "scripts/log/Test.user"
set sort-users 0
set help-path "help/"
set temp-path "/tmp"
set motd "motd"
set telnet-banner "telnet-banner"

#====================== GENERAL BOTNET OPTIONS =====================#
#set botnet-nick "OyunCak"
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 0
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15

#===================== ADVANCED SETTINGS FOR BOT ===================#
#set firewall "proxy:178"
#set nat-ip "127.0.0.1"
#set reserved-port 9076
set ignore-time 0
set hourly-updates 00
set owner "Toprak"
set notify-newusers ""
set default-flags "hp"
set whois-fields "url birthday"
set remote-boots 2
set share-unlinks 1
set die-on-sighup 0
set die-on-sigterm 0
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 0
unbind dcc n simul *dcc:simul
set max-dcc 50
set dcc-portrange 1024:65535
set enable-simul 1
set allow-dk-cmds 1


#==================== GENERAL BOT MODULE SETTINGS ==================#
set mod-path "modules/"

#==================== GENERAL BOT CHANNEL MODULES ==================#
loadmodule channels

set chanfile "scripts/log/Kelime.chan"
set ban-time 0
set exempt-time 60
set invite-time 60
# set force-expire 0
set share-greet 0
set use-info 1
set global-flood-chan 0:0

set global-chanset {
        +clearbans      -enforcebans
        -dynamicbans    -userbans
        -autoop         -bitch
        +greet          +nodesynch
        +statuslog      -stopnethack
        -revenge        -secret
        -autovoice      +cycle
        +dontkickops    -wasoptest
        -inactive       +protectfriends
        +shared         -seen
    +userexempts    +dynamicexempts
    +userinvites    +dynamicinvites
}

channel add #Test {
  need-op { putserv "MODE #Test +h-o Test Test" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

channel add #Bots {
  need-op { putserv "MODE #Bots +v-o Test Test" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

set global-chanmode ""

#==================== GENERAL BOT SERVER MODULES ===================#

loadmodule server
set net-type 0
set nick "Test"
set realname "2www.siteniz.com internet hizmetleri"

set init-server {
        putserv "ns register $enickpass test@$server"
             }
bind evnt - init-server sas

proc sas {type} {
global botnick
  putquick "oper Eggdrop $egpass" -next
  putquick "ns identify $enickpass" -next
  putquick "MODE test +BH-hY"
}

set servers {
$ip:6667 }

set keep-nick 1
set use-ison 1

set strict-host 0

set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 0:0
# how many CTCPs in how many seconds?
set flood-ctcp 0:0

set never-give-up 1
set strict-servernames 0

set default-port 6667

set server-cycle-wait 30

set server-timeout 15

set servlimit 0
set check-stoned 1
set use-console-r 0
set debug-output 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set double-mode 0
set double-server 0
set double-help 0

#set use-silence 1
#set check-mode-r 1
loadmodule ctcp
set ctcp-mode 0
loadmodule irc
set bounce-bans 0
set bounce-modes 0
set kick-bogus-bans 0
set bounce-bogus-bans 0
set max-bans 20
set max-modes 30
set allow-desync 0
set kick-bogus 0
set ban-bogus 0
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - hello *msg:hello
#bind msg - myword *msg:hello
 unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
#bind msg - myidentword *msg:ident
unbind msg - pass *msg:pass
set no-chanrec-info 0

set revenge-mode 1

set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
set bounce-bogus-exempts 0
set kick-bogus-exempts 0
set bounce-bogus-invites 0
set kick-bogus-invites 0
# set use-exempts 0
# set use-invites 0
set prevent-mixing 1
#set kick-method 1
#set modes-per-line 3
#set use-354 0
#set rfc-compliant 1
#loadmodule transfer
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 30

#==================== GENERAL BOT SHARE MODULES ====================#
#loadmodule share
#set allow-resync 0
#set resync-time 900
#set private-owner 0
#set private-global 0
#set private-globals "mnot"
#set private-user 0

#================== GENERAL BOT FILESYSTEM MODULES =================#
#loadmodule filesys
set files-path "/home/mydir/filesys"
set incoming-path "/home/mydir/filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024

#===================== GENERAL BOT NOTES MODULES ===================#
loadmodule notes
set notefile "scripts/log/oyun.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1

#==================== GENERAL BOT CONSOLE MODULES ==================#
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0

#==================== GENERAL BOT WOOBIE MODULES ===================#
#loadmodule woobie

#===================== GENERAL BOT SEEN MODULES ====================#
#loadmodule seen

#==================== GENERAL BOT BLOWFISH MODULES =================#
checkmodule blowfish

#===================== GENERAL BOT ASSOC MODULES ===================#
#loadmodule assoc

#===================== GENERAL BOT WRITE MODULES ===================#
#loadmodule wire

#======================== GENERAL BOT SCRIPTS ======================#
source scripts/alltools.tcl
source scripts/Test/test.tcl
#===================== GENERAL BOT HELP MODULES ====================#
loadhelp scripts/userinfo.help
__EOF__
rm -rf islam.conf
cat > islam.conf << __EOF__
###########################################################
#              https://www.siteniz.com           #
###########################################################
set username "Siteniz"
set admin "Toprak <email: info@siteniz.com >"
set network "$ip"
set timezone "EST"
set offset "5"
set my-hostname "$ip"

#==================== GENERAL BOT LOGGING OPTIONS ==================#
set max-logsize 0
set quick-logs 0
logfile mco * "scripts/log/islam.log"
logfile bjk #Kelime "scripts/log/islam.log"
set log-time 1
set keep-all-logs 0
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxs"

#================ GENERAL BOT FILE/LOCATION SETTINGS ===============#
set userfile "scripts/log/islam.user"
set sort-users 0
set help-path "help/"
set temp-path "/tmp"
set motd "motd"
set telnet-banner "telnet-banner"

#====================== GENERAL BOTNET OPTIONS =====================#
#set botnet-nick "OyunCak"
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 0
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15

#===================== ADVANCED SETTINGS FOR BOT ===================#
#set firewall "proxy:178"
#set nat-ip "127.0.0.1"
#set reserved-port 9076
set ignore-time 0
set hourly-updates 00
set owner "Toprak"
set notify-newusers ""
set default-flags "hp"
set whois-fields "url birthday"
set remote-boots 2
set share-unlinks 1
set die-on-sighup 0
set die-on-sigterm 0
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 0
unbind dcc n simul *dcc:simul
set max-dcc 50
set dcc-portrange 1024:65535
set enable-simul 1
set allow-dk-cmds 1


#==================== GENERAL BOT MODULE SETTINGS ==================#
set mod-path "modules/"

#==================== GENERAL BOT CHANNEL MODULES ==================#
loadmodule channels

set chanfile "scripts/log/Kelime.chan"
set ban-time 0
set exempt-time 60
set invite-time 60
# set force-expire 0
set share-greet 0
set use-info 1
set global-flood-chan 0:0

set global-chanset {
        +clearbans      -enforcebans
        -dynamicbans    -userbans
        -autoop         -bitch
        +greet          +nodesynch
        +statuslog      -stopnethack
        -revenge        -secret
        -autovoice      +cycle
        +dontkickops    -wasoptest
        -inactive       +protectfriends
        +shared         -seen
    +userexempts    +dynamicexempts
    +userinvites    +dynamicinvites
}

channel add #islam {
  need-op { putserv "MODE #islam +h-o Hoca Hoca" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

channel add #Bots {
  need-op { putserv "MODE #Bots +v-o Hoca Hoca" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

set global-chanmode ""

#==================== GENERAL BOT SERVER MODULES ===================#

loadmodule server
set net-type 0
set nick "Hoca"
set realname "2www.siteniz.com internet hizmetleri"

set init-server {
        putserv "ns register $enickpass hoca@$server"
             }
bind evnt - init-server sas

proc sas {type} {
global botnick
  putquick "oper Eggdrop $egpass" -next
  putquick "ns identify $enickpass" -next
  putquick "MODE Hoca +BH-hY"
}

set servers {
$ip:6667 }

set keep-nick 1
set use-ison 1

set strict-host 0

set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 0:0
# how many CTCPs in how many seconds?
set flood-ctcp 0:0

set never-give-up 1
set strict-servernames 0

set default-port 6667

set server-cycle-wait 30

set server-timeout 15

set servlimit 0
set check-stoned 1
set use-console-r 0
set debug-output 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set double-mode 0
set double-server 0
set double-help 0

#set use-silence 1
#set check-mode-r 1
loadmodule ctcp
set ctcp-mode 0
loadmodule irc
set bounce-bans 0
set bounce-modes 0
set kick-bogus-bans 0
set bounce-bogus-bans 0
set max-bans 20
set max-modes 30
set allow-desync 0
set kick-bogus 0
set ban-bogus 0
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - hello *msg:hello
#bind msg - myword *msg:hello
 unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
#bind msg - myidentword *msg:ident
unbind msg - pass *msg:pass
set no-chanrec-info 0

set revenge-mode 1

set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
set bounce-bogus-exempts 0
set kick-bogus-exempts 0
set bounce-bogus-invites 0
set kick-bogus-invites 0
# set use-exempts 0
# set use-invites 0
set prevent-mixing 1
#set kick-method 1
#set modes-per-line 3
#set use-354 0
#set rfc-compliant 1
#loadmodule transfer
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 30

#==================== GENERAL BOT SHARE MODULES ====================#
#loadmodule share
#set allow-resync 0
#set resync-time 900
#set private-owner 0
#set private-global 0
#set private-globals "mnot"
#set private-user 0

#================== GENERAL BOT FILESYSTEM MODULES =================#
#loadmodule filesys
set files-path "/home/mydir/filesys"
set incoming-path "/home/mydir/filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024

#===================== GENERAL BOT NOTES MODULES ===================#
loadmodule notes
set notefile "scripts/log/oyun.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1

#==================== GENERAL BOT CONSOLE MODULES ==================#
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0

#==================== GENERAL BOT WOOBIE MODULES ===================#
#loadmodule woobie

#===================== GENERAL BOT SEEN MODULES ====================#
#loadmodule seen

#==================== GENERAL BOT BLOWFISH MODULES =================#
checkmodule blowfish

#===================== GENERAL BOT ASSOC MODULES ===================#
#loadmodule assoc

#===================== GENERAL BOT WRITE MODULES ===================#
#loadmodule wire

#======================== GENERAL BOT SCRIPTS ======================#
source scripts/alltools.tcl
source scripts/Hoca/islam.tcl
#===================== GENERAL BOT HELP MODULES ====================#
loadhelp scripts/userinfo.help
__EOF__
rm -rf helps.conf
cat > helps.conf << __EOF__
###########################################################
#              https://www.siteniz.com           #
###########################################################
set username "Siteniz"
set admin "Toprak <email: info@siteniz.com >"
set network "$ip"
set timezone "EST"
set offset "5"
set my-hostname "$ip"

#==================== GENERAL BOT LOGGING OPTIONS ==================#
set max-logsize 0
set quick-logs 0
logfile mco * "scripts/log/helps.log"
logfile bjk #Kelime "scripts/log/helps.log"
set log-time 1
set keep-all-logs 0
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxs"

#================ GENERAL BOT FILE/LOCATION SETTINGS ===============#
set userfile "scripts/log/helps.user"
set sort-users 0
set help-path "help/"
set temp-path "/tmp"
set motd "motd"
set telnet-banner "telnet-banner"

#====================== GENERAL BOTNET OPTIONS =====================#
#set botnet-nick "OyunCak"
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 0
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15

#===================== ADVANCED SETTINGS FOR BOT ===================#
#set firewall "proxy:178"
#set nat-ip "127.0.0.1"
#set reserved-port 9076
set ignore-time 0
set hourly-updates 00
set owner "Toprak"
set notify-newusers ""
set default-flags "hp"
set whois-fields "url birthday"
set remote-boots 2
set share-unlinks 1
set die-on-sighup 0
set die-on-sigterm 0
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 0
unbind dcc n simul *dcc:simul
set max-dcc 50
set dcc-portrange 1024:65535
set enable-simul 1
set allow-dk-cmds 1


#==================== GENERAL BOT MODULE SETTINGS ==================#
set mod-path "modules/"

#==================== GENERAL BOT CHANNEL MODULES ==================#
loadmodule channels

set chanfile "scripts/log/Kelime.chan"
set ban-time 0
set exempt-time 60
set invite-time 60
# set force-expire 0
set share-greet 0
set use-info 1
set global-flood-chan 0:0

set global-chanset {
        +clearbans      -enforcebans
        -dynamicbans    -userbans
        -autoop         -bitch
        +greet          +nodesynch
        +statuslog      -stopnethack
        -revenge        -secret
        -autovoice      +cycle
        +dontkickops    -wasoptest
        -inactive       +protectfriends
        +shared         -seen
    +userexempts    +dynamicexempts
    +userinvites    +dynamicinvites
}

channel add #Egitim {
  need-op { putserv "MODE #Egitim +h-o HelpOyun HelpOyun" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

channel add #Bots {
  need-op { putserv "MODE #Bots +v-o HelpOyun HelpOyun" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

set global-chanmode ""

#==================== GENERAL BOT SERVER MODULES ===================#

loadmodule server
set net-type 0
set nick "HelpOyun"
set realname "2www.siteniz.com internet hizmetleri"

set init-server {
        putserv "ns register $enickpass HelpOyun@$server"
             }
bind evnt - init-server sas

proc sas {type} {
global botnick
  putquick "oper Eggdrop $egpass" -next
  putquick "ns identify $enickpass" -next
  putquick "MODE HelpOyun +BH-hY"
}

set servers {
$ip:6667 }

set keep-nick 1
set use-ison 1

set strict-host 0

set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 0:0
# how many CTCPs in how many seconds?
set flood-ctcp 0:0
set never-give-up 1
set strict-servernames 0
set default-port 6667
set server-cycle-wait 30
set server-timeout 15
set servlimit 0
set check-stoned 1
set use-console-r 0
set debug-output 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set double-mode 0
set double-server 0
set double-help 0

#set use-silence 1
#set check-mode-r 1
loadmodule ctcp
set ctcp-mode 0
loadmodule irc
set bounce-bans 0
set bounce-modes 0
set kick-bogus-bans 0
set bounce-bogus-bans 0
set max-bans 20
set max-modes 30
set allow-desync 0
set kick-bogus 0
set ban-bogus 0
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - hello *msg:hello
#bind msg - myword *msg:hello
 unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
#bind msg - myidentword *msg:ident
unbind msg - pass *msg:pass
set no-chanrec-info 0

set revenge-mode 1

set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
set bounce-bogus-exempts 0
set kick-bogus-exempts 0
set bounce-bogus-invites 0
set kick-bogus-invites 0
# set use-exempts 0
# set use-invites 0
set prevent-mixing 1
#set kick-method 1
#set modes-per-line 3
#set use-354 0
#set rfc-compliant 1
#loadmodule transfer
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 30

#==================== GENERAL BOT SHARE MODULES ====================#
#loadmodule share
#set allow-resync 0
#set resync-time 900
#set private-owner 0
#set private-global 0
#set private-globals "mnot"
#set private-user 0

#================== GENERAL BOT FILESYSTEM MODULES =================#
#loadmodule filesys
set files-path "/home/mydir/filesys"
set incoming-path "/home/mydir/filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024

#===================== GENERAL BOT NOTES MODULES ===================#
loadmodule notes
set notefile "scripts/log/oyun.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1

#==================== GENERAL BOT CONSOLE MODULES ==================#
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0

#==================== GENERAL BOT WOOBIE MODULES ===================#
#loadmodule woobie

#===================== GENERAL BOT SEEN MODULES ====================#
#loadmodule seen

#==================== GENERAL BOT BLOWFISH MODULES =================#
checkmodule blowfish

#===================== GENERAL BOT ASSOC MODULES ===================#
#loadmodule assoc

#===================== GENERAL BOT WRITE MODULES ===================#
#loadmodule wire

#======================== GENERAL BOT SCRIPTS ======================#
source scripts/alltools.tcl
source scripts/Helps/helps.tcl
#===================== GENERAL BOT HELP MODULES ====================#
loadhelp scripts/userinfo.help
__EOF__
rm -rf carkifelek.conf
cat > carkifelek.conf << __EOF__
###########################################################
#              https://www.siteniz.com           #
###########################################################
set username "Siteniz"
set admin "Toprak <email: info@siteniz.com >"
set network "$ip"
set timezone "EST"
set offset "5"
set my-hostname "$ip"

#==================== GENERAL BOT LOGGING OPTIONS ==================#
set max-logsize 0
set quick-logs 0
logfile mco * "scripts/log/carkifelek.log"
logfile bjk #Kelime "scripts/log/carkifelek.log"
set log-time 1
set keep-all-logs 0
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxs"

#================ GENERAL BOT FILE/LOCATION SETTINGS ===============#
set userfile "scripts/log/carkifelek.user"
set sort-users 0
set help-path "help/"
set temp-path "/tmp"
set motd "motd"
set telnet-banner "telnet-banner"

#====================== GENERAL BOTNET OPTIONS =====================#
#set botnet-nick "OyunCak"
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 0
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15

#===================== ADVANCED SETTINGS FOR BOT ===================#
#set firewall "proxy:178"
#set nat-ip "127.0.0.1"
#set reserved-port 9076
set ignore-time 0
set hourly-updates 00
set owner "Toprak"
set notify-newusers ""
set default-flags "hp"
set whois-fields "url birthday"
set remote-boots 2
set share-unlinks 1
set die-on-sighup 0
set die-on-sigterm 0
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 0
unbind dcc n simul *dcc:simul
set max-dcc 50
set dcc-portrange 1024:65535
set enable-simul 1
set allow-dk-cmds 1


#==================== GENERAL BOT MODULE SETTINGS ==================#
set mod-path "modules/"

#==================== GENERAL BOT CHANNEL MODULES ==================#
loadmodule channels

set chanfile "scripts/log/Kelime.chan"
set ban-time 0
set exempt-time 60
set invite-time 60
# set force-expire 0
set share-greet 0
set use-info 1
set global-flood-chan 0:0

set global-chanset {
        +clearbans      -enforcebans
        -dynamicbans    -userbans
        -autoop         -bitch
        +greet          +nodesynch
        +statuslog      -stopnethack
        -revenge        -secret
        -autovoice      +cycle
        +dontkickops    -wasoptest
        -inactive       +protectfriends
        +shared         -seen
    +userexempts    +dynamicexempts
    +userinvites    +dynamicinvites
}

channel add #Carkifelek {
  need-op { putserv "MODE #Carkifelek +h-o Carkifelek Carkifelek" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

channel add #Bots {
  need-op { putserv "MODE #Bots +v-o Carkifelek Carkifelek" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

set global-chanmode ""

#==================== GENERAL BOT SERVER MODULES ===================#

loadmodule server
set net-type 0
set nick "Carkifelek"
set realname "2www.siteniz.com internet hizmetleri"

set init-server {
        putserv "ns register $enickpass Carkifelek@$server"
             }
bind evnt - init-server sas

proc sas {type} {
global botnick
  putquick "oper Eggdrop $egpass" -next
  putquick "ns identify $enickpass" -next
  putquick "MODE Carkifelek +BH-hY"
}

set servers {
$ip:6667 }

set keep-nick 1
set use-ison 1
set strict-host 0
set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 0:0
# how many CTCPs in how many seconds?
set flood-ctcp 0:0
set never-give-up 1
set strict-servernames 0
set default-port 6667
set server-cycle-wait 30
set server-timeout 15
set servlimit 0
set check-stoned 1
set use-console-r 0
set debug-output 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set double-mode 0
set double-server 0
set double-help 0

#set use-silence 1
#set check-mode-r 1
loadmodule ctcp
set ctcp-mode 0
loadmodule irc
set bounce-bans 0
set bounce-modes 0
set kick-bogus-bans 0
set bounce-bogus-bans 0
set max-bans 20
set max-modes 30
set allow-desync 0
set kick-bogus 0
set ban-bogus 0
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - hello *msg:hello
#bind msg - myword *msg:hello
 unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
#bind msg - myidentword *msg:ident
unbind msg - pass *msg:pass
set no-chanrec-info 0

set revenge-mode 1

set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
set bounce-bogus-exempts 0
set kick-bogus-exempts 0
set bounce-bogus-invites 0
set kick-bogus-invites 0
# set use-exempts 0
# set use-invites 0
set prevent-mixing 1
#set kick-method 1
#set modes-per-line 3
#set use-354 0
#set rfc-compliant 1
#loadmodule transfer
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 30

#==================== GENERAL BOT SHARE MODULES ====================#
#loadmodule share
#set allow-resync 0
#set resync-time 900
#set private-owner 0
#set private-global 0
#set private-globals "mnot"
#set private-user 0

#================== GENERAL BOT FILESYSTEM MODULES =================#
#loadmodule filesys
set files-path "/home/mydir/filesys"
set incoming-path "/home/mydir/filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024

#===================== GENERAL BOT NOTES MODULES ===================#
loadmodule notes
set notefile "scripts/log/oyun.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1

#==================== GENERAL BOT CONSOLE MODULES ==================#
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0

#==================== GENERAL BOT WOOBIE MODULES ===================#
#loadmodule woobie

#===================== GENERAL BOT SEEN MODULES ====================#
#loadmodule seen

#==================== GENERAL BOT BLOWFISH MODULES =================#
checkmodule blowfish

#===================== GENERAL BOT ASSOC MODULES ===================#
#loadmodule assoc

#===================== GENERAL BOT WRITE MODULES ===================#
#loadmodule wire

#======================== GENERAL BOT SCRIPTS ======================#
source scripts/alltools.tcl
source scripts/motus/motus.tcl
#===================== GENERAL BOT HELP MODULES ====================#
loadhelp scripts/userinfo.help
__EOF__
cd
cd eggdrop/scripts
wget -q http://www.siteniz.com/oto-kur/tcl.tar.gz
tar zxvf tcl.tar.gz
rm -rf tcl.tar.gz
cd
cd eggdrop/
./eggdrop -m kelime.conf
./eggdrop -m kaos.conf
./eggdrop -m test.conf
./eggdrop -m carkifelek.conf
./eggdrop -m oyun.conf
./eggdrop -m helps.conf
./eggdrop -m islam.conf
cd
wget -q http://www.siteniz.com/oto-kur/webchat.tar.gz
tar zxvf webchat.tar.gz
rm -rf webchat.tar.gz
cd webchat/
rm -rf run.py
cat > run.py << __EOF__
#!/usr/bin/env python2.6
# this entire thing is a hack and badly needs reimplementing
import bin.compile
bin.compile.vcheck()

DEFAULT_PORT = $qwebport1

from optparse import OptionParser
import sys, os, config

def run_twistd(args1=None, args2=None):
  from twisted.scripts.twistd import run
  args = [sys.argv[0]]
  if args1 is not None:
    args.extend(args1)
  args.append("qwebirc")
  if args2 is not None:
    args.extend(args2)
  sys.argv = args
  run()
 
def help_reactors(*args):
  run_twistd(["--help-reactors"])
  sys.exit(1)

try:
  from select import epoll
  DEFAULT_REACTOR = "epoll"
except ImportError:
  try:
    from select import kqueue
    DEFAULT_REACTOR = "kqueue"
  except ImportError:
    try:
      from select import poll
      DEFAULT_REACTOR = "poll"
    except ImportError:
      DEFAULT_REACTOR = "select"

parser = OptionParser()
parser.add_option("-n", "--no-daemon", help="Don't run in the background.", action="store_false", dest="daemonise", default=True)
parser.add_option("--help-reactors", help="Display a list of reactor names.", action="callback", callback=help_reactors)
parser.add_option("-b", "--debug", help="Run in the Python Debugger.", action="store_true", dest="debug", default=False)
parser.add_option("-t", "--tracebacks", help="Display tracebacks in error pages (this reveals a LOT of information, do NOT use in production!)", action="store_true", dest="tracebacks", default=False)
parser.add_option("-r", "--reactor", help="Which reactor to use (see --help-reactors for a list).", dest="reactor", default=DEFAULT_REACTOR)
parser.add_option("-p", "--port", help="Port to start the server on.", type="int", dest="port", default=DEFAULT_PORT)
parser.add_option("-i", "--ip", help="IP address to listen on.", dest="ip", default="0.0.0.0")
parser.add_option("-l", "--logfile", help="Path to twisted log file.", dest="logfile")
parser.add_option("-c", "--clf", help="Path to web CLF (Combined Log Format) log file.", dest="clogfile")
parser.add_option("-C", "--certificate", help="Path to SSL certificate.", dest="sslcertificate")
parser.add_option("-k", "--key", help="Path to SSL key.", dest="sslkey")
parser.add_option("-H", "--certificate-chain", help="Path to SSL certificate chain file.", dest="sslchain")
parser.add_option("-P", "--pidfile", help="Path to store PID file", dest="pidfile")
parser.add_option("-s", "--syslog", help="Log to syslog", action="store_true", dest="syslog", default=False)
parser.add_option("-f", "--flash-port", help="Port to listen for flash policy connections on.", type="int", dest="flashPort")
parser.add_option("--profile", help="Run in profile mode, dumping results to this file", dest="profile")
parser.add_option("--profiler", help="Name of profiler to use", dest="profiler")
parser.add_option("--syslog-prefix", help="Syslog prefix", dest="syslog_prefix", default="qwebirc")

sargs = sys.argv[1:]
if "ARGS" in dir(config):
  import shlex
  sargs = shlex.split(config.ARGS) + sargs

(options, args) = parser.parse_args(args=sargs)

args1, args2 = [], []

if not options.daemonise:
  args1.append("-n")
if options.debug:
  args1.append("-b")

if options.reactor != DEFAULT_REACTOR:
  rn = options.reactor + "reactor"
  getattr(__import__("twisted.internet", fromlist=[rn]), rn).install()
if options.logfile:
  args1+=["--logfile", options.logfile]
if options.pidfile:
  args1+=["--pidfile", options.pidfile]
if options.syslog:
  args1+=["--syslog"]
if options.profile:
  args1+=["--profile", options.profile]
if options.profiler:
  args1+=["--profiler", options.profiler]

if options.syslog and options.syslog_prefix:
  import syslog
  syslog.openlog(options.syslog_prefix)

if not options.tracebacks:
  args2.append("-n")
if options.clogfile:
  args2+=["--logfile", options.clogfile]

if options.flashPort:
  args2+=["--flashPort", options.flashPort]

if options.sslcertificate and options.sslkey:
  args2+=["--certificate", options.sslcertificate, "--privkey", options.sslkey, "--https", options.port]
  if options.sslchain:
    args2+=["--certificate-chain", options.sslchain]
else:
  args2+=["--port", options.port]

args2+=["--ip", options.ip]

run_twistd(args1, args2)
__EOF__
rm -rf config.py
cat > config.py << __EOF__
from qwebirc.config_options import *
IRCSERVER = "$ip"
IRCPORT = 1985
REALNAME = "www.$server Web Kullanicisi"
IDENT = "webchat"
WEBIRC_MODE = "webirc"
WEBIRC_PASSWORD = "$qwebpass"
CGIIRC_STRING = "CGIIRC"
BASE_URL = "http://$ip:$qwebport1/"
NETWORK_NAME = "$server"
APP_TITLE = NETWORK_NAME + " - Web Sohbet"
NICKNAME_VALIDATE = None
import string
NICKNAME_VALID_FIRST_CHAR = string.letters + "_[]{}^\\|"
NICKNAME_VALID_SUBSEQUENT_CHARS = NICKNAME_VALID_FIRST_CHAR + string.digits + "-"
NICKNAME_MINIMUM_LENGTH = 2
NICKNAME_MAXIMUM_LENGTH = 15
FEEDBACK_FROM = "$server"
FEEDBACK_TO = "$server"
FEEDBACK_SMTP_HOST = "127.0.0.1"
FEEDBACK_SMTP_PORT = 25
ADMIN_ENGINE_HOSTS = ["127.0.0.1"]
HTTP_REQUEST_TIMEOUT = 5
HTTP_AJAX_REQUEST_TIMEOUT = 30
UPDATE_FREQ = 0.5
MAXBUFLEN = 100000
MAXSUBSCRIPTIONS = 3
MAXLINELEN = 600
DNS_TIMEOUT = 5
STATIC_BASE_URL = ""
DYNAMIC_BASE_URL = ""
CONNECTION_RESOLVER = None
HMACKEY = "mrmoo"
HMACTEMPORAL = 30
#ellesme
AUTHGATEDOMAIN = "webchat_test"
QTICKETKEY = "boo"
AUTH_SERVICE = "Q!TheQBot@CServe.quakenet.org"
AUTH_OK_REGEX = "^You are now logged in as [^ ]+\\.$"
import dummyauthgate as AUTHGATEPROVIDER
#NICK_SERVICE = "NickServ!services@okeyy.net"
RECAPTCHA_KEY = None
ANALYTICS = None
__EOF__
rm -rf twistd.log
rm -rf twistd.pid
chmod 777 run.py
chmod 777 config.py
./run.py -p $qwebport1
cd
wget -q http://www.siteniz.com/oto-kur/qwebirc.tar.gz
tar zxvf qwebirc.tar.gz
rm -rf qwebirc.tar.gz
cd qwebirc/
rm -rf run.py
cat > run.py << __EOF__
#!/usr/bin/env python2.6
# this entire thing is a hack and badly needs reimplementing
import bin.compile
bin.compile.vcheck()

DEFAULT_PORT = $qwebport

from optparse import OptionParser
import sys, os, config

def run_twistd(args1=None, args2=None):
  from twisted.scripts.twistd import run
  args = [sys.argv[0]]
  if args1 is not None:
    args.extend(args1)
  args.append("qwebirc")
  if args2 is not None:
    args.extend(args2)
  sys.argv = args
  run()
 
def help_reactors(*args):
  run_twistd(["--help-reactors"])
  sys.exit(1)

try:
  from select import epoll
  DEFAULT_REACTOR = "epoll"
except ImportError:
  try:
    from select import kqueue
    DEFAULT_REACTOR = "kqueue"
  except ImportError:
    try:
      from select import poll
      DEFAULT_REACTOR = "poll"
    except ImportError:
      DEFAULT_REACTOR = "select"

parser = OptionParser()
parser.add_option("-n", "--no-daemon", help="Don't run in the background.", action="store_false", dest="daemonise", default=True)
parser.add_option("--help-reactors", help="Display a list of reactor names.", action="callback", callback=help_reactors)
parser.add_option("-b", "--debug", help="Run in the Python Debugger.", action="store_true", dest="debug", default=False)
parser.add_option("-t", "--tracebacks", help="Display tracebacks in error pages (this reveals a LOT of information, do NOT use in production!)", action="store_true", dest="tracebacks", default=False)
parser.add_option("-r", "--reactor", help="Which reactor to use (see --help-reactors for a list).", dest="reactor", default=DEFAULT_REACTOR)
parser.add_option("-p", "--port", help="Port to start the server on.", type="int", dest="port", default=DEFAULT_PORT)
parser.add_option("-i", "--ip", help="IP address to listen on.", dest="ip", default="0.0.0.0")
parser.add_option("-l", "--logfile", help="Path to twisted log file.", dest="logfile")
parser.add_option("-c", "--clf", help="Path to web CLF (Combined Log Format) log file.", dest="clogfile")
parser.add_option("-C", "--certificate", help="Path to SSL certificate.", dest="sslcertificate")
parser.add_option("-k", "--key", help="Path to SSL key.", dest="sslkey")
parser.add_option("-H", "--certificate-chain", help="Path to SSL certificate chain file.", dest="sslchain")
parser.add_option("-P", "--pidfile", help="Path to store PID file", dest="pidfile")
parser.add_option("-s", "--syslog", help="Log to syslog", action="store_true", dest="syslog", default=False)
parser.add_option("-f", "--flash-port", help="Port to listen for flash policy connections on.", type="int", dest="flashPort")
parser.add_option("--profile", help="Run in profile mode, dumping results to this file", dest="profile")
parser.add_option("--profiler", help="Name of profiler to use", dest="profiler")
parser.add_option("--syslog-prefix", help="Syslog prefix", dest="syslog_prefix", default="qwebirc")

sargs = sys.argv[1:]
if "ARGS" in dir(config):
  import shlex
  sargs = shlex.split(config.ARGS) + sargs

(options, args) = parser.parse_args(args=sargs)

args1, args2 = [], []

if not options.daemonise:
  args1.append("-n")
if options.debug:
  args1.append("-b")

if options.reactor != DEFAULT_REACTOR:
  rn = options.reactor + "reactor"
  getattr(__import__("twisted.internet", fromlist=[rn]), rn).install()
if options.logfile:
  args1+=["--logfile", options.logfile]
if options.pidfile:
  args1+=["--pidfile", options.pidfile]
if options.syslog:
  args1+=["--syslog"]
if options.profile:
  args1+=["--profile", options.profile]
if options.profiler:
  args1+=["--profiler", options.profiler]

if options.syslog and options.syslog_prefix:
  import syslog
  syslog.openlog(options.syslog_prefix)

if not options.tracebacks:
  args2.append("-n")
if options.clogfile:
  args2+=["--logfile", options.clogfile]

if options.flashPort:
  args2+=["--flashPort", options.flashPort]

if options.sslcertificate and options.sslkey:
  args2+=["--certificate", options.sslcertificate, "--privkey", options.sslkey, "--https", options.port]
  if options.sslchain:
    args2+=["--certificate-chain", options.sslchain]
else:
  args2+=["--port", options.port]

args2+=["--ip", options.ip]

run_twistd(args1, args2)
__EOF__
rm -rf config.py
cat > config.py << __EOF__
from qwebirc.config_options import *
IRCSERVER = "$ip"
IRCPORT = 7005
REALNAME = "www.$server Mobil Kullanicisi"
IDENT = "mobil"
WEBIRC_MODE = "webirc"
WEBIRC_PASSWORD = "$qwebpass"
CGIIRC_STRING = "CGIIRC"
BASE_URL = "http://$ip:$qwebport/"
NETWORK_NAME = "$server"
APP_TITLE = NETWORK_NAME + " - Mobil Sohbet"
NICKNAME_VALIDATE = None
import string
NICKNAME_VALID_FIRST_CHAR = string.letters + "_[]{}^\\|"
NICKNAME_VALID_SUBSEQUENT_CHARS = NICKNAME_VALID_FIRST_CHAR + string.digits + "-"
NICKNAME_MINIMUM_LENGTH = 2
NICKNAME_MAXIMUM_LENGTH = 15
FEEDBACK_FROM = "$server"
FEEDBACK_TO = "$server"
FEEDBACK_SMTP_HOST = "127.0.0.1"
FEEDBACK_SMTP_PORT = 25
ADMIN_ENGINE_HOSTS = ["127.0.0.1"]
HTTP_REQUEST_TIMEOUT = 5
HTTP_AJAX_REQUEST_TIMEOUT = 30
UPDATE_FREQ = 0.5
MAXBUFLEN = 100000
MAXSUBSCRIPTIONS = 3
MAXLINELEN = 600
DNS_TIMEOUT = 5
STATIC_BASE_URL = ""
DYNAMIC_BASE_URL = ""
CONNECTION_RESOLVER = None
HMACKEY = "mrmoo"
HMACTEMPORAL = 30
#ellesme
AUTHGATEDOMAIN = "webchat_test"
QTICKETKEY = "boo"
AUTH_SERVICE = "Q!TheQBot@CServe.quakenet.org"
AUTH_OK_REGEX = "^You are now logged in as [^ ]+\\.$"
import dummyauthgate as AUTHGATEPROVIDER
#NICK_SERVICE = "NickServ!services@okeyy.net"
RECAPTCHA_KEY = None
ANALYTICS = None
__EOF__
rm -rf twistd.log
rm -rf twistd.pid
chmod 777 run.py
chmod 777 config.py
./run.py -p $qwebport
cd
clear
history -c
echo "|-------------------------------------------|"
echo "|            Kurulum Tamamlandi             |"
echo "|           Kurulum Versiyonlari            |"
echo "|-------------------------------------------|"
echo "| Unreal Versiyonu        : 3.2.10.4        |"
echo "| IRCServices Versiyon    : 5.0.64          |"
echo "| Eggdrop Versiyon        : 1.6.19          |"
echo "| Mobil Aplet (qwebIRC)   : v2-Siteniz       |"
echo "| Web Aplet   (qwebIRC)   : v1-Siteniz       |"
echo "|-------------------------------------------|"
echo "|- Bilgileriniz"
echo "|- Server Adi   : $server"
echo "|- Kisa Domain  : $kisadomain"
echo "|- IP Adresi    : $ip"
echo "|- Root Nick    : $rootnick"
echo "|- R. Oper Pass : $rootpass"
echo "|- E. Oper Pass : $egpass"
echo "|- E. Nick Pass : $enickpass"
echo "|- QwebIRC Pass : $qwebpass"
echo "|"
echo "|- Mobil giris  : http://$ip:$qwebport/"
echo "|- Web giris    : http://$ip:$qwebport1/"
echo "|-------------------------------------------|"
#------------------------------
# Kodlama Bitti               -
#------------------------------



Kod:
#--------------------------
# Oto Kurulum + Oto Conf  -
#--------------------------
clear
echo "|-------------------------------------------|"
echo "| IRC(d) Oto Kurulum Sistemine Hos Geldiniz |"
echo "|       IRC(d) Kurulumu Basliyor..          |"
echo "|       https://www.siteniz.com/            |"
echo "|-------------------------------------------|"
echo ""
echo "Gerekli Bilgiler :"
echo $n "[Serverinizin Adi (Orn: siteniz.com)] -> $c"
read cc
if [ ! -z $cc ]; then
    server="$cc"
fi
echo $n "[Kisa Domain Adi (Orn: Siteniz)] -> $c"
read cc
if [ ! -z $cc ]; then
    kisadomain="$cc"
fi
echo $n "[IP Adresiniz (Orn: 88.888.88.888)] -> $c"
read cc
if [ ! -z $cc ]; then
    ip="$cc"
fi
echo $n "[Root Nicki (Orn: Toprak)] -> $c"
read cc
if [ ! -z $cc ]; then
    rootnick="$cc"
fi
echo $n "[Root Oper Sifresi (Orn: 12345)] -> $c"
read cc
if [ ! -z $cc ]; then
    rootpass="$cc"
fi
echo $n "[Eggdrop Oper Sifresi (Orn: 12345)] -> $c"
read cc
if [ ! -z $cc ]; then
    egpass="$cc"
fi
echo $n "[Eggdrop Nick Sifresi (Orn: 12345)] -> $c"
read cc
if [ ! -z $cc ]; then
    enickpass="$cc"
fi
echo $n "[QwebIRC Sifresi (Orn: asd312)] -> $c"
read cc
if [ ! -z $cc ]; then
    qwebpass="$cc"
fi
echo $n "[QwebIRC Mobil Portu (Orn: 9090)] -> $c"
read cc
if [ ! -z $cc ]; then
    qwebport="$cc"
fi
echo $n "[QwebIRC Web Portu (Orn: 9091)] -> $c"
read cc
if [ ! -z $cc ]; then
    qwebport1="$cc"
fi
echo $n "[Radyo User Sayisi (Orn: 1024)] -> $c"
read cc
if [ ! -z $cc ]; then
    ruser="$cc"
fi
echo $n "[Radyo Sifresi (Orn: adsafcahilczxvfsd123)] -> $c"
read cc
if [ ! -z $cc ]; then
    rpass="$cc"
fi
echo $n "[Radyo Port (Orn: 2019)] -> $c"
read cc
if [ ! -z $cc ]; then
    rport="$cc"
fi
echo "|-------------------------------------------|"
echo "|- Bilgileriniz"
echo "|- Server Adi   : $server"
echo "|- Kisa Domain  : $kisadomain"
echo "|- IP Adresi    : $ip"
echo "|- Root Nick    : $rootnick"
echo "|- R. Oper Pass : $rootpass"
echo "|- E. Oper Pass : $egpass"
echo "|- E. Nick Pass : $enickpass"
echo "|- QwebIRC Pass : $qwebpass"
echo "|- Radyo User   : $ruser"
echo "|- Radyo Port   : $rport"
echo "|- Radyo Sifre  : $rpass"
echo "|"
echo "|- Mobil giris  : http://$ip:$qwebport/"
echo "|- Web giris    : http://$ip:$qwebport1/"
echo "|- Radyo Adres  : http://$ip:$rport/"
echo "|- Radyo Dinle  : http://$ip:$rport/listen.pls"
echo "|-------------------------------------------|"
echo "|      Onayliyorsaniz Entere  Basiniz       |"
echo "|   Onaylamiyorsaniz Ctrl+C Yapip Kapatin   |"
echo "|-------------------------------------------|"
echo $n "[Onayliyormusunuz ?] -> $c"
read cc
echo "|-------------------------------------------|"
echo "|            IRC(d) Kuruluyor.              |"
echo "|-------------------------------------------|"
cd
wget -q http://www.siteniz.com/oto-kur/Unreal3.2.10.4.tar.gz
tar zxvf Unreal3.2.10.4.tar.gz
rm -rf Unreal3.2.10.4.tar.gz
cd
cd Unreal3.2.10.4/
./Config -nointro -quick
rm -rf config.settings
cat > config.settings << __EOF__
#
DPATH="/home/$USER/Unreal3.2.10.4"
SPATH="/home/$USER/Unreal3.2.10.4/src/ircd"
INET6=""
PREFIXAQ="1"
LISTEN_SIZE="5"
MAXSENDQLENGTH="3000000"
BUFFERPOOL="18"
MAXCONNECTIONS="4096"
NICKNAMEHISTORYLENGTH="2000"
DEFPERM="0600"
CRYPTOIRCD=""
SSLDIR=""
ZIPLINKS=""
ZIPLINKSDIR=""
REMOTEINC=""
CURLDIR=""
SHOWLISTMODES="1"
TOPICNICKISNUH=""
SHUNNOTICES=""
NOOPEROVERRIDE=""
DISABLEUSERMOD=""
OPEROVERRIDEVERIFY=""
DISABLEEXTBANSTACKING=""
GENCERTIFICATE="1"
EXTRAPARA=""
ADVANCED=""
__EOF__
rm -rf unrealircd.conf
cat > unrealircd.conf << __EOF__
###########################################################
#                                  #
#               Unreal3.2-(Siteniz)-10.4                  #
#              https://www.siteniz.com/                  #
#                               #
###########################################################

######
# Me #
######

me
{
  name "irc.$server";
  info "- http://www.$server";
  numeric 1;
};

#########
# Admin #
#########

admin {
      "Sunucu Sahibi";
      "$rootnick";
      "E-mail: admin@$server";
      "$server - #OperHelp";
};

#########
# Class #
#########

class clients
{
    pingfreq 300;
    maxclients 4096;
        sendq 100000000;
};
class servers
{
    pingfreq 300;
    maxclients 4096;       
        sendq 100000000;
        connfreq 600;
};

#########
# Allow #
#########

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

allow {
  ip *@$ip;
  hostname *@*;
  class clients;
  maxperip 50;
};

allow {
  ip *@185.50.68.104;
  hostname *@*;
  class clients;
  maxperip 50;
};

##########
# Drpass #
##########

drpass {
   die "rakipxXxSiteniztp4kr";
   restart "rakipxXxSiteniztp4kr";
};

#########
# Links #
#########

link services.$server {
   username *;
   hostname   $ip;
   bind-ip *;
   port 6667;
   password-connect "services";
   password-receive "services";
   class servers;
   leaf *;
};

ulines {
     services.$server;
};

cgiirc {
    type webirc;
    hostname $ip;
    password "$qwebpass";
};

psifre {
  pass "7005:$qwebpass";
  pass "1985:$qwebpass";
  pass "2018:$qwebpass";
};

############
# Bad Nick #
############

ban nick { mask "*C*h*a*n*S*e*r*v*"; reason "Reserved for services"; };
ban nick { mask "*N*i*c*k*S*e*r*v*"; reason "Reserved for services"; };
ban nick { mask "*M*e*m*o*S*e*r*v*"; reason "Reserved for services"; };
ban nick { mask "*H*e*l*p*S*e*r*v*"; reason "Reserved for services"; };
ban nick { mask "*O*p*e*r*S*e*r*v*"; reason "Reserved for services"; };
ban nick { mask "*I*n*f*o*S*e*r*v*"; reason "Reserved for services"; };
ban nick { mask "*Admin*"; reason "Reserved for Administrator"; };
ban nick { mask "*IRC*op*"; reason "Reserved for ircops"; };
ban nick { mask "*Oper*"; reason "Reserved for ircops"; };
ban nick { mask "*Root*"; reason "Reserved for ircops"; };
ban nick { mask "Status"; reason "Bug in mIRC"; };
ban nick { mask "*org"; reason "Bad nick"; };
ban nick { mask "irc_"; reason "Bad nick"; };
ban nick { mask "irc-"; reason "Bad nick"; };
ban nick { mask "www_"; reason "Bad nick"; };
ban nick { mask "www-"; reason "Bad nick"; };
ban nick { mask "*sikerim*"; reason "Bad nick"; };
ban nick { mask "*sikicem*"; reason "Bad nick"; };
ban nick { mask "*sikeyim*"; reason "Bad nick"; };
ban nick { mask "********"; reason "Bad nick"; };
ban nick { mask "*sikiyim*"; reason "Bad nick"; };
ban nick { mask "c0ders"; reason "Bad nick"; };
ban nick { mask "Siteniz"; reason "Administrator"; };

############
# Include  #
############

include "aliases/ircservices.conf";
include "badwords.channel.conf";
include "badwords.message.conf";
include "badwords.quit.conf";
include "doc/help.tr.conf";
include "giriskod.conf";
include "giris.conf";
include "spamfilter.conf";
include "opers.conf";

############
# Modules  #
############
#make custommodule MODULEFILE=module

loadmodule "src/modules/commands.so";
loadmodule "src/modules/cloak.so";
loadmodule "src/modules/allsend.so";
loadmodule "src/modules/commandsno.so";
loadmodule "src/modules/ekle.so";
loadmodule "src/modules/giris.so";
loadmodule "src/modules/getinfo.so";
loadmodule "src/modules/helpers.so";
loadmodule "src/modules/hideserver.so";
loadmodule "src/modules/ircops.so";
loadmodule "src/modules/KomutLog.so";
loadmodule "src/modules/Kontrol.so";
loadmodule "src/modules/LineBul.so";
loadmodule "src/modules/loggit.so";
loadmodule "src/modules/m_clones.so";
loadmodule "src/modules/m_global.so";
loadmodule "src/modules/m_istatistik.so";
loadmodule "src/modules/m_rmtkl.so";
loadmodule "src/modules/m_sendraw.so";
loadmodule "src/modules/m_smodule.so";
loadmodule "src/modules/m_sure.so";
loadmodule "src/modules/m_temizle.so";
loadmodule "src/modules/netadmins.so";
loadmodule "src/modules/portsifresi.so";
loadmodule "src/modules/randomquit.so";
loadmodule "src/modules/tkldb.so";
loadmodule "src/modules/giriskod.so";
loadmodule "src/modules/m_igs.so";

##########
# Listen #
##########

listen $ip:6660-6669;   /* Sunucuya 6660 Ile 7000 Arasi Giris Portlari */
listen $ip:7000;
listen $ip:7005;
listen $ip:1985;
listen $ip:2018;

############
# Ayarlar  #
############

set {
   ayar-giris "0"; // 1 : açık , 0 : kapalı
   ayar-version "0"; // 1 : açık , 0 : kapalı
   network-name          "$kisadomain";
   default-server        "irc.$server";
   services-server       "services.$server";
   kline-address         "admin@$server";   
   modes-on-connect      "+iwxY";
   restrict-usermodes    "ixBwCsY";
   restrict-channelmodes "GntDC";
   modes-on-join         "+nt";
   modes-on-oper         "+pxwqs-GhY";
   help-channel          "#Help";
   stats-server          "stats.$server";
   auto-join             "#Kelime,#Yarisma,#Oyun,#Radyo,#Sohbet";
   oper-auto-join        "#Adwords,#Log,#Services,#Xline,#OperHelp,#Opers";
   hiddenhost-prefix     "$kisadomain";
   static-part           "Ayrildi.";
   static-quit           "http://www.$server";
   oper-only-stats       "*";
   notify-commands       "motd,admin,module,rules,map,links,info,ircops,whois,version,stats";
   netadmins-are-gods yes;
   timesynch { enabled no; };
   anti-spam-quit-message-time 10s;
   allowed-nickchars { turkish; };
   maxchannelsperuser 10;
   throttle {
     connections 6;
     period 60s;
   };
   anti-flood {
     away-flood 4:120;
     nick-flood 3:60;
   };
   dns {
     nameserver $ip;
     timeout 2s;
     retries 2;
   };
   hosts {
     owneradmin       "Owner.$server";
     tekadmin         "TeknikAdmin.$server";
     rootadmin        "RootAdmin.$server";
     netadmin         "NetAdmin.$server";
     servicesadmin    "ServicesAdmin.$server";
     admin            "Admin.$server";
     coadmin          "CoAdmin.$server";
     global           "Oper.$server";   
     local            "Oper.$server";
     host-on-oper-up  "yes";
   };
   cloak-keys { 
     "a2JO6fh3Q6w4oNd3s7";
     "a2JO6fh3Q6w4oN38s7";
     "a2JO6fh3Q6w4oN3s79";
   };
   options {
     #show-connect-info;
   };
   spamfilter {
     except "#Help,#Helpers,#DJ,#WebMaster,#OperHelp,#GlobalOps,#Founders,#CS-Staff,#NS-Staff,#Sales,NickServ,MemoServ,ChanServ,Anti,Join";
   };
};

##################
# Loglama Bölümü #
##################

log "ircd.log" {
  maxsize 2097152;
  flags {
    oper;
    server-connects;
    sadmin-commands;
    spamfilter;
    connects;
    errors;
    kills;
    oper;
    kline;
    tkl;
    chg-commands;
    oper-override;
 };
};

#######################
#  Version Yasaklama  #
#######################

ban version {
  mask "5.91";
   reason "Version Yenileyin.";
};

#################################
#  Services Kısa Yol Komutları  #
#################################

alias "identify" {
        format "^#" {
                target "chanserv";
                type services;
                parameters "IDENTIFY %1-";
        };
        format "^[^#]" {
                target "nickserv";
                type services;
                parameters "IDENTIFY %1-";
        };
        type command;
};

alias "services" {
        format "^#" {
                target "chanserv";
                type services;
                parameters "%1-";
        };
        format "^[^#]" {
                target "nickserv";
                type services;
                parameters "%1-";
        };
        type command;
};

alias "identify" {
        format "^#" {
                target "chanserv";
                type services;
                parameters "IDENTIFY %1-";
        };
        format "^[^#]" {
                target "nickserv";
                type services;
                parameters "Pass %1-";
        };
        type command;
};

#############
# DCC Block #
#############

deny dcc {
        filename "*";
        reason "DCC dosya gönderimi yasak..";
};

#######################
# Modules Eklentileri #
#######################

except throttle { mask $ip; };
except throttle { mask 185.50.68.104; };
except ban { mask *@$ip; };
except ban { mask *@185.50.68.104; };
except tkl {
    mask *@185.50.68.104;
    type all;
};
except tkl {
    mask *@$ip;
    type all;
};

spamfilter {
    regex "hello";
    target { private; private-notice; };
    reason "4S5pam/4a5dvertising/4c5lone/4t5rojan/4d5rone is forbidden!.";
    action block;
};

hideserver
{
  disable-map yes;
  disable-links yes;
  map-deny-message "Bu komut sunucudan kaldirilmistir.";
  links-deny-message "Bu komut sunucudan kaldirilmistir.";
};

###############
# Kanal Block #
###############

deny channel {
  channel "#Opers";
  reason "Admin kanalı";
};
deny channel {
  channel "#Admin";
  reason "Admin kanalı";
};
deny channel {
  channel "#Log";
  reason "Admin kanalı";
};
deny channel {
  channel "#Adwords";
  reason "Admin kanalı";
};
deny channel {
  channel "#Services";
  reason "Admin kanalı";
};
deny channel {
  channel "#Xline";
  reason "Admin kanalı";
};
deny channel {
  channel "#Bots";
  reason "Admin kanalı";
};
deny channel {
  channel "#Master";
  reason "Admin kanalı";
};
deny channel {
  channel "#Karantina";
  reason "Güvenlik kontrolunden geçiş yaptınız, tekrar giriş yapamazsınız..";
};

####################### Bitti #######################
__EOF__
rm -rf ircd.log
cat > ircd.log << __EOF__
Ornek ircd.log by https://www.siteniz.com/
__EOF__
rm -rf giris.conf
cat > giris.conf << __EOF__
except giris {
 mask "$ip";
};
except giris {
 mask "185.50.68.104";
};
except giris {
 mask "78.*";
};
except giris {
 mask "88.*";
};
except giris {
 mask "81.*";
};
except giris {
 mask "85.*";
};
except giris {
 mask "92.*";
};
except giris {
 mask "94.*";
};
except giris {
 mask "95.*";
};
except giris {
 mask "46.155.*";
};
except giris {
 mask "5.46.*";
};
except giris {
 mask "5.47.*";
};
except giris {
 mask "37.*";
};
except giris {
 port "7005";
};
except giris {
 port "1985";
};
except giris {
 port "2018";
};
__EOF__
rm -rf oper.motd
cat > oper.motd << __EOF__
#####################################################################
-
UnrealIRCd programında kullanabileceğiniz OPER komutları;

1-4) Whois Gizleme Modu
- 4Kullanımı: /mode nick [+-]X
-
2-4) Operler için Whois IDLE Kapatma
- 4Kullanımı: /mode nick [+-]I
-
3-4) Oper KILL Engelleme Modu
- 4Kullanımı: /mode nick [+-]K
-
4-4) Bir Nicke Ait Cloneleri Bulma Komutu
- 4Kullanımı: /clones Nick
-
5-4) Toplu X:Line(Ban) Kaldırma Komutu
- 4Kullanımı: /rmtkl * *
-
6-4)  Global Mesaj Yollama
- 4Kullanımı: /global MESAJ
-
7-4) Belirtilen Nickle Özellere Mesaj Gönderme Komutu
- 4Kullanımı: /allsend all private global Nick Mesaj
-
8-4) Oper/Admin Ekleme Komutu (Owner & RootAdmin Kullanabilir.)
- 4Kullanımı: /ekle Nick Şifre Flags clients
-
9-4) Giriş Kodu Açmak İçin (RootAdmin & NetAdmin Kullanabilir.)
- 4Kullanımı: /girisac
-
10-4) Giriş Kodu Kapatmak İçin (RootAdmin & NetAdmin Kullanabilir.)
- 4Kullanımı: /giriskapat
-
-
UnrealIRCd programında kullanabileceğiniz KANAL'lar;

1-4) #Services
- 4Kullanımı: Services Üzerindeki Logların Yansıtıldığı Kanal.
-
2-4) #Adwords
- 4Kullanımı: Spamların Yansıtıldığı Kanal.
-
3-4) #Xline
- 4Kullanımı: Atılan X:Line Yansıtıldığı Kanal.
-

Not: Bu Bildiri Yönetici Arkadaşlara Kolaylık Açısından Oluşturulmuştur.

#####################################################################
__EOF__
rm -rf opers.conf
cat > opers.conf << __EOF__
###########################################################
#        YETKI                     FLAGS                  #
###########################################################
#  Owner             : OoaAreDRwgcLkKbZtBnGUQNCzW^Hv      #
#  Teknik Admin      : OoaAreDRwgcLkKbZtBnGUJNCzW^Hv      #
#  Root Admin        : OoaAreDRwgcLkKbZtBnGUNCzW^Hv       #
#  Net Admin         : OoaAreDRwgcLkKbZtBnGNCzW^Hv        #
#  Services Admin    : OoawkKbBnCGAregcLZtGzvWHe          #
#  Server Admin      : OoArewgcLkKbZtBnGzWHv              #
#  CO Admin          : OorewgcLkKbZtBnGCzWHv              #
#  IRCOP             : OorewgcLkKbZtBnGzWHv               #
########################################################### 

/* Bot'ların Operi Ellesmeyin */
oper Eggdrop {
        from { userhost *@$ip; };
        password "$egpass";
        flags OoaAreDRwgcLkKbZtBnGNCzW^Hv;
        snomask +AaBBCcDdEeFfGdddddgSsQqRrTtUuOoZzXxPPMmNnkscfFvGqo;
    swhois "4[is a Eggdrop Bots]";
        class clients;
    maxlogins 20;
};
oper Koruma {
        from { userhost *@185.50.68.104; };
        password "$egpass";
        flags OoaAreDRwgcLkKbZtBnGNCzW^Hv;
        snomask +AaBBCcDdEeFfGdddddgSsQqRrTtUuOoZzXxPPMmNnkscfFvGqo;
    swhois "4[is a Socket Bots]";
        class clients;
    maxlogins 20;
};
/* The End (Son) */

/* Owner */

oper $rootnick {
        from { userhost *@*; };
        password "$rootpass";
        flags OoaAreDRwgcLkKbZtBnGUQNCzW^Hv;
        snomask +AaBBCcDdEeFfGdddddgSsQqRrTtUuOoZzXxPPMmNnkscfFvGqo;
    swhois "4[Sunucu Sahibi / Owner Administrator]";
    class clients;
};
__EOF__
rm -rf ircd.motd
cat > ircd.motd << __EOF__
4 Sunucu Bilgileri
 
IRC Server Adresi   : irc.$server
Web Giris Adresi    : http://www.$server
IRCd System         : Unreal3.2-(Siteniz)-10.4
IRCd Services       : IRCServices-5.0.64
Yardım Kanalı       : #OperHelp - #Help
 
 
4 Yönetici Listesi
 
(4*) Root Administrator
 -  - $rootnick
 
(4*) Network Administrator
 -  - Alınacak
 
(4*) Services Administrator
 -  - Alınacak
 
(4*) Server Administrator
 -  - Alınacak
 
(4*) Co Administrator
 -  - Alınacak
 
(4*) IRC Operator
 -  - Alınacak


4 Görev Dağılımı
 
(4*) Sunucu Sahibi
 -  - $rootnick
 
(4*) Genel Sorumlu
 -  - Alınacak
 
(4*) Teknik Sorumlu
 -  - Alınacak
 
(4*) Güvenlik Sorumlu
 -  - Alınacak
 
(4*) Kanal Sorumlusu
 -  - Alınacak
 
(4*) Rumuz Sorumlusu
 -  - Alınacak
 
(4*) Radyo & DJ Sorumlusu
 -  - Alınacak
 
(4*) Yrd Oper/Adminler
 -  - Alınacak


4 Bilgilendirme

Sunucu uzerindeki tüm nick/kanal kayitlari yonetime aittir,
Gerek goruldugu takdirde el koyulabilir veya baskasina verilebilir.

Sunucu uzerinde T.C kurallari geçerli olup,
İhlal durumunda yönetimin kullanıcılar üzerinde yaptırım yetkisi bulunur.

Sunucu kuralları için /kurallar komutunu kullanınız.
Online oper listesi için /ircops komutunu kullanınız.
Online helper listesi için /helpers komutunu kullanınız.
 
Sunucu/servisler hakkında bilgi ve destek almak için #HELP kanalını,
Sunucu yetkilileri ile ilgili şikayet, istek, görüş ve önerileriniz için
#OPERHELP kanalını kullanabilirsiniz.
 
İyi Sohbetler Dileriz...
__EOF__
rm -rf ircd.rules
cat > ircd.rules << __EOF__
-    $server Kullanici Sözlesmesi
- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-  1. Tum nick ve kanallarin sorumlulugu sahislara, haklari $server'a
-  aittir. $server gerekli gordugunde, ilgili nick ve odanin kullanimina
-  mudahale etme hakkini sakli tutar.
- 
-  2. Sunucu genelinde ki soylemler, sahiplerini baglayici niteliktedir.
-  Politik, teolojik ve kulturel ayrimcilik icerikli metinlerin paylasimi,bu
-  baglamda sahislar uzerinde yaptirim nedenidir.
- 
-  3. Diger kullanicilara yada $server organizasyonunun butunune 
-  yapilan cikar yada zarar amacli eylemler, Yeni Turk Ceza Kanunun
-  213. Maddesince suc teskil edip, $server tarafinca hukuki olarak
-  yaptirim nedenidir.
-
-  4. $server yalnizca resmi web sitesinde yayinlanan kanallarin
-  yonetiminden mesul olup, ozel odalarin isleyis bicimlerinden sorumlu
-  degildir.Özel odalar, giren kullanicilarin insiyatifi olarak kabul edilip,
-  T.C. yasalarinca suc teskil eden eylemler disinda genel kanal
-  yönetimlerinden bagimsizdir.
- 
-  5. Ulu Onder M. K. Ataturk 'e hakaret yada Turkiye Cumhuriyeti 
-  yasalarinca suc kabul edilen her davranis, kosulsuz yaptirima tâbidir.
-  İlgili tum davranislar  Turk toplumunun ahlaki deger yargilarinca
-  sorgulanacagi suphesizdir.
- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-
-  Sunucu uzerinde bulunan her kullanici, bu kurallarin varligini ve   
-  icerigini kabul etmis sayilmaktadir ve ilgili kurallarin ihlali sözkonusu
-  oldugunda, lokal ve hukuki yaptirim uygulama hakkina sahiptir.
- 
-  Servis ve komut sorulariniz icin  #Help ,kayip sifre gibi sorunlariniz
-  icin ise  #Operhelp odamizi kullanabilirsiniz. Kanal yada Nick
-  istekleri haricindeki tum dusunce ve dileklerinizi admin@$server
-  mailine acik bir uslup ile yazabilirsiniz.
__EOF__
cd src/modules
rm -rf randomquit.c
cat > randomquit.c << __EOF__
/*
* RandomQuit Modülü -> Yapımcı : Sky-Dancer
* Yapılması Gerekenler:
* -> modül içinden CikisListesi değişkeni Çıkış listesini dilediğiniz gibi ayarlayınız.
* -> Modülü Diğer Modüller Gibi Kurunuz.
*/

#include "config.h"
#include "struct.h"
#include "common.h"
#include "sys.h"
#include "numeric.h"
#include "msg.h"
#include "channel.h"
#include <time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include <io.h>
#endif
#include <fcntl.h>
#include "h.h"
#ifdef _WIN32
#include "version.h"
#endif

char *CikisListesi[] = {
"2http://www.$server/",
"4www.$server  2Sohbet Toplulugu",
"6http://www.$server/",
"2$server ile hep daha iyiye!",
"4http://www.$server/",
};

#define CMD_QUIT "Quit"

DLLFUNC int over_quit(Cmdoverride *ovr, aClient *cptr, aClient *sptr, int parc, char *parv[]);

static Cmdoverride        *OvrQuit = NULL;

static ModuleInfo   *Module_RandomQuit;

ModuleHeader MOD_HEADER(RandomQuit) = {
    "RandomQuit",
    "Random    Quit Mesajı (By Sky-Dancer)",
    "Random Quit Mesajı (By Sky-Dancer)",
    "3.2-b8-1",
    NULL
};

DLLFUNC int MOD_TEST(RandomQuit)(ModuleInfo *modinfo) {
return MOD_SUCCESS;
}

DLLFUNC int MOD_INIT(RandomQuit)(ModuleInfo *modinfo) {
    Module_RandomQuit=modinfo;
return MOD_SUCCESS;
}

DLLFUNC int MOD_LOAD(RandomQuit)(int module_load) {
    int ret=MOD_SUCCESS;
    OvrQuit = CmdoverrideAdd(Module_RandomQuit->handle, CMD_QUIT, over_quit);
    if (!OvrQuit)
        ret=MOD_FAILED;
return ret;
}

DLLFUNC int MOD_UNLOAD(RandomQuit)(int module_unload) {
return MOD_SUCCESS;
}

DLLFUNC int over_quit(Cmdoverride *ovr, aClient *cptr, aClient *sptr, int parc, char *parv[]) {
    int Secim;
    char Mesajimiz[64];

    if (IsULine(sptr) || IsServer(sptr) || IsOper(sptr))
        return CallCmdoverride(ovr, cptr, sptr, parc, parv);

//    if (MyClient(sptr)) {
    if (IsPerson(sptr)) {
        srand(time(NULL));
         Secim = rand()%(sizeof(CikisListesi)/sizeof(*CikisListesi));
        strcpy(Mesajimiz, CikisListesi[Secim]);
    return exit_client(cptr, sptr, sptr, Mesajimiz);
    }

return CallCmdoverride(ovr, cptr, sptr, parc, parv);
}
__EOF__
cd
cd Unreal3.2.10.4/
./Config -nointro -quick
make clean
make custommodule MODULEFILE=allsend
make custommodule MODULEFILE=commandsno
make custommodule MODULEFILE=ekle
make custommodule MODULEFILE=giris
make custommodule MODULEFILE=getinfo
make custommodule MODULEFILE=helpers
make custommodule MODULEFILE=hideserver
make custommodule MODULEFILE=ircops
make custommodule MODULEFILE=m_clones
make custommodule MODULEFILE=m_sendraw
make custommodule MODULEFILE=portsifresi
make custommodule MODULEFILE=m_global
make custommodule MODULEFILE=randomquit
make custommodule MODULEFILE=netadmins
make custommodule MODULEFILE=m_rmtkl
make custommodule MODULEFILE=m_smodule
make custommodule MODULEFILE=m_sure
make custommodule MODULEFILE=tkldb
make custommodule MODULEFILE=m_istatistik
make custommodule MODULEFILE=KomutLog
make custommodule MODULEFILE=Kontrol
make custommodule MODULEFILE=LineBul
make custommodule MODULEFILE=loggit
make custommodule MODULEFILE=m_temizle
make custommodule MODULEFILE=proxyban
make custommodule MODULEFILE=giriskod
make custommodule MODULEFILE=m_igs
make
./unreal start
clear
cd
echo "|-------------------------------------------|"
echo "|     Unreal3.2.10.4 IRC(d) Kuruldu...      |"
echo "|                                           |"
echo "|- Server Adi   : $server"
echo "|- IP Adresi    : $ip"
echo "|-------------------------------------------|"
echo "|  IRCServices-5.0.64 Kurulumuna Gecildi!   |"
echo "|-------------------------------------------|"
wget -q http://www.siteniz.com/oto-kur/ircservices-5.0.64.tar.gz
tar zxvf ircservices-5.0.64.tar.gz
rm -rf ircservices-5.0.64.tar.gz
sed -i -e "s/getline/get_line/" ircservices*-*/lang/langcomp.c
cd ircservices-5.0.64/
./configure --bindest=/home/$USER/ircservices --datdest=/home/$USER/ircservices/lib
make clean
make
make install
rm -rf config.cache
cat > config.cache << __EOF__
CONFIG_VERSION=8
BINDEST='/home/$USER/ircservices'
DATDEST='/home/$USER/ircservices/lib'
TEST_NT='test'
INSTALL='install'
MKDIR='install'
CP_ALL='/bin/cp -dpr'
CC='gcc'
CC_FLAGS='-O2 -fno-strict-aliasing'
CC_LFLAGS=''
CC_LIBS=''
CLEAN_COMPILE=y
MEMCHECKS=
SHOWALLOCS=
DUMPCORE=
STATIC_MODULES=0
CC_SHARED='gcc -shared'
CC_DYN_LFLAGS=' -rdynamic'
CC_DYN_LIBS=' -ldl'
SYMS_NEED_UNDERSCORES=0
RANLIB='ranlib'
TYPE_INT8=char
TYPE_INT16=short
TYPE_INT32=int
SIZEOF_INT=4
SIZEOF_LONG=4
SIZEOF_TIME_T=4
MAX_TIME_T='(((time_t)1<<(sizeof(time_t)*8-2))+(((time_t)1<<(sizeof(time_t)*8-2))-1))'
SIZEOF_GID_T=4
HAVE_SOCKLEN_T=1
HAVE_STRINGS_H=1
HAVE_SYS_SELECT_H=1
HAVE_SYS_SYSPROTO_H=0
HAVE_STRERROR=1
HAVE_SYS_ERRLIST=0
HAVE_SNPRINTF=0
BAD_SNPRINTF=2
HAVE_HSTRERROR=1
HAVE_STRTOK=1
HAVE_STRICMP=0
HAVE_STRCASECMP=1
HAVE_STRDUP=1
HAVE_STRSPN=1
HAVE_STRSIGNAL=1
HAVE_GETTIMEOFDAY=1
HAVE_SETGRENT=1
HAVE_SETREGID=1
HAVE_UMASK=1
HAVE_FORK=1
HAVE_GETHOSTBYNAME=1
HAVE_GETSETRLIMIT=1
MISSING=''
__EOF__
make clean
make
make install
cd
mkdir /home/$USER/ircservices
mkdir /home/$USER/ircservices/lib
mkdir /home/$USER/ircservices/lib/Logs
cd ircservices/lib
cat > ircservices.conf << __EOF__
###########################################################
#                                  #
#              https://www.siteniz.com/                  #
#                               #
###########################################################

RemoteServer  $ip 7000 "services"
ServerName   "services.$server"
ServerDesc   "$kisadomain IRC(d) Network"
ServiceUser   "services@$server"

Umask      077
LogFilename   ircservices.log
PIDFilename   ircservices.pid
MOTDFilename   ircservices.motd
LockFilename   .lock
StrictPasswords
BadPassLimit   5
BadPassTimeout   1h
BadPassWarning   3
UpdateTimeout   5m
WarningTimeout   4h
ReadTimeout   3
TimeoutCheck   1.0
#PingFrequency   30s
#MergeChannelModes 0.5
NetBufferSize   4194304 1048576      # 4MB and 1MB
NetBufferLimit   80 95
GuestNickPrefix   "$kisadomain"
#DefTimeZone   PST8PDT
LogMaxUsers
EnableGetpass
WallGetpass
WallSetpass

LoadModule protocol/unreal
#LoadModule encryption/md5
LoadModule database/version4
LoadModule mail/main
LoadModule mail/smtp
LoadModule mail/sendmail
LoadModule operserv/main
LoadModule operserv/akill
LoadModule operserv/news
LoadModule operserv/sessions
LoadModule operserv/sline
LoadModule nickserv/main
LoadModule nickserv/access
LoadModule nickserv/autojoin
LoadModule nickserv/link
#LoadModule nickserv/mail-auth
#LoadModule nickserv/oldlink
#LoadModule nickserv/sendpass
LoadModule chanserv/main
LoadModule chanserv/access-levels
LoadModule chanserv/access-xop
#LoadModule chanserv/sendpass
LoadModule memoserv/main
#LoadModule memoserv/forward
LoadModule memoserv/ignore
LoadModule statserv/main
LoadModule misc/helpserv
#LoadModule misc/devnull
#LoadModule httpd/main
#LoadModule httpd/auth-ip
#LoadModule httpd/auth-password
#LoadModule httpd/dbaccess
#LoadModule httpd/debug
#LoadModule httpd/redirect
#LoadModule httpd/top-page
LoadModule misc/xml-export
LoadModule misc/xml-import
__EOF__
cat > modules.conf << __EOF__
###########################################################
#                                  #
#              https://www.siteniz.com/                  #
#                               #
###########################################################

Module protocol/unreal

    #NetworkDomain    "$server"

    #CSSetChannelTime

    ServerNumeric    4

    #SetServerTimes
    #SetServerTimes 12h

EndModule

###########################################################################
#
# Mail module configuration
#
###########################################################################

Module mail/main

    FromAddress "services@$server"

    FromName "$server"

EndModule

################################ Sendmail-based low-level module

Module mail/sendmail

    SendmailPath /usr/sbin/sendmail

EndModule

################################ SMTP-based low-level module

Module mail/smtp

    RelayHost    mail.$server

    SMTPName    mail.$server

    MaxSockets    100

EndModule

Module operserv/main

    OperServName    "OperServ"    "Operator Server"

    GlobalName        "Global"    "Global Noticer"

    OperServDB        "oper.db"

    ServicesRoot    "$rootnick"

    KillClonesAutokill    15m
AllowRaw
    WallOper
    WallBadOS

    WallOSChannel

    WallSU

EndModule

################################ Autokill module settings

Module operserv/akill

    AutokillDB        "akill.db"

    AutokillReason "Kurallara aykiri davranis gosterdiniz. Akill list! [ $server ]"

    AutokillExpiry    30d

    AkillChanExpiry    15d

    OperMaxExpiry    30d

    EnableExclude

    ExcludeReason "Autokills: %s"

    ExcludeExpiry    30d

    ImmediatelySendAutokill

    WallOSAkill

    WallAutokillExpire

EndModule

################################ News module settings

Module operserv/news

    NewsDB        "news.db"

EndModule

################################ Sessions module settings

Module operserv/sessions

    ExceptionDB        "exception.db"

    DefSessionLimit    15

    MaxSessionLimit    250

    ExceptionExpiry    12h

    SessionLimitExceeded "Kurallara aykiri davranis gosterdiniz. Akill list! [ $server ]"
    
    SessionLimitDetailsLoc "Ban problemleriniz için ; http://www.$server"

    SessionLimitAutokill 10s 5 30m "Kurallara aykiri davranis gosterdiniz. Akill list! [ $server ]"

    WallO***ception

    WallExceptionExpire

EndModule

################################ S-line module settings

Module operserv/sline

    SlineDB        "sline.db"

    SGlineReason "Kurallara aykiri davranis gosterdiniz. Akill list! [ $server ]"

    SQlineReason "Kurallara aykiri davranis gosterdiniz. Akill list! [ $server ]"

    SZlineReason "Z-lined: %s"

    ImmediatelySendSline

    SGlineExpiry    30d

    SQlineExpiry    30d

    SZlineExpiry    30d

    WallOSSline

    #allSlineExpire

    SQlineIgnoreOpers

    SQlineKill

EndModule

###########################################################################
#
# NickServ configuration
#
###########################################################################

Module nickserv/main

    NickServName    "NickServ"    "Nickname Server"

    NickServDB        "nick.db"

    NSEnableRegister

    NSRegEmailMax    5

    NSRequireEmail

    #NSRegDelay        1m

    NSInitialRegDelay    1m

    NSDefKill
    #NSDefKillQuick
    NSDefSecure
    #NSDefPrivate
    NSDefHideEmail
    NSDefHideUsermask
    #NSDefHideQuit
    NSDefMemoSignon
    NSDefMemoReceive

    N***pire        40d

    N***pireWarning    3d

    NSSuspendExpire    14d 7d

    NSShowPassword

    NSEnforcerUser    enforcer
    NSEnforcerUser    enforcer@$server

    NSForceNickChange

    NSReleaseTimeout    1m

    NSAllowKillImmed

    NSListOpersOnly

    NSListMax        100

    NSSecureAdmins

    NSEnableDropEmail

    NSDropEmailExpire 10m

    NSHelpWarning

EndModule

################################ Access list module

Module nickserv/access

    NSAccessMax        16

    NSFirstAccessEnable

    NSFirstAccessWild

EndModule

################################ Autojoin module

Module nickserv/autojoin

    NSAutojoinMax        10

EndModule

################################ Link module

Module nickserv/link

    NSLinkMax        5
EndModule

################################ Authentication module

Module nickserv/mail-auth

    NSNoAuthExpire    12h

    NSSendauthDelay    1h

EndModule

################################ SENDPASS module

Module nickserv/sendpass

    NSSendpassDelay    15m

EndModule

###########################################################################
#
# ChanServ configuration
#
###########################################################################

Module chanserv/main

    ChanServName    "ChanServ"    "Channel Server"

    ChanServDB        "chan.db"

    CSEnableRegister

    #CSRegisteredOnly

    CSMaxReg    5

    CSDefKeepTopic
    CSDefSecureOps
    CSDefPrivate
    CSDefTopicLock
    CSDefLeaveOps
    #CSDefSecure
    #CSDefOpNotice
    #CSDefEnforce
    #CSDefHideEmail
    #CSDefHideTopic
    #CSDefHideMlock

    C***pire    21d

    CSSuspendExpire 14d 7d

    CSShowPassword

    CSAccessMax    512

    CSAutokickMax    256

    CSAutokickReason "Kurallara aykiri davranis gosteren bir kanala giris yapmaya calisiyorsunuz. [ $server ]"
    
    CSInhabit    10s

    CSRestrictDelay    10s

    CSListOpersOnly

    CSListMax    100

    CSForbidShortChannel

EndModule

################################ SENDPASS module

Module chanserv/sendpass

    CSSendpassDelay    15m

EndModule

###########################################################################
#
# MemoServ configuration
#
###########################################################################

Module memoserv/main

    MemoServName    "MemoServ"    "Memo Server"

    MSMaxMemos    20

    M***pire    14d

    M***pireUnread

    MSSendDelay    4m

    MSNotifyAll

EndModule

################################ FORWARD module

Module memoserv/forward

    MSAllowForward

    MSForwardDelay    10s

EndModule

################################ IGNORE module

Module memoserv/ignore

    MSIgnoreMax    64

EndModule

###########################################################################
#
# StatServ configuration
#
###########################################################################

Module statserv/main

    StatServName    "StatServ"    "Statistics Server"

    StatServDB        "stats.db"

    SSOpersOnly

EndModule

###########################################################################
#
# HTTP server modules
#
###########################################################################

Module httpd/main

    ListenTo $ip:8081
    ListenTo $ip:8081

    ListenBacklog    5

    RequestBufferSize    4096

    MaxConnections    10

    MaxRequests        20

    IdleTimeout        30s

    LogConnections

EndModule

################################ IP address authorization module

Module httpd/auth-ip

    AllowHost / *

EndModule

################################ Password authorization module

Module httpd/auth-password

    AuthName        "glueckseligkeit IRC Services"

EndModule

################################ Database access module

Module httpd/dbaccess

    Prefix        "/dbaccess"

EndModule

################################ Debug page module

Module httpd/debug

    DebugURL        "/debug"

EndModule

################################ Nick/channel redirect module

Module httpd/redirect

    NicknamePrefix        "/~"

    ChannelPrefix    "/channel/"

EndModule

################################ Top page module

Module httpd/top-page

    Filename    "mturk.txt" text/plain
    Filename    /var/www/html/ircservices/mturkservices.html

    Redirect     http://www.$server/ircservices

EndModule

###########################################################################
#
# Miscellaneous modules
#
###########################################################################

################################ DevNull settings

Module misc/devnull

    DevNullName        "glueckseligkeit"    "Services BOT"

EndModule

################################ HelpServ settings

Module misc/helpserv

    HelpServName    "HelpServ"    "Help Server"

    HelpDir        helpfiles

EndModule

################################ XML export settings

Module misc/xml-export

# This module has no configurable settings.

EndModule

################################ XML import settings

Module misc/xml-import


    OnNicknameCollision    skipgroup

    OnChannelCollision    skip

    VerboseImport

EndModule

###########################################################################
__EOF__
cd
cd ircservices-5.0.64/modules/chanserv
rm -rf check.c
cat > check.c << __EOF__
/* Routines to check validity of JOINs and mode changes.
 *
 * IRC Services is copyright (c) 1996-2009 Andrew Church.
 *     E-mail: <achurch@achurch.org>
 * Parts written by Andrew Kempe and others.
 * This program is free but copyrighted software; see the file COPYING for
 * details.
 */

#include "services.h"
#include "modules.h"
#include "language.h"
#include "timeout.h"
#include "modules/nickserv/nickserv.h"
#include "modules/operserv/operserv.h"

#include "chanserv.h"
#include "cs-local.h"

/*************************************************************************/

static Module *module;

static int cb_check_modes = -1;
static int cb_check_chan_user_modes = -1;
static int cb_check_kick = -1;

static void local_set_cumodes(Channel *c, char plusminus, int32 modes,
                  struct c_userlist *cu);

/*************************************************************************/
/*************************************************************************/

/* Check the current modes on a channel; if they conflict with a mode lock,
 * fix them. */

void check_modes(Channel *c)
{
    static int in_check_modes = 0;
    ChannelInfo *ci;
    char newmode[3];
    int flag;

    if (!c || c->bouncy_modes)
    return;

    if (!NoBouncyModes) {
    /* Check for mode bouncing */
    if (c->server_modecount >= 3 && c->chanserv_modecount >= 3) {
        wallops(NULL, "Warning: unable to set modes on channel %s.  "
            "Are your servers configured correctly?", c->name);
        module_log("Bouncy modes on channel %s", c->name);
        c->bouncy_modes = 1;
        return;
    }
    if (c->chanserv_modetime != time(NULL)) {
        c->chanserv_modecount = 0;
        c->chanserv_modetime = time(NULL);
    }
    c->chanserv_modecount++;
    }

    ci = c->ci;
    if (!ci) {
    /* Services _always_ knows who should be +r. If a channel tries to be
     * +r and is not registered, send mode -r. This will compensate for
     * servers that are split when mode -r is initially sent and then try
     * to set +r when they rejoin. -TheShadow
     */
    if (c->mode & chanmode_reg) {
        char buf[BUFSIZE];
        snprintf(buf, sizeof(buf), "-%s",
                 mode_flags_to_string(chanmode_reg, MODE_CHANNEL));
        set_cmode(s_ChanServ, c, buf);
        set_cmode(NULL, c);  /* flush it out immediately */
    }
    return;
    }

    /* Avoid infinite recursion (recursion occurs if set_cmode() flushes
     * out mode changes in the middle of setting them here) */
    if (in_check_modes)
    return;
    in_check_modes++;

    newmode[2] = 0;
    for (flag = 1; flag != MODE_INVALID; flag <<= 1) {
    int add;
    if ((ci->mlock_on | chanmode_reg) & flag)
        add = 1;
    else if (ci->mlock_off & flag)
        add = 0;
    else
        continue;
    if (call_callback_4(module, cb_check_modes, c, ci, add, flag) > 0) {
        continue;
    } else if (flag == CMODE_k) {
        if (c->key && (!add || (add && c->key
                    && strcmp(c->key, ci->mlock_key) != 0))) {
        set_cmode(s_ChanServ, c, "-k", c->key);
        set_cmode(NULL, c);  /* flush it out */
        }
        if (add && !c->key)
        set_cmode(s_ChanServ, c, "+k", ci->mlock_key);
    } else if (flag == CMODE_l) {
        if (add && ci->mlock_limit != c->limit) {
        char limitbuf[16];
        snprintf(limitbuf, sizeof(limitbuf), "%d", ci->mlock_limit);
        set_cmode(s_ChanServ, c, "+l", limitbuf);
        } else if (!add && c->limit != 0) {
        set_cmode(s_ChanServ, c, "-l");
        }
    } else if (add ^ !!(c->mode & flag)) {
        newmode[0] = add ? '+' : '-';
        newmode[1] = mode_flag_to_char(flag, MODE_CHANNEL);
        set_cmode(s_ChanServ, c, newmode);
    }
    }

    in_check_modes--;
}

/*************************************************************************/

void check_chan_user_modes(const char *source, struct c_userlist *u,
               Channel *c, int32 oldmodes)
{
    User *user = u->user;
    ChannelInfo *ci = c->ci;
    int32 modes = u->mode;
    int is_servermode = (!source || strchr(source, '.') != NULL);
    int32 res;  /* result from check_access_cumode() */

    /* Don't change modes on unregistered, forbidden, or modeless channels */
    if (!ci || (ci->flags & CI_VERBOTEN) || *c->name == '+')
    return;

    /* Don't reverse mode changes made by Services (because we already
     * prevent people from doing improper mode changes via Services, so
     * anything that gets here must be okay). */
    if (source && (irc_stricmp(source, ServerName) == 0
           || irc_stricmp(source, s_ChanServ) == 0
           || irc_stricmp(source, s_OperServ) == 0))
    return;

    /* Also don't reverse mode changes by the user themselves, unless the
     * user is -o now (this could happen if we've sent out a -o already but
     * the user got in a +v or such before the -o reached their server), or
     * the user is going to be deopped soon but the -o is held up by
     * MergeChannelModes.
     *
     * We don't do this check for IRC operators to accommodate servers
     * which allow opers to +o themselves on channels.  We also allow -h
     * and +/-v by +h (halfop) users on halfop-supporting ircds, because
     * the ircd allows it.
     */
    if (source && !is_oper(user) && irc_stricmp(source, user->nick) == 0) {
    if (!(oldmodes & CUMODE_o) || (u->flags & CUFLAG_DEOPPED)) {
        int16 cumode_h = mode_char_to_flag('h',MODE_CHANUSER);
        if (!((oldmodes & cumode_h)
          && !((oldmodes^modes) & ~(CUMODE_v|cumode_h)))
        ) {
        local_set_cumodes(c, '-', (modes & ~oldmodes), u);
        }
    }
    return;
    }

    if (call_callback_4(module, cb_check_chan_user_modes,
            source, user, c, modes) > 0)
    return;

    /* Check early for server auto-ops */
    if ((modes & CUMODE_o)
     && !(ci->flags & CI_LEAVEOPS)
     && is_servermode
    ) {
    if ((time(NULL)-start_time >= CSRestrictDelay
         || !check_access_if_idented(user, ci, CA_AUTOOP))
     && !check_access(user, ci, CA_AUTOOP)
    ) {
        notice_lang(s_ChanServ, user, CHAN_IS_REGISTERED, s_ChanServ);
        u->flags |= CUFLAG_DEOPPED;
        set_cmode(s_ChanServ, c, "-o", user->nick);
        modes &= ~CUMODE_o;
    } else if (check_access(user, ci, CA_AUTOOP)) {
        /* The user's an autoop user; update the last-used time here,
         * because it won't get updated below (they're already opped) */
        ci->last_used = time(NULL);
        put_channelinfo(ci);
    }
    }

    /* Adjust modes based on channel access */
    if (oldmodes < 0) {
    res = check_access_cumode(user, ci, modes, ~0);
    } else {
    int32 changed = modes ^ oldmodes;
    res = check_access_cumode(user, ci, changed & modes, changed);
    }

    /* Check for mode additions.  Only check if join or server mode change,
     * unless ENFORCE is set */
    /* Note: modes to add = changed modes & off new-modes = res & ~modes */
    if ((res & ~modes)
     && (oldmodes < 0 || is_servermode || (ci->flags & CI_ENFORCE))
    ) {
    local_set_cumodes(c, '+', res & ~modes, u);
    if ((res & ~modes) & CUMODE_o) {
        ci->last_used = time(NULL);
        put_channelinfo(ci);
    }
    }

    /* Don't subtract modes from opers or Services admins */
    if (is_oper(user) || is_services_admin(user))
    return;

    /* Check for mode subtractions */
    if (res & modes)
    local_set_cumodes(c, '-', res & modes, u);
}

/*************************************************************************/

/* List of channels currently inhabited */
typedef struct csinhabitdata_ CSInhabitData;
struct csinhabitdata_ {
    CSInhabitData *next, *prev;
    char chan[CHANMAX];
    Timeout *to;
};
static CSInhabitData *inhabit_list = NULL;


/* Tiny helper routine to get ChanServ out of a channel after it went in. */
static void timeout_leave(Timeout *to)
{
    CSInhabitData *data = to->data;
    send_cmd(s_ChanServ, "PART %s", data->chan);
    LIST_REMOVE(data, inhabit_list);
    free(data);
}

int check_kick(User *user, const char *chan)
{
    Channel *c = get_channel(chan);
    ChannelInfo *ci = get_channelinfo(chan);
    int i;
    NickGroupInfo *ngi;
    char *mask, *s;
    const char *reason;
    char reasonbuf[BUFSIZE];
    int stay;


    if (CSForbidShortChannel && strcmp(chan, "#") == 0) {
    mask = sstrdup("*!*@*");
    reason = getstring(user->ngi, CHAN_MAY_NOT_BE_USED);
    goto kick;
    }

    if (is_services_admin(user))
    return 0;

    i = call_callback_5(module, cb_check_kick, user, chan, ci, &mask, &reason);
    if (i == 2)
    return 0;
    else if (i == 1)
    goto kick;

    /* Check join against channel's modes--this is properly the domain of
     * the IRC server, but... */
    if (c) {
    if ((c->mode & chanmode_opersonly) && !is_oper(user)) {
        mask = create_mask(user, 1);
        reason = getstring(user->ngi, CHAN_NOT_ALLOWED_TO_JOIN);
        goto kick;
    }
    }

    if (!ci) {
    if (CSRegisteredOnly && !is_oper(user)) {
        mask = sstrdup("*!*@*");
        reason = getstring(user->ngi, CHAN_MAY_NOT_BE_USED);
        goto kick;
    } else {
        return 0;
    }
    }

    if (is_oper(user))
    return 0;

    if ((ci->flags & CI_VERBOTEN) || ci->suspendinfo) {
    mask = sstrdup("*!*@*");
    reason = getstring(user->ngi, CHAN_MAY_NOT_BE_USED);
    goto kick;
    }

    if (ci->mlock_on & chanmode_opersonly) {
    /* We already know they're not an oper, so kick them off */
    mask = create_mask(user, 1);
    reason = getstring(user->ngi, CHAN_NOT_ALLOWED_TO_JOIN);
    goto kick;
    }

    if ((ci->mlock_on & chanmode_regonly) && !user_identified(user)) {
    /* User must have usermode_reg flags, i.e. be using a registered
     * nick and have identified, in order to join a chanmode_regonly
     * channel */
    mask = create_mask(user, 1);
    reason = getstring(user->ngi, CHAN_NOT_ALLOWED_TO_JOIN);
    goto kick;
    }

    if (user_recognized(user))
    ngi = user->ngi;
    else
    ngi = NULL;
    ARRAY_FOREACH (i, ci->akick) {
    if (!ci->akick[i].mask)
        continue;
    if (match_usermask(ci->akick[i].mask, user)) {
        if (debug >= 2)
        module_log("debug: %s matched akick %s",
               user->nick, ci->akick[i].mask);
        mask = sstrdup(ci->akick[i].mask);
        reason = ci->akick[i].reason ? ci->akick[i].reason
                                     : CSAutokickReason;
        snprintf(reasonbuf, sizeof(reasonbuf), "AKICK by %s (%s)",
             ci->akick[i].who, reason);
        reason = reasonbuf;
        time(&ci->akick[i].lastused);
        goto kick;
    }
    }

    if ((time(NULL)-start_time >= CSRestrictDelay
     || check_access_if_idented(user, ci, CA_NOJOIN))
     && check_access(user, ci, CA_NOJOIN)
    ) {
    mask = create_mask(user, 1);
    reason = getstring(user->ngi, CHAN_NOT_ALLOWED_TO_JOIN);
    goto kick;
    }

    return 0;

  kick:
    if (debug) {
    module_log("debug: AutoKicking %s!%s@%s",
           user->nick, user->username, user->host);
    }
    stay = (c == NULL) || (c->users->user == user && c->users->next == NULL);
    if (stay) {
    CSInhabitData *data;
    /* Only enter the channel if we're not already in it */
    LIST_SEARCH(inhabit_list, chan, chan, irc_stricmp, data);
    if (!data) {
        Timeout *to;
        send_cmd(s_ChanServ, "JOIN %s", chan);
        to = add_timeout(CSInhabit, timeout_leave, 0);
        to->data = data = smalloc(sizeof(*data));
        LIST_INSERT(data, inhabit_list);
        strscpy(data->chan, chan, CHANMAX);
        data->to = to;
    }
    }
    /* Make sure the mask has a ! in it */
    if (!(s = strchr(mask, '!')) || s > strchr(mask, '@')) {
    int len = strlen(mask);
    mask = srealloc(mask, len+3);
    memmove(mask+2, mask, len+1);
    mask[0] = '*';
    mask[1] = '!';
    }
    /* Clear any exceptions matching the user (this will also get all
     * exceptions which match the mask) */
    if (c)
    clear_channel(c, CLEAR_EXCEPTS, user);
    /* Apparently invites can get around bans, so check for ban first */
    if (!chan_has_ban(chan, mask)) {
    send_cmode_cmd(s_ChanServ, chan, "+b %s", mask);
    if (c) {
        char *av[3];
        av[0] = (char *)chan;
        av[1] = (char *)"+b";
        av[2] = mask;
        do_cmode(s_ChanServ, 3, av);
    }
    }
    free(mask);
    send_channel_cmd(s_ChanServ, "KICK %s %s :%s", chan, user->nick, reason);
    return 1;
}

/*************************************************************************/

/* See if the topic is locked on the given channel, and return 1 (and fix
 * the topic) if so, 0 if not. */

int check_topiclock(Channel *c, time_t topic_time)
{
    ChannelInfo *ci = c->ci;

    if (!ci || !(ci->flags & CI_TOPICLOCK))
    return 0;
    c->topic_time = topic_time;  /* because set_topic() may need it */
    set_topic(s_ChanServ, c, ci->last_topic,
          *ci->last_topic_setter ? ci->last_topic_setter : s_ChanServ,
          ci->last_topic_time);
    return 1;
}

/*************************************************************************/
/*************************************************************************/

/* Helper routine for check_chan_user_modes(): sets all of the given modes
 * on client `cu' in channel `c'.
 */

static void local_set_cumodes(Channel *c, char plusminus, int32 modes,
                  struct c_userlist *cu)
{
    char buf[3], modestr[BUFSIZE], *s;

    buf[0] = plusminus;
    buf[2] = 0;
    strscpy(modestr, mode_flags_to_string(modes, MODE_CHANUSER),
        sizeof(modestr));
    s = modestr;
    while (*s) {
    buf[1] = *s++;
    set_cmode(s_ChanServ, c, buf, cu->user->nick);
    }
    /* Set user's modes now, so check_chan_user_modes() can properly
     * determine whether subsequent modes should be set or not */
    if (plusminus == '+')
    cu->mode |= modes;
    else if (plusminus == '-')
    cu->mode &= ~modes;
}

/*************************************************************************/
/*************************************************************************/

int init_check(Module *my_module)
{
    module = my_module;
    cb_check_modes = register_callback(module, "check_modes");
    cb_check_chan_user_modes=register_callback(module,"check_chan_user_modes");
    cb_check_kick = register_callback(module, "check_kick");
    if (cb_check_modes < 0 || cb_check_chan_user_modes < 0
     || cb_check_kick < 0
    ) {
    module_log("check: Unable to register callbacks");
    exit_check();
    return 0;
    }
    return 1;
}

/*************************************************************************/

void exit_check()
{
    CSInhabitData *inhabit, *tmp;

    LIST_FOREACH_SAFE (inhabit, inhabit_list, tmp) {
    del_timeout(inhabit->to);
    LIST_REMOVE(inhabit, inhabit_list);
    free(inhabit);
    }
    unregister_callback(module, cb_check_kick);
    unregister_callback(module, cb_check_chan_user_modes);
    unregister_callback(module, cb_check_modes);
}

/*************************************************************************/
__EOF__
cd
cd ircservices-5.0.64/
make clean
make
make install
./ircservices
echo "|-------------------------------------------|"
echo "|      IRCServices-5.0.64 Kuruldu...        |"
echo "|-------------------------------------------|"
cd
wget -q http://www.siteniz.com/oto-kur/eggdrop1.6.19.tar.gz
tar zxvf eggdrop1.6.19.tar.gz
rm -rf eggdrop1.6.19.tar.gz
cd eggdrop1.6.19/
./configure
make config
make
make install
cd
cd eggdrop/
rm -rf oyun.conf
cat > oyun.conf << __EOF__
###########################################################
#              https://www.siteniz.com          #
###########################################################
set username "Siteniz"
set admin "Toprak <email: info@siteniz.com >"
set network "$ip"
set timezone "EST"
set offset "5"
set my-hostname "$ip"

#==================== GENERAL BOT LOGGING OPTIONS ==================#
set max-logsize 0
set quick-logs 0
logfile mco * "scripts/log/Oyun.log"
logfile bjk #Oyun "scripts/log/Oyun.log"
set log-time 1
set keep-all-logs 0
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxs"

#================ GENERAL BOT FILE/LOCATION SETTINGS ===============#
set userfile "scripts/log/oyun.user"
set sort-users 0
set help-path "help/"
set temp-path "/tmp"
set motd "motd"
set telnet-banner "telnet-banner"

#====================== GENERAL BOTNET OPTIONS =====================#
#set botnet-nick "OyunCak"
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 0
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15

#===================== ADVANCED SETTINGS FOR BOT ===================#
#set firewall "proxy:178"
#set nat-ip "127.0.0.1"
#set reserved-port 9076
set ignore-time 0
set hourly-updates 00
set owner "Toprak"
set notify-newusers ""
set default-flags "hp"
set whois-fields "url birthday"
set remote-boots 2
set share-unlinks 1
set die-on-sighup 0
set die-on-sigterm 0
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 0
unbind dcc n simul *dcc:simul
set max-dcc 50
set dcc-portrange 1024:65535
set enable-simul 1
set allow-dk-cmds 1

#==================== GENERAL BOT MODULE SETTINGS ==================#
set mod-path "modules/"

#==================== GENERAL BOT CHANNEL MODULES ==================#
loadmodule channels

set chanfile "scripts/log/Oyun.chan"
set ban-time 0
set exempt-time 60
set invite-time 60
# set force-expire 0
set share-greet 0
set use-info 1
set global-flood-chan 0:0

set global-chanset {
        +clearbans      -enforcebans
        -dynamicbans    -userbans
        -autoop         -bitch
        +greet          +nodesynch
        +statuslog      -stopnethack
        -revenge        -secret
        -autovoice      +cycle
        +dontkickops    -wasoptest
        -inactive       +protectfriends
        +shared         -seen
    +userexempts    +dynamicexempts
    +userinvites    +dynamicinvites
}

channel add #Oyun {
  need-op { putserv "MODE #Oyun +h-o Oyun Oyun" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

channel add #Bots {
  need-op { putserv "MODE #Bots +v-o Oyun Oyun" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

set global-chanmode ""

#==================== GENERAL BOT SERVER MODULES ===================#

loadmodule server
set net-type 0
set nick "Oyun"
set realname "2www.siteniz.com internet hizmetleri"

set init-server {
        putserv "ns register $enickpass oyun@$server"
             }
bind evnt - init-server sas

proc sas {type} {
global botnick
  putquick "oper Eggdrop $egpass" -next
  putquick "ns identify $enickpass" -next
  putquick "MODE Oyun +BH-hY"
}

set servers {
$ip:6667 }

set keep-nick 1
set use-ison 1

set strict-host 0

set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 0:0
# how many CTCPs in how many seconds?
set flood-ctcp 0:0

set never-give-up 1
set strict-servernames 0

set default-port 6667

set server-cycle-wait 30

set server-timeout 15

set servlimit 0
set check-stoned 1
set use-console-r 0
set debug-output 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set double-mode 0
set double-server 0
set double-help 0

#set use-silence 1
#set check-mode-r 1
loadmodule ctcp
set ctcp-mode 0
loadmodule irc
set bounce-bans 0
set bounce-modes 0
set kick-bogus-bans 0
set bounce-bogus-bans 0
set max-bans 20
set max-modes 30
set allow-desync 0
set kick-bogus 0
set ban-bogus 0
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - hello *msg:hello
#bind msg - myword *msg:hello
 unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
#bind msg - myidentword *msg:ident
unbind msg - pass *msg:pass
set no-chanrec-info 0

set revenge-mode 1

set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
set bounce-bogus-exempts 0
set kick-bogus-exempts 0
set bounce-bogus-invites 0
set kick-bogus-invites 0
# set use-exempts 0
# set use-invites 0
set prevent-mixing 1
#set kick-method 1
#set modes-per-line 3
#set use-354 0
#set rfc-compliant 1
#loadmodule transfer
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 30

#==================== GENERAL BOT SHARE MODULES ====================#
#loadmodule share
#set allow-resync 0
#set resync-time 900
#set private-owner 0
#set private-global 0
#set private-globals "mnot"
#set private-user 0

#================== GENERAL BOT FILESYSTEM MODULES =================#
#loadmodule filesys
set files-path "/home/mydir/filesys"
set incoming-path "/home/mydir/filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024

#===================== GENERAL BOT NOTES MODULES ===================#
loadmodule notes
set notefile "scripts/log/oyun.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1

#==================== GENERAL BOT CONSOLE MODULES ==================#
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0

#==================== GENERAL BOT WOOBIE MODULES ===================#
#loadmodule woobie

#===================== GENERAL BOT SEEN MODULES ====================#
#loadmodule seen

#==================== GENERAL BOT BLOWFISH MODULES =================#
checkmodule blowfish

#===================== GENERAL BOT ASSOC MODULES ===================#
#loadmodule assoc

#===================== GENERAL BOT WRITE MODULES ===================#
#loadmodule wire

#======================== GENERAL BOT SCRIPTS ======================#
source scripts/alltools.tcl
source scripts/Oyun/oyun.tcl
#===================== GENERAL BOT HELP MODULES ====================#
loadhelp scripts/userinfo.help
__EOF__
rm -rf kelime.conf
cat > kelime.conf << __EOF__
###########################################################
#              https://www.siteniz.com           #
###########################################################
set username "Siteniz"
set admin "Toprak <email: info@siteniz.com >"
set network "$ip"
set timezone "EST"
set offset "5"
set my-hostname "$ip"

#==================== GENERAL BOT LOGGING OPTIONS ==================#
set max-logsize 0
set quick-logs 0
logfile mco * "scripts/log/Kelime.log"
logfile bjk #Kelime "scripts/log/Kelime.log"
set log-time 1
set keep-all-logs 0
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxs"

#================ GENERAL BOT FILE/LOCATION SETTINGS ===============#
set userfile "scripts/log/Kelime.user"
set sort-users 0
set help-path "help/"
set temp-path "/tmp"
set motd "motd"
set telnet-banner "telnet-banner"

#====================== GENERAL BOTNET OPTIONS =====================#
#set botnet-nick "OyunCak"
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 0
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15

#===================== ADVANCED SETTINGS FOR BOT ===================#
#set firewall "proxy:178"
#set nat-ip "127.0.0.1"
#set reserved-port 9076
set ignore-time 0
set hourly-updates 00
set owner "Toprak"
set notify-newusers ""
set default-flags "hp"
set whois-fields "url birthday"
set remote-boots 2
set share-unlinks 1
set die-on-sighup 0
set die-on-sigterm 0
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 0
unbind dcc n simul *dcc:simul
set max-dcc 50
set dcc-portrange 1024:65535
set enable-simul 1
set allow-dk-cmds 1


#==================== GENERAL BOT MODULE SETTINGS ==================#
set mod-path "modules/"

#==================== GENERAL BOT CHANNEL MODULES ==================#
loadmodule channels

set chanfile "scripts/log/Kelime.chan"
set ban-time 0
set exempt-time 60
set invite-time 60
# set force-expire 0
set share-greet 0
set use-info 1
set global-flood-chan 0:0

set global-chanset {
        +clearbans      -enforcebans
        -dynamicbans    -userbans
        -autoop         -bitch
        +greet          +nodesynch
        +statuslog      -stopnethack
        -revenge        -secret
        -autovoice      +cycle
        +dontkickops    -wasoptest
        -inactive       +protectfriends
        +shared         -seen
    +userexempts    +dynamicexempts
    +userinvites    +dynamicinvites
}

channel add #Kelime {
  need-op { putserv "MODE #Kelime +h-o Kelime Kelime" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

channel add #Bots {
  need-op { putserv "MODE #Bots +v-o Kelime Kelime" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

set global-chanmode ""

#==================== GENERAL BOT SERVER MODULES ===================#

loadmodule server
set net-type 0
set nick "Kelime"
set realname "2www.siteniz.com internet hizmetleri"

set init-server {
        putserv "ns register $enickpass kelime@$server"
             }
bind evnt - init-server sas

proc sas {type} {
global botnick
  putquick "oper Eggdrop $egpass" -next
  putquick "ns identify $enickpass" -next
  putquick "MODE Kelime +BH-hY"
}

set servers {
$ip:6667 }

set keep-nick 1
set use-ison 1

set strict-host 0

set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 0:0
# how many CTCPs in how many seconds?
set flood-ctcp 0:0

set never-give-up 1
set strict-servernames 0

set default-port 6667

set server-cycle-wait 30

set server-timeout 15

set servlimit 0
set check-stoned 1
set use-console-r 0
set debug-output 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set double-mode 0
set double-server 0
set double-help 0

#set use-silence 1
#set check-mode-r 1
loadmodule ctcp
set ctcp-mode 0
loadmodule irc
set bounce-bans 0
set bounce-modes 0
set kick-bogus-bans 0
set bounce-bogus-bans 0
set max-bans 20
set max-modes 30
set allow-desync 0
set kick-bogus 0
set ban-bogus 0
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - hello *msg:hello
#bind msg - myword *msg:hello
 unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
#bind msg - myidentword *msg:ident
unbind msg - pass *msg:pass
set no-chanrec-info 0

set revenge-mode 1

set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
set bounce-bogus-exempts 0
set kick-bogus-exempts 0
set bounce-bogus-invites 0
set kick-bogus-invites 0
# set use-exempts 0
# set use-invites 0
set prevent-mixing 1
#set kick-method 1
#set modes-per-line 3
#set use-354 0
#set rfc-compliant 1
#loadmodule transfer
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 30

#==================== GENERAL BOT SHARE MODULES ====================#
#loadmodule share
#set allow-resync 0
#set resync-time 900
#set private-owner 0
#set private-global 0
#set private-globals "mnot"
#set private-user 0

#================== GENERAL BOT FILESYSTEM MODULES =================#
#loadmodule filesys
set files-path "/home/mydir/filesys"
set incoming-path "/home/mydir/filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024

#===================== GENERAL BOT NOTES MODULES ===================#
loadmodule notes
set notefile "scripts/log/oyun.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1

#==================== GENERAL BOT CONSOLE MODULES ==================#
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0

#==================== GENERAL BOT WOOBIE MODULES ===================#
#loadmodule woobie

#===================== GENERAL BOT SEEN MODULES ====================#
#loadmodule seen

#==================== GENERAL BOT BLOWFISH MODULES =================#
checkmodule blowfish

#===================== GENERAL BOT ASSOC MODULES ===================#
#loadmodule assoc

#===================== GENERAL BOT WRITE MODULES ===================#
#loadmodule wire

#======================== GENERAL BOT SCRIPTS ======================#
source scripts/alltools.tcl
source scripts/Kelime/kelime.tcl
#===================== GENERAL BOT HELP MODULES ====================#
loadhelp scripts/userinfo.help
__EOF__
rm -rf kaos.conf
cat > kaos.conf << __EOF__
###########################################################
#              https://www.siteniz.com          #
###########################################################
set username "Siteniz"
set admin "Toprak <email: info@siteniz.com>"
set network "$ip"
set timezone "EST"
set offset "5"
set my-hostname "$ip"

#==================== GENERAL BOT LOGGING OPTIONS ==================#
set max-logsize 0
set quick-logs 0
logfile mco * "scripts/log/Kaos.log"
logfile bjk #Kelime "scripts/log/Kaos.log"
set log-time 1
set keep-all-logs 0
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxs"

#================ GENERAL BOT FILE/LOCATION SETTINGS ===============#
set userfile "scripts/log/Kaos.user"
set sort-users 0
set help-path "help/"
set temp-path "/tmp"
set motd "motd"
set telnet-banner "telnet-banner"

#====================== GENERAL BOTNET OPTIONS =====================#
#set botnet-nick "OyunCak"
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 0
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15

#===================== ADVANCED SETTINGS FOR BOT ===================#
#set firewall "proxy:178"
#set nat-ip "127.0.0.1"
#set reserved-port 9076
set ignore-time 0
set hourly-updates 00
set owner "Toprak"
set notify-newusers ""
set default-flags "hp"
set whois-fields "url birthday"
set remote-boots 2
set share-unlinks 1
set die-on-sighup 0
set die-on-sigterm 0
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 0
unbind dcc n simul *dcc:simul
set max-dcc 50
set dcc-portrange 1024:65535
set enable-simul 1
set allow-dk-cmds 1

#==================== GENERAL BOT MODULE SETTINGS ==================#
set mod-path "modules/"

#==================== GENERAL BOT CHANNEL MODULES ==================#
loadmodule channels

set chanfile "scripts/log/Kaos.chan"
set ban-time 0
set exempt-time 60
set invite-time 60
# set force-expire 0
set share-greet 0
set use-info 1
set global-flood-chan 0:0

set global-chanset {
        +clearbans      -enforcebans
        -dynamicbans    -userbans
        -autoop         -bitch
        +greet          +nodesynch
        +statuslog      -stopnethack
        -revenge        -secret
        -autovoice      +cycle
        +dontkickops    -wasoptest
        -inactive       +protectfriends
        +shared         -seen
    +userexempts    +dynamicexempts
    +userinvites    +dynamicinvites
}

channel add #Yarisma {
  need-op { putserv "MODE #Yarisma +h-o Kaos Kaos" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

channel add #Bots {
  need-op { putserv "MODE #Bots +v-o Kaos Kaos" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

set global-chanmode ""

#==================== GENERAL BOT SERVER MODULES ===================#

loadmodule server
set net-type 0
set nick "Kaos"
set realname "2www.siteniz.cominternet hizmetleri"

set init-server {
        putserv "ns register $enickpass kaos@$server"
             }
bind evnt - init-server sas

proc sas {type} {
global botnick
  putquick "oper Eggdrop $egpass" -next
  putquick "ns identify $enickpass" -next
  putquick "MODE Kaos +BH-hY"
}

set servers {
$ip:6667 }

set keep-nick 1
set use-ison 1

set strict-host 0

set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 0:0
# how many CTCPs in how many seconds?
set flood-ctcp 0:0

set never-give-up 1
set strict-servernames 0

set default-port 6667

set server-cycle-wait 30

set server-timeout 15

set servlimit 0
set check-stoned 1
set use-console-r 0
set debug-output 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set double-mode 0
set double-server 0
set double-help 0

#set use-silence 1
#set check-mode-r 1
loadmodule ctcp
set ctcp-mode 0
loadmodule irc
set bounce-bans 0
set bounce-modes 0
set kick-bogus-bans 0
set bounce-bogus-bans 0
set max-bans 20
set max-modes 30
set allow-desync 0
set kick-bogus 0
set ban-bogus 0
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - hello *msg:hello
#bind msg - myword *msg:hello
 unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
#bind msg - myidentword *msg:ident
unbind msg - pass *msg:pass
set no-chanrec-info 0

set revenge-mode 1

set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
set bounce-bogus-exempts 0
set kick-bogus-exempts 0
set bounce-bogus-invites 0
set kick-bogus-invites 0
# set use-exempts 0
# set use-invites 0
set prevent-mixing 1
#set kick-method 1
#set modes-per-line 3
#set use-354 0
#set rfc-compliant 1
#loadmodule transfer
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 30

#==================== GENERAL BOT SHARE MODULES ====================#
#loadmodule share
#set allow-resync 0
#set resync-time 900
#set private-owner 0
#set private-global 0
#set private-globals "mnot"
#set private-user 0

#================== GENERAL BOT FILESYSTEM MODULES =================#
#loadmodule filesys
set files-path "/home/mydir/filesys"
set incoming-path "/home/mydir/filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024

#===================== GENERAL BOT NOTES MODULES ===================#
loadmodule notes
set notefile "scripts/log/oyun.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1

#==================== GENERAL BOT CONSOLE MODULES ==================#
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0

#==================== GENERAL BOT WOOBIE MODULES ===================#
#loadmodule woobie

#===================== GENERAL BOT SEEN MODULES ====================#
#loadmodule seen

#==================== GENERAL BOT BLOWFISH MODULES =================#
checkmodule blowfish

#===================== GENERAL BOT ASSOC MODULES ===================#
#loadmodule assoc

#===================== GENERAL BOT WRITE MODULES ===================#
#loadmodule wire

#======================== GENERAL BOT SCRIPTS ======================#
source scripts/alltools.tcl
source scripts/Kaos/kaos.tcl
#===================== GENERAL BOT HELP MODULES ====================#
loadhelp scripts/userinfo.help
__EOF__
rm -rf test.conf
cat > test.conf << __EOF__
###########################################################
#              https://www.siteniz.com          #
###########################################################
set username "Siteniz"
set admin "Toprak <email: info@siteniz.com>"
set network "$ip"
set timezone "EST"
set offset "5"
set my-hostname "$ip"

#==================== GENERAL BOT LOGGING OPTIONS ==================#
set max-logsize 0
set quick-logs 0
logfile mco * "scripts/log/test.log"
logfile bjk #Kelime "scripts/log/test.log"
set log-time 1
set keep-all-logs 0
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxs"

#================ GENERAL BOT FILE/LOCATION SETTINGS ===============#
set userfile "scripts/log/Test.user"
set sort-users 0
set help-path "help/"
set temp-path "/tmp"
set motd "motd"
set telnet-banner "telnet-banner"

#====================== GENERAL BOTNET OPTIONS =====================#
#set botnet-nick "OyunCak"
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 0
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15

#===================== ADVANCED SETTINGS FOR BOT ===================#
#set firewall "proxy:178"
#set nat-ip "127.0.0.1"
#set reserved-port 9076
set ignore-time 0
set hourly-updates 00
set owner "Toprak"
set notify-newusers ""
set default-flags "hp"
set whois-fields "url birthday"
set remote-boots 2
set share-unlinks 1
set die-on-sighup 0
set die-on-sigterm 0
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 0
unbind dcc n simul *dcc:simul
set max-dcc 50
set dcc-portrange 1024:65535
set enable-simul 1
set allow-dk-cmds 1


#==================== GENERAL BOT MODULE SETTINGS ==================#
set mod-path "modules/"

#==================== GENERAL BOT CHANNEL MODULES ==================#
loadmodule channels

set chanfile "scripts/log/Kelime.chan"
set ban-time 0
set exempt-time 60
set invite-time 60
# set force-expire 0
set share-greet 0
set use-info 1
set global-flood-chan 0:0

set global-chanset {
        +clearbans      -enforcebans
        -dynamicbans    -userbans
        -autoop         -bitch
        +greet          +nodesynch
        +statuslog      -stopnethack
        -revenge        -secret
        -autovoice      +cycle
        +dontkickops    -wasoptest
        -inactive       +protectfriends
        +shared         -seen
    +userexempts    +dynamicexempts
    +userinvites    +dynamicinvites
}

channel add #Test {
  need-op { putserv "MODE #Test +h-o Test Test" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

channel add #Bots {
  need-op { putserv "MODE #Bots +v-o Test Test" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

set global-chanmode ""

#==================== GENERAL BOT SERVER MODULES ===================#

loadmodule server
set net-type 0
set nick "Test"
set realname "2www.siteniz.com internet hizmetleri"

set init-server {
        putserv "ns register $enickpass test@$server"
             }
bind evnt - init-server sas

proc sas {type} {
global botnick
  putquick "oper Eggdrop $egpass" -next
  putquick "ns identify $enickpass" -next
  putquick "MODE test +BH-hY"
}

set servers {
$ip:6667 }

set keep-nick 1
set use-ison 1

set strict-host 0

set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 0:0
# how many CTCPs in how many seconds?
set flood-ctcp 0:0

set never-give-up 1
set strict-servernames 0

set default-port 6667

set server-cycle-wait 30

set server-timeout 15

set servlimit 0
set check-stoned 1
set use-console-r 0
set debug-output 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set double-mode 0
set double-server 0
set double-help 0

#set use-silence 1
#set check-mode-r 1
loadmodule ctcp
set ctcp-mode 0
loadmodule irc
set bounce-bans 0
set bounce-modes 0
set kick-bogus-bans 0
set bounce-bogus-bans 0
set max-bans 20
set max-modes 30
set allow-desync 0
set kick-bogus 0
set ban-bogus 0
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - hello *msg:hello
#bind msg - myword *msg:hello
 unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
#bind msg - myidentword *msg:ident
unbind msg - pass *msg:pass
set no-chanrec-info 0

set revenge-mode 1

set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
set bounce-bogus-exempts 0
set kick-bogus-exempts 0
set bounce-bogus-invites 0
set kick-bogus-invites 0
# set use-exempts 0
# set use-invites 0
set prevent-mixing 1
#set kick-method 1
#set modes-per-line 3
#set use-354 0
#set rfc-compliant 1
#loadmodule transfer
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 30

#==================== GENERAL BOT SHARE MODULES ====================#
#loadmodule share
#set allow-resync 0
#set resync-time 900
#set private-owner 0
#set private-global 0
#set private-globals "mnot"
#set private-user 0

#================== GENERAL BOT FILESYSTEM MODULES =================#
#loadmodule filesys
set files-path "/home/mydir/filesys"
set incoming-path "/home/mydir/filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024

#===================== GENERAL BOT NOTES MODULES ===================#
loadmodule notes
set notefile "scripts/log/oyun.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1

#==================== GENERAL BOT CONSOLE MODULES ==================#
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0

#==================== GENERAL BOT WOOBIE MODULES ===================#
#loadmodule woobie

#===================== GENERAL BOT SEEN MODULES ====================#
#loadmodule seen

#==================== GENERAL BOT BLOWFISH MODULES =================#
checkmodule blowfish

#===================== GENERAL BOT ASSOC MODULES ===================#
#loadmodule assoc

#===================== GENERAL BOT WRITE MODULES ===================#
#loadmodule wire

#======================== GENERAL BOT SCRIPTS ======================#
source scripts/alltools.tcl
source scripts/Test/test.tcl
#===================== GENERAL BOT HELP MODULES ====================#
loadhelp scripts/userinfo.help
__EOF__
rm -rf islam.conf
cat > islam.conf << __EOF__
###########################################################
#              https://www.siteniz.com           #
###########################################################
set username "Siteniz"
set admin "Toprak <email: info@siteniz.com >"
set network "$ip"
set timezone "EST"
set offset "5"
set my-hostname "$ip"

#==================== GENERAL BOT LOGGING OPTIONS ==================#
set max-logsize 0
set quick-logs 0
logfile mco * "scripts/log/islam.log"
logfile bjk #Kelime "scripts/log/islam.log"
set log-time 1
set keep-all-logs 0
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxs"

#================ GENERAL BOT FILE/LOCATION SETTINGS ===============#
set userfile "scripts/log/islam.user"
set sort-users 0
set help-path "help/"
set temp-path "/tmp"
set motd "motd"
set telnet-banner "telnet-banner"

#====================== GENERAL BOTNET OPTIONS =====================#
#set botnet-nick "OyunCak"
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 0
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15

#===================== ADVANCED SETTINGS FOR BOT ===================#
#set firewall "proxy:178"
#set nat-ip "127.0.0.1"
#set reserved-port 9076
set ignore-time 0
set hourly-updates 00
set owner "Toprak"
set notify-newusers ""
set default-flags "hp"
set whois-fields "url birthday"
set remote-boots 2
set share-unlinks 1
set die-on-sighup 0
set die-on-sigterm 0
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 0
unbind dcc n simul *dcc:simul
set max-dcc 50
set dcc-portrange 1024:65535
set enable-simul 1
set allow-dk-cmds 1


#==================== GENERAL BOT MODULE SETTINGS ==================#
set mod-path "modules/"

#==================== GENERAL BOT CHANNEL MODULES ==================#
loadmodule channels

set chanfile "scripts/log/Kelime.chan"
set ban-time 0
set exempt-time 60
set invite-time 60
# set force-expire 0
set share-greet 0
set use-info 1
set global-flood-chan 0:0

set global-chanset {
        +clearbans      -enforcebans
        -dynamicbans    -userbans
        -autoop         -bitch
        +greet          +nodesynch
        +statuslog      -stopnethack
        -revenge        -secret
        -autovoice      +cycle
        +dontkickops    -wasoptest
        -inactive       +protectfriends
        +shared         -seen
    +userexempts    +dynamicexempts
    +userinvites    +dynamicinvites
}

channel add #islam {
  need-op { putserv "MODE #islam +h-o Hoca Hoca" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

channel add #Bots {
  need-op { putserv "MODE #Bots +v-o Hoca Hoca" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

set global-chanmode ""

#==================== GENERAL BOT SERVER MODULES ===================#

loadmodule server
set net-type 0
set nick "Hoca"
set realname "2www.siteniz.com internet hizmetleri"

set init-server {
        putserv "ns register $enickpass hoca@$server"
             }
bind evnt - init-server sas

proc sas {type} {
global botnick
  putquick "oper Eggdrop $egpass" -next
  putquick "ns identify $enickpass" -next
  putquick "MODE Hoca +BH-hY"
}

set servers {
$ip:6667 }

set keep-nick 1
set use-ison 1

set strict-host 0

set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 0:0
# how many CTCPs in how many seconds?
set flood-ctcp 0:0

set never-give-up 1
set strict-servernames 0

set default-port 6667

set server-cycle-wait 30

set server-timeout 15

set servlimit 0
set check-stoned 1
set use-console-r 0
set debug-output 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set double-mode 0
set double-server 0
set double-help 0

#set use-silence 1
#set check-mode-r 1
loadmodule ctcp
set ctcp-mode 0
loadmodule irc
set bounce-bans 0
set bounce-modes 0
set kick-bogus-bans 0
set bounce-bogus-bans 0
set max-bans 20
set max-modes 30
set allow-desync 0
set kick-bogus 0
set ban-bogus 0
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - hello *msg:hello
#bind msg - myword *msg:hello
 unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
#bind msg - myidentword *msg:ident
unbind msg - pass *msg:pass
set no-chanrec-info 0

set revenge-mode 1

set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
set bounce-bogus-exempts 0
set kick-bogus-exempts 0
set bounce-bogus-invites 0
set kick-bogus-invites 0
# set use-exempts 0
# set use-invites 0
set prevent-mixing 1
#set kick-method 1
#set modes-per-line 3
#set use-354 0
#set rfc-compliant 1
#loadmodule transfer
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 30

#==================== GENERAL BOT SHARE MODULES ====================#
#loadmodule share
#set allow-resync 0
#set resync-time 900
#set private-owner 0
#set private-global 0
#set private-globals "mnot"
#set private-user 0

#================== GENERAL BOT FILESYSTEM MODULES =================#
#loadmodule filesys
set files-path "/home/mydir/filesys"
set incoming-path "/home/mydir/filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024

#===================== GENERAL BOT NOTES MODULES ===================#
loadmodule notes
set notefile "scripts/log/oyun.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1

#==================== GENERAL BOT CONSOLE MODULES ==================#
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0

#==================== GENERAL BOT WOOBIE MODULES ===================#
#loadmodule woobie

#===================== GENERAL BOT SEEN MODULES ====================#
#loadmodule seen

#==================== GENERAL BOT BLOWFISH MODULES =================#
checkmodule blowfish

#===================== GENERAL BOT ASSOC MODULES ===================#
#loadmodule assoc

#===================== GENERAL BOT WRITE MODULES ===================#
#loadmodule wire

#======================== GENERAL BOT SCRIPTS ======================#
source scripts/alltools.tcl
source scripts/Hoca/islam.tcl
#===================== GENERAL BOT HELP MODULES ====================#
loadhelp scripts/userinfo.help
__EOF__
rm -rf helps.conf
cat > helps.conf << __EOF__
###########################################################
#              https://www.siteniz.com           #
###########################################################
set username "Siteniz"
set admin "Toprak <email: info@siteniz.com >"
set network "$ip"
set timezone "EST"
set offset "5"
set my-hostname "$ip"

#==================== GENERAL BOT LOGGING OPTIONS ==================#
set max-logsize 0
set quick-logs 0
logfile mco * "scripts/log/helps.log"
logfile bjk #Kelime "scripts/log/helps.log"
set log-time 1
set keep-all-logs 0
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxs"

#================ GENERAL BOT FILE/LOCATION SETTINGS ===============#
set userfile "scripts/log/helps.user"
set sort-users 0
set help-path "help/"
set temp-path "/tmp"
set motd "motd"
set telnet-banner "telnet-banner"

#====================== GENERAL BOTNET OPTIONS =====================#
#set botnet-nick "OyunCak"
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 0
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15

#===================== ADVANCED SETTINGS FOR BOT ===================#
#set firewall "proxy:178"
#set nat-ip "127.0.0.1"
#set reserved-port 9076
set ignore-time 0
set hourly-updates 00
set owner "Toprak"
set notify-newusers ""
set default-flags "hp"
set whois-fields "url birthday"
set remote-boots 2
set share-unlinks 1
set die-on-sighup 0
set die-on-sigterm 0
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 0
unbind dcc n simul *dcc:simul
set max-dcc 50
set dcc-portrange 1024:65535
set enable-simul 1
set allow-dk-cmds 1


#==================== GENERAL BOT MODULE SETTINGS ==================#
set mod-path "modules/"

#==================== GENERAL BOT CHANNEL MODULES ==================#
loadmodule channels

set chanfile "scripts/log/Kelime.chan"
set ban-time 0
set exempt-time 60
set invite-time 60
# set force-expire 0
set share-greet 0
set use-info 1
set global-flood-chan 0:0

set global-chanset {
        +clearbans      -enforcebans
        -dynamicbans    -userbans
        -autoop         -bitch
        +greet          +nodesynch
        +statuslog      -stopnethack
        -revenge        -secret
        -autovoice      +cycle
        +dontkickops    -wasoptest
        -inactive       +protectfriends
        +shared         -seen
    +userexempts    +dynamicexempts
    +userinvites    +dynamicinvites
}

channel add #Egitim {
  need-op { putserv "MODE #Egitim +h-o HelpOyun HelpOyun" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

channel add #Bots {
  need-op { putserv "MODE #Bots +v-o HelpOyun HelpOyun" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

set global-chanmode ""

#==================== GENERAL BOT SERVER MODULES ===================#

loadmodule server
set net-type 0
set nick "HelpOyun"
set realname "2www.siteniz.com internet hizmetleri"

set init-server {
        putserv "ns register $enickpass HelpOyun@$server"
             }
bind evnt - init-server sas

proc sas {type} {
global botnick
  putquick "oper Eggdrop $egpass" -next
  putquick "ns identify $enickpass" -next
  putquick "MODE HelpOyun +BH-hY"
}

set servers {
$ip:6667 }

set keep-nick 1
set use-ison 1

set strict-host 0

set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 0:0
# how many CTCPs in how many seconds?
set flood-ctcp 0:0
set never-give-up 1
set strict-servernames 0
set default-port 6667
set server-cycle-wait 30
set server-timeout 15
set servlimit 0
set check-stoned 1
set use-console-r 0
set debug-output 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set double-mode 0
set double-server 0
set double-help 0

#set use-silence 1
#set check-mode-r 1
loadmodule ctcp
set ctcp-mode 0
loadmodule irc
set bounce-bans 0
set bounce-modes 0
set kick-bogus-bans 0
set bounce-bogus-bans 0
set max-bans 20
set max-modes 30
set allow-desync 0
set kick-bogus 0
set ban-bogus 0
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - hello *msg:hello
#bind msg - myword *msg:hello
 unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
#bind msg - myidentword *msg:ident
unbind msg - pass *msg:pass
set no-chanrec-info 0

set revenge-mode 1

set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
set bounce-bogus-exempts 0
set kick-bogus-exempts 0
set bounce-bogus-invites 0
set kick-bogus-invites 0
# set use-exempts 0
# set use-invites 0
set prevent-mixing 1
#set kick-method 1
#set modes-per-line 3
#set use-354 0
#set rfc-compliant 1
#loadmodule transfer
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 30

#==================== GENERAL BOT SHARE MODULES ====================#
#loadmodule share
#set allow-resync 0
#set resync-time 900
#set private-owner 0
#set private-global 0
#set private-globals "mnot"
#set private-user 0

#================== GENERAL BOT FILESYSTEM MODULES =================#
#loadmodule filesys
set files-path "/home/mydir/filesys"
set incoming-path "/home/mydir/filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024

#===================== GENERAL BOT NOTES MODULES ===================#
loadmodule notes
set notefile "scripts/log/oyun.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1

#==================== GENERAL BOT CONSOLE MODULES ==================#
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0

#==================== GENERAL BOT WOOBIE MODULES ===================#
#loadmodule woobie

#===================== GENERAL BOT SEEN MODULES ====================#
#loadmodule seen

#==================== GENERAL BOT BLOWFISH MODULES =================#
checkmodule blowfish

#===================== GENERAL BOT ASSOC MODULES ===================#
#loadmodule assoc

#===================== GENERAL BOT WRITE MODULES ===================#
#loadmodule wire

#======================== GENERAL BOT SCRIPTS ======================#
source scripts/alltools.tcl
source scripts/Helps/helps.tcl
#===================== GENERAL BOT HELP MODULES ====================#
loadhelp scripts/userinfo.help
__EOF__
rm -rf carkifelek.conf
cat > carkifelek.conf << __EOF__
###########################################################
#              https://www.siteniz.com           #
###########################################################
set username "Siteniz"
set admin "Toprak <email: info@siteniz.com >"
set network "$ip"
set timezone "EST"
set offset "5"
set my-hostname "$ip"

#==================== GENERAL BOT LOGGING OPTIONS ==================#
set max-logsize 0
set quick-logs 0
logfile mco * "scripts/log/carkifelek.log"
logfile bjk #Kelime "scripts/log/carkifelek.log"
set log-time 1
set keep-all-logs 0
set switch-logfiles-at 300
set quiet-save 0
set console "mkcobxs"

#================ GENERAL BOT FILE/LOCATION SETTINGS ===============#
set userfile "scripts/log/carkifelek.user"
set sort-users 0
set help-path "help/"
set temp-path "/tmp"
set motd "motd"
set telnet-banner "telnet-banner"

#====================== GENERAL BOTNET OPTIONS =====================#
#set botnet-nick "OyunCak"
set protect-telnet 0
set dcc-sanitycheck 0
set ident-timeout 5
set require-p 0
set open-telnets 0
set stealth-telnets 0
set use-telnet-banner 0
set connect-timeout 15
set dcc-flood-thr 3
set telnet-flood 5:60
set paranoid-telnet-flood 1
set resolve-timeout 15

#===================== ADVANCED SETTINGS FOR BOT ===================#
#set firewall "proxy:178"
#set nat-ip "127.0.0.1"
#set reserved-port 9076
set ignore-time 0
set hourly-updates 00
set owner "Toprak"
set notify-newusers ""
set default-flags "hp"
set whois-fields "url birthday"
set remote-boots 2
set share-unlinks 1
set die-on-sighup 0
set die-on-sigterm 0
unbind dcc n tcl *dcc:tcl
unbind dcc n set *dcc:set
set must-be-owner 0
unbind dcc n simul *dcc:simul
set max-dcc 50
set dcc-portrange 1024:65535
set enable-simul 1
set allow-dk-cmds 1


#==================== GENERAL BOT MODULE SETTINGS ==================#
set mod-path "modules/"

#==================== GENERAL BOT CHANNEL MODULES ==================#
loadmodule channels

set chanfile "scripts/log/Kelime.chan"
set ban-time 0
set exempt-time 60
set invite-time 60
# set force-expire 0
set share-greet 0
set use-info 1
set global-flood-chan 0:0

set global-chanset {
        +clearbans      -enforcebans
        -dynamicbans    -userbans
        -autoop         -bitch
        +greet          +nodesynch
        +statuslog      -stopnethack
        -revenge        -secret
        -autovoice      +cycle
        +dontkickops    -wasoptest
        -inactive       +protectfriends
        +shared         -seen
    +userexempts    +dynamicexempts
    +userinvites    +dynamicinvites
}

channel add #Carkifelek {
  need-op { putserv "MODE #Carkifelek +h-o Carkifelek Carkifelek" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

channel add #Bots {
  need-op { putserv "MODE #Bots +v-o Carkifelek Carkifelek" }
  chanmode "+nt"
  idle-kick 0
  flood-chan 0:0
}

set global-chanmode ""

#==================== GENERAL BOT SERVER MODULES ===================#

loadmodule server
set net-type 0
set nick "Carkifelek"
set realname "2www.siteniz.com internet hizmetleri"

set init-server {
        putserv "ns register $enickpass Carkifelek@$server"
             }
bind evnt - init-server sas

proc sas {type} {
global botnick
  putquick "oper Eggdrop $egpass" -next
  putquick "ns identify $enickpass" -next
  putquick "MODE Carkifelek +BH-hY"
}

set servers {
$ip:6667 }

set keep-nick 1
set use-ison 1
set strict-host 0
set quiet-reject 1
set lowercase-ctcp 0
set answer-ctcp 3
set flood-msg 0:0
# how many CTCPs in how many seconds?
set flood-ctcp 0:0
set never-give-up 1
set strict-servernames 0
set default-port 6667
set server-cycle-wait 30
set server-timeout 15
set servlimit 0
set check-stoned 1
set use-console-r 0
set debug-output 0
set serverror-quit 1
set max-queue-msg 300
set trigger-on-ignore 0
set double-mode 0
set double-server 0
set double-help 0

#set use-silence 1
#set check-mode-r 1
loadmodule ctcp
set ctcp-mode 0
loadmodule irc
set bounce-bans 0
set bounce-modes 0
set kick-bogus-bans 0
set bounce-bogus-bans 0
set max-bans 20
set max-modes 30
set allow-desync 0
set kick-bogus 0
set ban-bogus 0
set kick-fun 0
set ban-fun 0
set learn-users 0
set wait-split 600
set wait-info 180
set mode-buf-length 200
unbind msg - hello *msg:hello
#bind msg - myword *msg:hello
 unbind msg - ident *msg:ident
unbind msg - addhost *msg:addhost
#bind msg - myidentword *msg:ident
unbind msg - pass *msg:pass
set no-chanrec-info 0

set revenge-mode 1

set bounce-exempts 0
set bounce-invites 0
set max-exempts 20
set max-invites 20
set bounce-bogus-exempts 0
set kick-bogus-exempts 0
set bounce-bogus-invites 0
set kick-bogus-invites 0
# set use-exempts 0
# set use-invites 0
set prevent-mixing 1
#set kick-method 1
#set modes-per-line 3
#set use-354 0
#set rfc-compliant 1
#loadmodule transfer
set max-dloads 3
set dcc-block 1024
set copy-to-tmp 1
set xfer-timeout 30

#==================== GENERAL BOT SHARE MODULES ====================#
#loadmodule share
#set allow-resync 0
#set resync-time 900
#set private-owner 0
#set private-global 0
#set private-globals "mnot"
#set private-user 0

#================== GENERAL BOT FILESYSTEM MODULES =================#
#loadmodule filesys
set files-path "/home/mydir/filesys"
set incoming-path "/home/mydir/filesys/incoming"
set upload-to-pwd 0
set filedb-path ""
set max-file-users 20
set max-filesize 1024

#===================== GENERAL BOT NOTES MODULES ===================#
loadmodule notes
set notefile "scripts/log/oyun.notes"
set max-notes 50
set note-life 60
set allow-fwd 0
set notify-users 1
set notify-onjoin 1

#==================== GENERAL BOT CONSOLE MODULES ==================#
loadmodule console
set console-autosave 1
set force-channel 0
set info-party 0

#==================== GENERAL BOT WOOBIE MODULES ===================#
#loadmodule woobie

#===================== GENERAL BOT SEEN MODULES ====================#
#loadmodule seen

#==================== GENERAL BOT BLOWFISH MODULES =================#
checkmodule blowfish

#===================== GENERAL BOT ASSOC MODULES ===================#
#loadmodule assoc

#===================== GENERAL BOT WRITE MODULES ===================#
#loadmodule wire

#======================== GENERAL BOT SCRIPTS ======================#
source scripts/alltools.tcl
source scripts/motus/motus.tcl
#===================== GENERAL BOT HELP MODULES ====================#
loadhelp scripts/userinfo.help
__EOF__
cd
cd eggdrop/scripts
wget -q http://www.siteniz.com/oto-kur/tcl.tar.gz
tar zxvf tcl.tar.gz
rm -rf tcl.tar.gz
cd
cd eggdrop/
./eggdrop -m kelime.conf
./eggdrop -m kaos.conf
./eggdrop -m test.conf
./eggdrop -m carkifelek.conf
./eggdrop -m oyun.conf
./eggdrop -m helps.conf
./eggdrop -m islam.conf
cd
wget -q http://www.siteniz.com/oto-kur/webchat.tar.gz
tar zxvf webchat.tar.gz
rm -rf webchat.tar.gz
cd webchat/
rm -rf run.py
cat > run.py << __EOF__
#!/usr/bin/env python2.6
# this entire thing is a hack and badly needs reimplementing
import bin.compile
bin.compile.vcheck()

DEFAULT_PORT = $qwebport1

from optparse import OptionParser
import sys, os, config

def run_twistd(args1=None, args2=None):
  from twisted.scripts.twistd import run
  args = [sys.argv[0]]
  if args1 is not None:
    args.extend(args1)
  args.append("qwebirc")
  if args2 is not None:
    args.extend(args2)
  sys.argv = args
  run()
 
def help_reactors(*args):
  run_twistd(["--help-reactors"])
  sys.exit(1)

try:
  from select import epoll
  DEFAULT_REACTOR = "epoll"
except ImportError:
  try:
    from select import kqueue
    DEFAULT_REACTOR = "kqueue"
  except ImportError:
    try:
      from select import poll
      DEFAULT_REACTOR = "poll"
    except ImportError:
      DEFAULT_REACTOR = "select"

parser = OptionParser()
parser.add_option("-n", "--no-daemon", help="Don't run in the background.", action="store_false", dest="daemonise", default=True)
parser.add_option("--help-reactors", help="Display a list of reactor names.", action="callback", callback=help_reactors)
parser.add_option("-b", "--debug", help="Run in the Python Debugger.", action="store_true", dest="debug", default=False)
parser.add_option("-t", "--tracebacks", help="Display tracebacks in error pages (this reveals a LOT of information, do NOT use in production!)", action="store_true", dest="tracebacks", default=False)
parser.add_option("-r", "--reactor", help="Which reactor to use (see --help-reactors for a list).", dest="reactor", default=DEFAULT_REACTOR)
parser.add_option("-p", "--port", help="Port to start the server on.", type="int", dest="port", default=DEFAULT_PORT)
parser.add_option("-i", "--ip", help="IP address to listen on.", dest="ip", default="0.0.0.0")
parser.add_option("-l", "--logfile", help="Path to twisted log file.", dest="logfile")
parser.add_option("-c", "--clf", help="Path to web CLF (Combined Log Format) log file.", dest="clogfile")
parser.add_option("-C", "--certificate", help="Path to SSL certificate.", dest="sslcertificate")
parser.add_option("-k", "--key", help="Path to SSL key.", dest="sslkey")
parser.add_option("-H", "--certificate-chain", help="Path to SSL certificate chain file.", dest="sslchain")
parser.add_option("-P", "--pidfile", help="Path to store PID file", dest="pidfile")
parser.add_option("-s", "--syslog", help="Log to syslog", action="store_true", dest="syslog", default=False)
parser.add_option("-f", "--flash-port", help="Port to listen for flash policy connections on.", type="int", dest="flashPort")
parser.add_option("--profile", help="Run in profile mode, dumping results to this file", dest="profile")
parser.add_option("--profiler", help="Name of profiler to use", dest="profiler")
parser.add_option("--syslog-prefix", help="Syslog prefix", dest="syslog_prefix", default="qwebirc")

sargs = sys.argv[1:]
if "ARGS" in dir(config):
  import shlex
  sargs = shlex.split(config.ARGS) + sargs

(options, args) = parser.parse_args(args=sargs)

args1, args2 = [], []

if not options.daemonise:
  args1.append("-n")
if options.debug:
  args1.append("-b")

if options.reactor != DEFAULT_REACTOR:
  rn = options.reactor + "reactor"
  getattr(__import__("twisted.internet", fromlist=[rn]), rn).install()
if options.logfile:
  args1+=["--logfile", options.logfile]
if options.pidfile:
  args1+=["--pidfile", options.pidfile]
if options.syslog:
  args1+=["--syslog"]
if options.profile:
  args1+=["--profile", options.profile]
if options.profiler:
  args1+=["--profiler", options.profiler]

if options.syslog and options.syslog_prefix:
  import syslog
  syslog.openlog(options.syslog_prefix)

if not options.tracebacks:
  args2.append("-n")
if options.clogfile:
  args2+=["--logfile", options.clogfile]

if options.flashPort:
  args2+=["--flashPort", options.flashPort]

if options.sslcertificate and options.sslkey:
  args2+=["--certificate", options.sslcertificate, "--privkey", options.sslkey, "--https", options.port]
  if options.sslchain:
    args2+=["--certificate-chain", options.sslchain]
else:
  args2+=["--port", options.port]

args2+=["--ip", options.ip]

run_twistd(args1, args2)
__EOF__
rm -rf config.py
cat > config.py << __EOF__
from qwebirc.config_options import *
IRCSERVER = "$ip"
IRCPORT = 1985
REALNAME = "www.$server Web Kullanicisi"
IDENT = "webchat"
WEBIRC_MODE = "webirc"
WEBIRC_PASSWORD = "$qwebpass"
CGIIRC_STRING = "CGIIRC"
BASE_URL = "http://$ip:$qwebport1/"
NETWORK_NAME = "$server"
APP_TITLE = NETWORK_NAME + " - Web Sohbet"
NICKNAME_VALIDATE = None
import string
NICKNAME_VALID_FIRST_CHAR = string.letters + "_[]{}^\\|"
NICKNAME_VALID_SUBSEQUENT_CHARS = NICKNAME_VALID_FIRST_CHAR + string.digits + "-"
NICKNAME_MINIMUM_LENGTH = 2
NICKNAME_MAXIMUM_LENGTH = 15
FEEDBACK_FROM = "$server"
FEEDBACK_TO = "$server"
FEEDBACK_SMTP_HOST = "127.0.0.1"
FEEDBACK_SMTP_PORT = 25
ADMIN_ENGINE_HOSTS = ["127.0.0.1"]
HTTP_REQUEST_TIMEOUT = 5
HTTP_AJAX_REQUEST_TIMEOUT = 30
UPDATE_FREQ = 0.5
MAXBUFLEN = 100000
MAXSUBSCRIPTIONS = 3
MAXLINELEN = 600
DNS_TIMEOUT = 5
STATIC_BASE_URL = ""
DYNAMIC_BASE_URL = ""
CONNECTION_RESOLVER = None
HMACKEY = "mrmoo"
HMACTEMPORAL = 30
#ellesme
AUTHGATEDOMAIN = "webchat_test"
QTICKETKEY = "boo"
AUTH_SERVICE = "Q!TheQBot@CServe.quakenet.org"
AUTH_OK_REGEX = "^You are now logged in as [^ ]+\\.$"
import dummyauthgate as AUTHGATEPROVIDER
#NICK_SERVICE = "NickServ!services@okeyy.net"
RECAPTCHA_KEY = None
ANALYTICS = None
__EOF__
rm -rf twistd.log
rm -rf twistd.pid
chmod 777 run.py
chmod 777 config.py
./run.py -p $qwebport1
cd
wget -q http://www.siteniz.com/oto-kur/qwebirc.tar.gz
tar zxvf qwebirc.tar.gz
rm -rf qwebirc.tar.gz
cd qwebirc/
rm -rf run.py
cat > run.py << __EOF__
#!/usr/bin/env python2.6
# this entire thing is a hack and badly needs reimplementing
import bin.compile
bin.compile.vcheck()

DEFAULT_PORT = $qwebport

from optparse import OptionParser
import sys, os, config

def run_twistd(args1=None, args2=None):
  from twisted.scripts.twistd import run
  args = [sys.argv[0]]
  if args1 is not None:
    args.extend(args1)
  args.append("qwebirc")
  if args2 is not None:
    args.extend(args2)
  sys.argv = args
  run()
 
def help_reactors(*args):
  run_twistd(["--help-reactors"])
  sys.exit(1)

try:
  from select import epoll
  DEFAULT_REACTOR = "epoll"
except ImportError:
  try:
    from select import kqueue
    DEFAULT_REACTOR = "kqueue"
  except ImportError:
    try:
      from select import poll
      DEFAULT_REACTOR = "poll"
    except ImportError:
      DEFAULT_REACTOR = "select"

parser = OptionParser()
parser.add_option("-n", "--no-daemon", help="Don't run in the background.", action="store_false", dest="daemonise", default=True)
parser.add_option("--help-reactors", help="Display a list of reactor names.", action="callback", callback=help_reactors)
parser.add_option("-b", "--debug", help="Run in the Python Debugger.", action="store_true", dest="debug", default=False)
parser.add_option("-t", "--tracebacks", help="Display tracebacks in error pages (this reveals a LOT of information, do NOT use in production!)", action="store_true", dest="tracebacks", default=False)
parser.add_option("-r", "--reactor", help="Which reactor to use (see --help-reactors for a list).", dest="reactor", default=DEFAULT_REACTOR)
parser.add_option("-p", "--port", help="Port to start the server on.", type="int", dest="port", default=DEFAULT_PORT)
parser.add_option("-i", "--ip", help="IP address to listen on.", dest="ip", default="0.0.0.0")
parser.add_option("-l", "--logfile", help="Path to twisted log file.", dest="logfile")
parser.add_option("-c", "--clf", help="Path to web CLF (Combined Log Format) log file.", dest="clogfile")
parser.add_option("-C", "--certificate", help="Path to SSL certificate.", dest="sslcertificate")
parser.add_option("-k", "--key", help="Path to SSL key.", dest="sslkey")
parser.add_option("-H", "--certificate-chain", help="Path to SSL certificate chain file.", dest="sslchain")
parser.add_option("-P", "--pidfile", help="Path to store PID file", dest="pidfile")
parser.add_option("-s", "--syslog", help="Log to syslog", action="store_true", dest="syslog", default=False)
parser.add_option("-f", "--flash-port", help="Port to listen for flash policy connections on.", type="int", dest="flashPort")
parser.add_option("--profile", help="Run in profile mode, dumping results to this file", dest="profile")
parser.add_option("--profiler", help="Name of profiler to use", dest="profiler")
parser.add_option("--syslog-prefix", help="Syslog prefix", dest="syslog_prefix", default="qwebirc")

sargs = sys.argv[1:]
if "ARGS" in dir(config):
  import shlex
  sargs = shlex.split(config.ARGS) + sargs

(options, args) = parser.parse_args(args=sargs)

args1, args2 = [], []

if not options.daemonise:
  args1.append("-n")
if options.debug:
  args1.append("-b")

if options.reactor != DEFAULT_REACTOR:
  rn = options.reactor + "reactor"
  getattr(__import__("twisted.internet", fromlist=[rn]), rn).install()
if options.logfile:
  args1+=["--logfile", options.logfile]
if options.pidfile:
  args1+=["--pidfile", options.pidfile]
if options.syslog:
  args1+=["--syslog"]
if options.profile:
  args1+=["--profile", options.profile]
if options.profiler:
  args1+=["--profiler", options.profiler]

if options.syslog and options.syslog_prefix:
  import syslog
  syslog.openlog(options.syslog_prefix)

if not options.tracebacks:
  args2.append("-n")
if options.clogfile:
  args2+=["--logfile", options.clogfile]

if options.flashPort:
  args2+=["--flashPort", options.flashPort]

if options.sslcertificate and options.sslkey:
  args2+=["--certificate", options.sslcertificate, "--privkey", options.sslkey, "--https", options.port]
  if options.sslchain:
    args2+=["--certificate-chain", options.sslchain]
else:
  args2+=["--port", options.port]

args2+=["--ip", options.ip]

run_twistd(args1, args2)
__EOF__
rm -rf config.py
cat > config.py << __EOF__
from qwebirc.config_options import *
IRCSERVER = "$ip"
IRCPORT = 7005
REALNAME = "www.$server Mobil Kullanicisi"
IDENT = "mobil"
WEBIRC_MODE = "webirc"
WEBIRC_PASSWORD = "$qwebpass"
CGIIRC_STRING = "CGIIRC"
BASE_URL = "http://$ip:$qwebport/"
NETWORK_NAME = "$server"
APP_TITLE = NETWORK_NAME + " - Mobil Sohbet"
NICKNAME_VALIDATE = None
import string
NICKNAME_VALID_FIRST_CHAR = string.letters + "_[]{}^\\|"
NICKNAME_VALID_SUBSEQUENT_CHARS = NICKNAME_VALID_FIRST_CHAR + string.digits + "-"
NICKNAME_MINIMUM_LENGTH = 2
NICKNAME_MAXIMUM_LENGTH = 15
FEEDBACK_FROM = "$server"
FEEDBACK_TO = "$server"
FEEDBACK_SMTP_HOST = "127.0.0.1"
FEEDBACK_SMTP_PORT = 25
ADMIN_ENGINE_HOSTS = ["127.0.0.1"]
HTTP_REQUEST_TIMEOUT = 5
HTTP_AJAX_REQUEST_TIMEOUT = 30
UPDATE_FREQ = 0.5
MAXBUFLEN = 100000
MAXSUBSCRIPTIONS = 3
MAXLINELEN = 600
DNS_TIMEOUT = 5
STATIC_BASE_URL = ""
DYNAMIC_BASE_URL = ""
CONNECTION_RESOLVER = None
HMACKEY = "mrmoo"
HMACTEMPORAL = 30
#ellesme
AUTHGATEDOMAIN = "webchat_test"
QTICKETKEY = "boo"
AUTH_SERVICE = "Q!TheQBot@CServe.quakenet.org"
AUTH_OK_REGEX = "^You are now logged in as [^ ]+\\.$"
import dummyauthgate as AUTHGATEPROVIDER
#NICK_SERVICE = "NickServ!services@okeyy.net"
RECAPTCHA_KEY = None
ANALYTICS = None
__EOF__
rm -rf twistd.log
rm -rf twistd.pid
chmod 777 run.py
chmod 777 config.py
./run.py -p $qwebport
clear
cd
echo "|-------------------------------------------|"
echo "|     Mobil ve Web Applet   Kuruldu...      |"
echo "|-------------------------------------------|"
echo "|  Radyo ve OTODJ     Kurulumuna Gecildi!   |"
echo "|         Dosyalar Büyük Olduğu İçin        |"
echo "|      Biraz Zaman Alabilir. 40 Sarki       |"
echo "|-------------------------------------------|"
wget http://www.siteniz.com/oto-kur/radyo.tar
gzip radyo.tar
tar zxvf radyo.tar.gz
rm -rf radyo.tar.gz
cd radyo
cat > sc_serv.conf << __EOF__
MaxUser=$ruser
Password=$rpass
PortBase=$rport
LogFile=sc_serv.log
RealTime=1
ScreenLog=1
ShowLastSongs=10
W3CEnable=Yes
W3CLog=sc_w3c.log
SrcIP=ANY
DestIP=ANY
Yport=80
NameLookups=0
AutoDumpUsers=0
AutoDumpSourceTime=30
PublicServer=default
AllowRelay=Yes
AllowPublicRelay=Yes
MetaInterval=32768
__EOF__
cd otodj
cat > sc_trans.conf << __EOF__
PlaylistFile=playlist.lst
ServerIP=$ip
ServerPort=$rport
Password=$rpass
StreamTitle=OtoDj
StreamURL=http://$server/
Genre=otomatik yayin
LogFile=sc_trans.log
Shuffle=1
Bitrate=80000
SampleRate=44100
Channels=1
Quality=1
CrossfadeMode=1
CrossfadeLength=8000
UseID3=0
Public=1
AIM=AIMHandle
ICQ=
IRC=shoutcast
__EOF__
cat > playlist.lst << __EOF__
/home/$USER/radyo/otodj/music/16. Gripin - Hiç Utanmadan.mp3
/home/$USER/radyo/otodj/music/40. Cem Belevi - Yedi Düvel.mp3
/home/$USER/radyo/otodj/music/13. Tuğba Yurt - Yine Sev Yine.mp3
/home/$USER/radyo/otodj/music/33. Özgün - Hayalet.mp3
/home/$USER/radyo/otodj/music/29. Candan Erçetin - Kim Korkar.mp3
/home/$USER/radyo/otodj/music/22. Berksan - Ben.mp3
/home/$USER/radyo/otodj/music/36. Sertab Erener - Bastırın Kızlar.mp3
/home/$USER/radyo/otodj/music/27. Tarkan - Çok Ağladım.mp3
/home/$USER/radyo/otodj/music/32. Oğuzhan Koç - Takdir-i İlahi.mp3
/home/$USER/radyo/otodj/music/21. Betül Demir - Anlat Anlat.mp3
/home/$USER/radyo/otodj/music/28. Ozan Doğulu ft. Murat Boz - Hey.mp3
/home/$USER/radyo/otodj/music/10. Seksendört - Anlayamazsın.mp3
/home/$USER/radyo/otodj/music/24. Mehmet Erdem - Hara.mp3
/home/$USER/radyo/otodj/music/39. Gökhan Tepe - Yak Ateşinle.mp3
/home/$USER/radyo/otodj/music/02. Derya Uluğ - Ne Münasebet.mp3
/home/$USER/radyo/otodj/music/17. Altay - Kalp Gözüm.mp3
/home/$USER/radyo/otodj/music/35. Bahadır Tatlıöz - Su Yolunu Bulur.mp3
/home/$USER/radyo/otodj/music/31. Yüksek Sadakat - Yunus.mp3
/home/$USER/radyo/otodj/music/01. Ziynet Sali - Deli Divanenim.mp3
/home/$USER/radyo/otodj/music/26. Aydın Kurtoğlu - Söz.mp3
/home/$USER/radyo/otodj/music/34. Berkay - Ben Sadece.mp3
/home/$USER/radyo/otodj/music/30. Mabel Matiz - A Canım.mp3
/home/$USER/radyo/otodj/music/07. Yalın - Sensiz Ben Ne Olayım.mp3
/home/$USER/radyo/otodj/music/06. Simge - Ben Bazen.mp3
/home/$USER/radyo/otodj/music/12. Aleyna Tilki, Emrah Karaduman - Yalnız Çiçek.mp3
/home/$USER/radyo/otodj/music/38. Güliz Ayla - Gelsin Öpsün Kalbimi.mp3
/home/$USER/radyo/otodj/music/05. Murat Boz - Geç Olmadan.mp3
/home/$USER/radyo/otodj/music/20. Gökhan Türkmen - Lüfügüzaf.mp3
/home/$USER/radyo/otodj/music/23. Edis - Yalan.mp3
/home/$USER/radyo/otodj/music/03. Hadise - Farkımız Var.mp3
/home/$USER/radyo/otodj/music/09. Soner Sarıkabadayı - Boza Boza.mp3
/home/$USER/radyo/otodj/music/11. Aylin Coşkun feat. Hande Yener - Manzara.mp3
/home/$USER/radyo/otodj/music/15. Merve Özbey - Vuracak.mp3
/home/$USER/radyo/otodj/music/25. Ferhat Göçer - Sen Elimden Tut.mp3
/home/$USER/radyo/otodj/music/14. Demet Akalın - Canıma da Değsin.mp3
/home/$USER/radyo/otodj/music/37. Demet Sağıroğlu - Açık Çay.mp3
/home/$USER/radyo/otodj/music/08. Feride Hilal Akın, İlyas Yalçıntaş - Şehrin Yolu.mp3
/home/$USER/radyo/otodj/music/18. Fettah Can - Kalakaldın mı.mp3
/home/$USER/radyo/otodj/music/04. Bengü - Geçmiş Olsun.mp3
/home/$USER/radyo/otodj/music/19. Kenan Doğulu - Issız Ada.mp3
__EOF__
cd
cd radyo
cat > radyo.sh << __EOF__
nohup sc_serv sc_serv.conf  > /dev/null &
nohup otodj/sc_trans_linux sc_trans.conf > /dev/null &
__EOF__
chmod +x radyo.sh
./radyo.sh &>/dev/null &
cd
clear
echo "|-------------------------------------------|"
echo "|         Radyo ve OTODJ   Kuruldu...       |"
echo "|-------------------------------------------|"
echo "|         BOPM  Kurulumuna Gecildi!         |"
echo "|-------------------------------------------|"
wget -q http://www.siteniz.com/oto-kur/bopm-3.1.3.tar.gz
tar zxvf bopm-3.1.3.tar.gz
rm -rf bopm-3.1.3.tar.gz
cd bopm-3.1.3
./configure
make
make install
cd /bopm/etc
rm -rf bopm.conf
cat > bopm.conf << __EOF__
options { 
      /* 
       * Full path and filename for storing the process ID of the running 
       * BOPM. 
       */ 
      pidfile = "/home/$USER/bopm/bopm.pid"; 
      /* 
       * How many seconds to store the IP address of hosts which are 
       * confirmed (by previous scans) to be secure. New users from these 
       * IP addresses will not be scanned again until this amount of time 
       * has passed. IT IS STRONGLY RECOMMENDED THAT YOU DO NOT USE THIS 
       * DIRECTIVE, but it is provided due to demand. 
       * 
       * The main reason for not using this feature is that anyone capable 
       * of running a proxy can get abusers onto your network - all they 
       * need do is shut the proxy down, connect themselves, restart the 
       * proxy, and tell their friends to come flood. 
       *     
       * Keep this directive commented out to disable negative caching. 
       */ 
 #     negcache = 3600; 
      /* 
       * Amount of file descriptors to allocate to asynchronous DNS. 64 
       * should be plenty for almost anyone - previous versions of BOPM only 
       * did one at a time! 
       */ 
      dns_fdlimit = 64; 
      /* 
       * Put the full path and filename of a logfile here if you wish to log 
       * every scan done. Normally BOPM only logs successfully detected 
       * proxies in the bopm.log, but you may get abuse reports to your ISP 
       * about portscanning. Being able to show that it was BOPM that did 
       * the scan in question can be useful. Leave commented for no 
       * logging. 
       */ 
       #scanlog = "/home/$USER/bopm/scan.log"; 
 }; 
 IRC { 
      /* 
       * IP to bind to for the IRC connection. You only need to use this if 
       * you wish BOPM to use a particular interface (virtual host, IP 
       * alias, ...) when connecting to the IRC server. There is another 
       * "vhost" setting in the scan {} block below for the actual 
       * portscans. Note that this directive expects an IP address, not a 
       * hostname. Please leave this commented out if you do not 
       * understand what it does, as most people don't need it. 
       */ 
 #     vhost = "0.0.0.0"; 
      /* 
       * Nickname for BOPM to use. 
       */ 
      nick = "BOPM"; 
      /* 
       * Text to appear in the "realname" field of BOPM's /whois output. 
       */ 
      realname = "Open Socks/Proxy Monitor"; 
      /* 
       * If you don't have an identd running, what username to use. 
       */ 
      username = "Socks"; 
      /* 
       * Hostname (or IP) of the IRC server which BOPM will monitor 
       * connections on. 
       */ 
      server = "$ip"; 
      /* 
       * Password used to connect to the IRC server (PASS) 
       */ 
 #     password = "secret1"; 
      /* 
       * Port of the above server to connect to. This is what BOPM uses to 
       * get onto IRC itself, it is nothing to do with what ports/protocols 
       * are scanned, nor do you need to list every port your ircd listens 
       * on. 
       */ 
      port = 6667; 
      /* 
       * Command to execute to identify to NickServ (if your network uses 
       * it). This is the raw IRC command text, and the below example 
       * corresponds to "/msg nickserv identify password" in a client. If 
       * you don't understand, just edit "password" in the line below to be 
       * your BOPM's nick password. Leave commented out if you don't need 
       * to identify to NickServ. 
       */ 
      nickserv = "privmsg nickserv :identify 1231223432"; 
      /* 
       * The username and password needed for BOPM to oper up. 
       */ 
      oper = "Eggdrop $egpass"; 
      /* 
       * Mode string that BOPM needs to set on itself as soon as it opers 
       * up. This needs to include the mode for seeing connection notices, 
       * otherwise BOPM won't scan anyone (that's usually umode +c). It's 
       * often also a good idea to remove any helper modes so that users 
       * don't try to talk to the BOPM. 
       * 
       * REMEMBER THAT IRCU AND LATER VERSIONS OF UNREAL DO NOT USE A SIMPLE 
       * +c !! 
       */ 
      mode = "+HDIFsc-h"; 
      /* Example for Bahamut; +F gives BOPM relaxed flood limits */ 
 #     mode = "+Fc-h"; 
      /* 
       * If this is set then BOPM will use it as an /away message as soon as 
       * it connects. 
       */ 
 #     away = "I'm a bot. Your messages will be ignored."; 
      /* 
       * Info about channels you wish BOPM to join in order to accept 
       * commands. BOPM will also print messages in these channels every 
       * time it detects a proxy. Only IRC operators can command BOPM to do 
       * anything, but some of the things BOPM reports to these channels 
       * could be soncidered sensitive, so it's best not to put BOPM into 
       * public channels. 
       */ 
      channel { 
        /* 
        * Channel name. Local ("&") channels are supported if your ircd 
        * supports them. 
        */ 
        name = "#Opers"; 
        /* 
        * If BOPM will need to use a key to enter this channel, this is 
        * where you specify it. 
        */ 
 #       key = "somekey"; 
        /* 
        * If you use ChanServ then maybe you want to set the channel 
        * invite-only and have each BOPM do "/msg ChanServ invite" to get 
        * itself in. Leave commented if you don't, or if this makes no 
        * sense to you. 
        */ 
 #       invite = "privmsg chanserv :invite #Admin"; 
      }; 
      /* 
       * You can define a bunch of channels if you want: 
       * 
       * channel { name = "#other"; }; channel { name="#channel"; } 
       */ 
      /* 
       * connregex is a POSIX regular expression used to parse connection 
       * (+c) notices from the ircd. The complexity of the expression should 
       * be kept to a minimum. 
       *   
       * Items in order MUST be: nick user host IP 
       * 
       * BOPM will not work with ircds which do not send an IP in the 
       * connection notice. 
       * 
       * This is fairly complicated stuff, and the consequences of getting 
       * it wrong are the BOPM does not scan anyone. Unless you know 
       * absolutely what you are doing, please just uncomment the example 
       * below that best matches the type of ircd you use. 
       * 
       * !!! NOTE !!! If a connregex for your ircd does not appear here and the 
       * hybrid connregex does not appear to work, check the BOPM FAQ at   
       * http://wiki.blitzed.org/BOPM before contacting our lists for help. 
       * 
       */ 
      /* Hybrid / Bahamut / Unreal (in HCN mode) */ 
      connregex = "\\*\\*\\* Notice -- Client connecting.*: ([^ ]+) \\(([^@]+)@([^\\)]+)\\) \\[([0-9\\.]+)\\].*"; 
      #connregex = "\\*\\*\\* Notice -- BOPM unknown unknown ([^ ]+) \\(([^@]+)@([^\\)]+)\\) \\[([0-9\\.]+)\\].*"; 
      /* 
       * Ultimate ircd - note the control-B characters around Connect/Exit, 
       * that is because that text appears in bold in the actual connect 
       * notice. Be very careful when editing this, do it as you would put 
       * bold characters into IRC MOTDs. 
       */ 
 #     connregex = "\\*\\*\\*  Connect/Exit  -- from [^:]+: Client connecting on port [0-9]+: ([^ ]+) \\(([^@]+)@([^\\)]+)\\) \\[([0-9\\.]+)\\].*"; 
      /* 
       * SorIRCd 1.3.4+ / StarIRCd 5.26+. 
       */ 
 #     connregex = "\\*\\*\\* Notice -- Client connecting on port [0-9]+: ([^ ]+) \\(([^@]+)@([^\\)]+)\\) \\[([0-9\\.]+)\\].*"; 
      /* 
       * "kline" controls the command used when an open proxy is confirmed. 
       * We suggest applying a temporary (no more than a few hours) KLINE on the host. 
       * 
       * <WARNING> 
      * Make sure if you need to change this string you also change the 
      * kline command for every DNSBL you enable below. 
       * 
      * Also note that some servers do not allow you to include ':' characters 
      * inside the KLINE message (e.g. for a http:// address). 
       * 
       * Users rewriting this message into something that isn't even a valid 
       * IRC command is the single most common cause of support requests and 
       * therefore WE WILL NOT SUPPORT YOU UNLESS YOU USE ONE OF THE EXAMPLE 
       * KLINE COMMANDS BELOW. 
       * </WARNING> 
       * 
       * That said, should you wish to customise this text, several 
       * printf-like placeholders are available: 
       * 
       * %n   User's nick 
       * %u   User's username 
       * %h   User's irc hostname 
       * %i   User's IP address 
       * 
       */ 
      kline = "GZLINE *@%i 1d :Open Proxy kullanımı yasaktır..."; 
      /* A GLINE example for IRCu: */ 
 #    kline = "GLINE +*@%i 1800 :Open proxy found on your host. Please visit www.blitzed.org/proxy?ip=%i for more information."; 
     /* An AKILL example for services with OperServ 
      * Your BOPM must have permission to AKILL for this to work! */ 
 #    kline = "PRIVMSG OpenServ :AKILL +3h *@%h Open proxy found on your host. Please visit www.blitzed.org/proxy?ip=%i for more information."; 
      /* 
       * Text to send on connection, these can be stacked and will be sent in this order 
       *   
       * !!! UNREAL USERS PLEASE NOTE !!! 
       * Unreal users will need PROTOCTL HCN to force hybrid connect 
       * notices. 
       * 
       * Yes Unreal users! That means you! That means you need the line 
       * below! See that thing at the start of the line? That's what we 
       * call a comment! Remove it to UNcomment the line. 
       */ 
      perform = "PROTOCTL HCN"; 
 }; 
 /* 
  * OPM Block defines blacklists and information required to report new proxies 
  * to a dns blacklist. DNS-based blacklists store IP addresses in a DNS zone 
  * file. There are several blacklist that list IP addresses known to be open 
  * proxies or other forms of IRC abuse. By checking against these blacklists, 
  * BOPMs are able to ban known sources of abuse without completely scanning them. 
  */ 
 OPM { 
      /* 
       * Blacklist zones to check IPs against. If you would rather not 
       * trust a remotely managed blacklist, you could set up your own, or 
       * leave these commented out in which case every user will be 
       * scanned. The use of at least one open proxy DNSBL is recommended 
      * however. 
      * 
      * Blitzed is not associated with any of these DNSBLs, please check 
      * the policies of each blacklist you use to check you are comfortable 
      * with using them to block access to your server (and that you are 
      * allowed to use them). 
       */ 
      blacklist {   
           name = "cbl.abuseat.org";   
           type = "A record reply";   
      reply {   
           2 = "Open proxy";   
        };   
           ban_unknown = no;   
           kline = "GZLINE *@%i 1d :Sunucudan uzaklastirildiniz. [ Güvenlik ] nedeniyle Wingate/Socks/Proxy baglanti girisleri yasaktir.[CBL]"; 
      }; 
     blacklist { 
           name = "rbl.efnetrbl.org"; 
           type = "A record reply"; 
           ban_unknown = no; 
           reply {   
                1 = "Open Proxy"; 
                2 = "spamtrap666"; 
                3 = "spamtrap50"; 
                4 = "TOR"; 
                5 = "Drones / Flooding"; 
           }; 
           kline = "GZLINE *@%i 1d :Sunucudan uzaklastirildiniz. [ Güvenlik ] nedeniyle Wingate/Socks/Proxy baglanti girisleri yasaktir.[EFNETRBL]"; 
      }; 
      blacklist { 
                 name = "rbl.efnet.org"; 
                 type = "A record reply"; 
            reply { 
                  1 = "Open proxy"; 
                  2 = "Trojan spreader"; 
                  3 = "Trojan infected client"; 
                  4 = "TOR exit server"; 
                  5 = "Drones / Flooding"; 
            }; 
       ban_unknown = no; 
      kline = "GZLINE *@%i 1d :Sunucudan uzaklastirildiniz. [ Güvenlik ] nedeniyle Wingate/Socks/Proxy baglanti girisleri yasaktir.[EFNETRBL]"; 
     }; 
       blacklist { 
         name = "dnsbl.dronebl.org"; 
         type = "A record reply"; 
         reply { 
               2 = "Sample"; 
          3 = "IRC Drone"; 
          5 = "Bottler"; 
          6 = "Unknown spambot or drone"; 
          7 = "DDOS Drone"; 
          8 = "SOCKS Proxy"; 
          9 = "HTTP Proxy"; 
          10 = "ProxyChain"; 
          13 = "Brute force attackers"; 
          14 = "Open Wingate Proxy"; 
          15 = "Compromised router / gateway"; 
          17 = "Automatically determined botnet IPs (experimental)"; 
          255 = "Unknown"; 
         }; 
        ban_unknown = no;         
         kline = "GZLINE *@%i 1d :Sunucudan uzaklastirildiniz. [ Güvenlik ] nedeniyle Wingate/Socks/Proxy/Tor/Drones baglanti girisleri yasaktir.http://dronebl.org/lookup_branded?ip=%i&network=Network"; 
        }; 
      blacklist { 
     name = "dnsbl.martynip.co.uk"; 
     type = "A record reply"; 
     ban_unknown = yes; 
     reply { 
          2 = "Brute Force Attacker"; 
          3 = "IRC Drone"; 
          4 = "Open proxy"; 
          5 = "Spam Drone"; 
          6 = "Tor exit nodes"; 
          10 = "Other/Unspecified"; 
     }; 
     kline = "GZLINE *@%i 1d :Sunucudan uzaklastirildiniz. [ Güvenlik ] nedeniyle Wingate/Socks/Proxy/Tor/Drones baglanti girisleri yasaktir.[MARTYNIP]"; 
 };     
      blacklist { 
          name = "tor.dnsbl.martynip.co.uk"; 
          type = "A record reply"; 
          ban_unknown = yes; 
          reply { 
               6 = "Tor exit nodes"; 
          }; 
          kline = "GZLINE *@%i 1d :Sunucudan uzaklastirildiniz. [ Güvenlik ] nedeniyle Wingate/Socks/Proxy/Tor/Drones baglanti girisleri yasaktir.[MARTYNIP]"; 
 }; 
      blacklist { 
          name = "P.H.G.F.E.ip-port.exitlist.torproject.org"; 
          type = "A record reply"; 
          reply { 
            2 = "Tor exit server"; 
          }; 
          ban_unknown = yes; 
          kline = "GZLINE *@%i 1d :Sunucudan uzaklastirildiniz. [ Güvenlik ] nedeniyle Wingate/Socks/Proxy/Tor/Drones baglanti girisleri yasaktir.[TORPROJECT]"; 
        }; 
       blacklist { 
                 name = "bl.blocklist.de"; 
                 type = "A record reply"; 
            reply { 
                  3 = "IRC Drone"; 
                5 = "Bottler"; 
                6 = "Unknown spambot or drone"; 
                7 = "DDOS Drone"; 
                8 = "SOCKS Proxy"; 
                9 = "HTTP Proxy"; 
                10 = "ProxyChain"; 
                13 = "Brute force attackers"; 
                14 = "Open Wingate Proxy"; 
                15 = "Compromised router / gateway"; 
                17 = "Automatically determined botnet IPs (experimental)"; 
          255 = "Unknown"; 
            }; 
       ban_unknown = no; 
      kline = "GZLINE *@%i 1d :Sunucudan uzaklastirildiniz. [ Güvenlik ] nedeniyle Wingate/Socks/Proxy baglanti girisleri yasaktir.[BLOCKLIST]"; 
     }; 
     blacklist { 
                      name = "dnsbl-1.uceprotect.net"; 
                      type = "A record reply"; 
                 reply { 
                       3 = "IRC Drone"; 
                     5 = "Bottler"; 
                     6 = "Unknown spambot or drone"; 
                     7 = "DDOS Drone"; 
                     8 = "SOCKS Proxy"; 
                     9 = "HTTP Proxy"; 
                     10 = "ProxyChain"; 
                     13 = "Brute force attackers"; 
                     14 = "Open Wingate Proxy"; 
                     15 = "Compromised router / gateway"; 
                     17 = "Automatically determined botnet IPs (experimental)"; 
               255 = "Unknown"; 
                 }; 
            ban_unknown = no; 
           kline = "GZLINE *@%i 1d :Sunucudan uzaklastirildiniz. [ Güvenlik ] nedeniyle Wingate/Socks/Proxy baglanti girisleri yasaktir.[UCEPROTECT]"; 
     }; 
     blacklist { 
                           name = "dnsbl-2.uceprotect.net"; 
                           type = "A record reply"; 
                      reply { 
                            3 = "IRC Drone"; 
                          5 = "Bottler"; 
                          6 = "Unknown spambot or drone"; 
                          7 = "DDOS Drone"; 
                          8 = "SOCKS Proxy"; 
                          9 = "HTTP Proxy"; 
                          10 = "ProxyChain"; 
                          13 = "Brute force attackers"; 
                          14 = "Open Wingate Proxy"; 
                          15 = "Compromised router / gateway"; 
                          17 = "Automatically determined botnet IPs (experimental)"; 
                    255 = "Unknown"; 
                      }; 
                 ban_unknown = no; 
                kline = "GZLINE *@%i 1d :Sunucudan uzaklastirildiniz. [ Güvenlik ] nedeniyle Wingate/Socks/Proxy baglanti girisleri yasaktir.[UCEPROTECT]"; 
     };   
     blacklist { 
                                name = "dnsbl.inps.de"; 
                                type = "A record reply"; 
                           reply { 
                                 3 = "IRC Drone"; 
                               5 = "Bottler"; 
                               6 = "Unknown spambot or drone"; 
                               7 = "DDOS Drone"; 
                               8 = "SOCKS Proxy"; 
                               9 = "HTTP Proxy"; 
                               10 = "ProxyChain"; 
                               13 = "Brute force attackers"; 
                               14 = "Open Wingate Proxy"; 
                               15 = "Compromised router / gateway"; 
                               17 = "Automatically determined botnet IPs (experimental)"; 
                         255 = "Unknown"; 
                           }; 
                      ban_unknown = no; 
                     kline = "GZLINE *@%i 1d :Sunucudan uzaklastirildiniz. [ Güvenlik ] nedeniyle Wingate/Socks/Proxy baglanti girisleri yasaktir.[INPS]"; 
     }; 
     blacklist { 
                                     name = "proxy.block.transip.nl"; 
                                     type = "A record reply"; 
                                reply { 
                                      3 = "IRC Drone"; 
                                    5 = "Bottler"; 
                                    6 = "Unknown spambot or drone"; 
                                    7 = "DDOS Drone"; 
                                    8 = "SOCKS Proxy"; 
                                    9 = "HTTP Proxy"; 
                                    10 = "ProxyChain"; 
                                    13 = "Brute force attackers"; 
                                    14 = "Open Wingate Proxy"; 
                                    15 = "Compromised router / gateway"; 
                                    17 = "Automatically determined botnet IPs (experimental)"; 
                              255 = "Unknown"; 
                                }; 
                           ban_unknown = no; 
                          kline = "GZLINE *@%i 1d :Sunucudan uzaklastirildiniz. [ Güvenlik ] nedeniyle Wingate/Socks/Proxy baglanti girisleri yasaktir.[TRANSIP]"; 
     }; 
     blacklist { 
                                          name = "blacklist.myip.ms"; 
                                          type = "A record reply"; 
                                     reply { 
                                           3 = "IRC Drone"; 
                                         5 = "Bottler"; 
                                         6 = "Unknown spambot or drone"; 
                                         7 = "DDOS Drone"; 
                                         8 = "SOCKS Proxy"; 
                                         9 = "HTTP Proxy"; 
                                         10 = "ProxyChain"; 
                                         13 = "Brute force attackers"; 
                                         14 = "Open Wingate Proxy"; 
                                         15 = "Compromised router / gateway"; 
                                         17 = "Automatically determined botnet IPs (experimental)"; 
                                   255 = "Unknown"; 
                                     }; 
                                ban_unknown = no; 
                               kline = "GZLINE *@%i 1d :Sunucudan uzaklastirildiniz. [ Güvenlik ] nedeniyle Wingate/Socks/Proxy baglanti girisleri yasaktir.[MYIP]"; 
     }; 
     blacklist { 
                                               name = "bl.spamcop.net"; 
                                               type = "A record reply"; 
                                          reply { 
                                                3 = "IRC Drone"; 
                                              5 = "Bottler"; 
                                              6 = "Unknown spambot or drone"; 
                                              7 = "DDOS Drone"; 
                                              8 = "SOCKS Proxy"; 
                                              9 = "HTTP Proxy"; 
                                              10 = "ProxyChain"; 
                                              13 = "Brute force attackers"; 
                                              14 = "Open Wingate Proxy"; 
                                              15 = "Compromised router / gateway"; 
                                              17 = "Automatically determined botnet IPs (experimental)"; 
                                        255 = "Unknown"; 
                                          }; 
                                     ban_unknown = no; 
                                    kline = "GZLINE *@%i 1d :Sunucudan uzaklastirildiniz. [ Güvenlik ] nedeniyle Wingate/Socks/Proxy baglanti girisleri yasaktir.[SPAMCOP]"; 
     }; 
      /* 
       * You can report the insecure proxies you find to a DNSBL also! 
       * The remaining directives in this section are only needed if you 
       * intend to do this. Reports are sent by email, one email per IP 
       * address. The format does support multiple addresses in one email, 
       * but we don't know of any servers that are detecting enough insecure 
       * proxies for this to be really necessary. 
       */ 
      /* 
       * Email address to send reports FROM. If you intend to send reports, 
       * please pick an email address that we can actually send mail to 
       * should we ever need to contact you. 
       */ 
 #     dnsbl_from = "mybopm@myserver.org"; 
      /* 
       * Email address to send reports TO. 
      * For example DroneBL: 
       */ 
 #     dnsbl_to = "bopm-report@dronebl.org"; 
      /* 
       * Full path to your sendmail binary. Even if your system does not 
       * use sendmail, it probably does have a binary called "sendmail" 
       * present in /usr/sbin or /usr/lib. If you don't set this, no 
       * proxies will be reported. 
       */ 
 #     sendmail = "/usr/sbin/sendmail"; 
 }; 
 /* 
  * The short explanation: 
  * 
  * This is where you define what ports/protocols to check for. You can have 
  * multiple scanner blocks and then choose which users will get scanned by 
  * which scanners further down. 
  * 
  * The long explanation: 
  * 
  * Scanner defines a virtual scanner. For each user being scanned, a scanner 
  * will use a file descriptor (and subsequent connection) for each protocol. 
  * Once connecting it will negotiate the proxy to connect to 
  * target_ip:target_port (target_ip MUST be an IP). 
  * 
  * Once connected, any data passed through the proxy will be checked to see if 
  * target_string is contained within that data. If it is the proxy is 
  * considered open. If the connection is closed at any point before 
  * target_string is matched, or if at least max_read bytes are read from the 
  * connection, the negotiation is considered failed. 
  */ 
 scanner { 
      /* 
       * Unique name of this scanner. This is used further down in the 
       * user {} blocks to decide which users get affected by which 
       * scanners. 
       */ 
      name="default"; 
      /* 
       * HTTP CONNECT - very common proxy protocol supported by widely known 
       * software such as Squid and Apache. The most common sort of 
       * insecure proxy and found on a multitude of weird ports too. Offers 
       * transparent two way TCP connections. 
       */ 
     protocol = ROUTER:23; 
     protocol = SOCKS4:559; 
     protocol = HTTPPOST:3128; 
     protocol = SOCKS4:1080; 
     protocol = SOCKS4:1083; 
      protocol = HTTP:8080; 
     protocol = SOCKS5:1182; 
     protocol = HTTP:3128; 
     protocol = HTTPPOST:8080; 
     protocol = SOCKS4:9999; 
     protocol = HTTPPOST:80; 
     protocol = SOCKS5:1080; 
      protocol = SOCKS5:1083; 
     protocol = HTTP:63000; 
     protocol = HTTP:8000; 
     protocol = HTTPPOST:808; 
     protocol = HTTP:80; 
     protocol = HTTPPOST:6588; 
     protocol = HTTP:6588; 
     protocol = SOCKS5:3128; 
     protocol = SOCKS5:10080; 
     protocol = HTTPPOST:4480; 
     protocol = SOCKS4:6664; 
     protocol = SOCKS4:63808; 
     protocol = HTTP:6667; 
     protocol = SOCKS4:19991; 
     protocol = SOCKS4:1098; 
     protocol = SOCKS4:10000; 
     protocol = SOCKS4:4471; 
     protocol = HTTP:65506; 
     protocol = HTTP:63809; 
     protocol = SOCKS5:9090; 
     protocol = HTTP:9090; 
     protocol = HTTP:6668; 
     protocol = SOCKS4:58; 
     protocol = SOCKS5:58; 
     protocol = SOCKS4:6969; 
     protocol = WINGATE:23; 
     protocol = SOCKS5:3380; 
     protocol = SOCKS4:40; 
     protocol = SOCKS5:443; 
     protocol = SOCKS4:8888; 
     protocol = HTTPPOST:9090; 
     protocol = HTTP:5490; 
     protocol = SOCKS4:8080; 
     protocol = SOCKS5:6969; 
     protocol = SOCKS4:1026; 
     protocol = SOCKS4:1025; 
     protocol = HTTP:8888; 
     protocol = HTTP:6669; 
     protocol = HTTP:8090; 
     protocol = HTTP:808; 
     protocol = HTTPPOST:8080; 
     protocol = SOCKS5:1029; 
     protocol = SOCKS4:41080; 
     protocol = SOCKS5:8020; 
     protocol = SOCKS5:6000; 
     protocol = HTTPPOST:8081; 
     protocol = HTTP:4480; 
     protocol = SOCKS5:1027; 
     protocol = SOCKS4:1028; 
     protocol = HTTP:3332; 
     protocol = SOCKS5:8888; 
     protocol = SOCKS5:1028; 
     protocol = SOCKS4:3330; 
     protocol = SOCKS4:29992; 
     protocol = SOCKS4:1234; 
     protocol = SOCKS4:1029; 
     protocol = HTTP:5000; 
     protocol = HTTP:443; 
     protocol = SOCKS5:1813; 
     protocol = SOCKS5:1081; 
     protocol = SOCKS5:1026; 
      protocol = SOCKS5:13458; 
     protocol = SOCKS4:1337; 
     protocol = SOCKS4:1050; 
     protocol = HTTP:1080; 
     protocol = SOCKS5:9999; 
     protocol = SOCKS5:9100; 
     protocol = SOCKS5:19991; 
     protocol = SOCKS5:1098; 
     protocol = SOCKS4:9100; 
     protocol = SOCKS4:7080; 
     protocol = SOCKS4:1033; 
      protocol = SOCKS4:9901; 
      protocol = SOCKS4:808; 
     protocol = SOCKS4:8118; 
     protocol = HTTP:9000; 
     protocol = HTTP:5800; 
     protocol = HTTP:5634; 
     protocol = HTTP:4471; 
     protocol = HTTP:3382; 
     protocol = SOCKS5:1200; 
     protocol = SOCKS5:1039; 
     protocol = SOCKS5:1025; 
     protocol = SOCKS4:8002; 
     protocol = SOCKS4:6748; 
     protocol = SOCKS4:44548; 
     protocol = SOCKS4:3380; 
     protocol = SOCKS4:32167; 
     protocol = SOCKS4:2000; 
     protocol = SOCKS4:1979; 
     protocol = SOCKS4:12654; 
     protocol = SOCKS4:11225; 
     protocol = SOCKS4:1066; 
     protocol = SOCKS4:1030; 
     protocol = SOCKS4:1027; 
     protocol = SOCKS4:10099; 
      protocol = SOCKS4:8079; 
      protocol = SOCKS4:8088; 
      protocol = SOCKS4:8909; 
     protocol = SOCKS4:6588; 
      protocol = SOCKS4:553; 
      protocol = SOCKS4:56142; 
      protocol = SOCKS4:10123; 
     protocol = SOCKS4:1337; 
     protocol = HTTP:81; 
     protocol = HTTP:6665; 
     protocol = HTTP:6664; 
     protocol = HTTP:6663; 
     protocol = SOCKS5:8278; 
     protocol = SOCKS5:6748; 
     protocol = SOCKS5:4914; 
     protocol = SOCKS5:4471; 
     protocol = SOCKS5:29992; 
     protocol = SOCKS5:17235; 
     protocol = SOCKS5:1234; 
     protocol = SOCKS5:1202; 
     protocol = SOCKS5:1180; 
     protocol = SOCKS5:1075; 
     protocol = SOCKS5:1033; 
      protocol = SOCKS5:6666; 
      protocol = SOCKS5:6673; 
     protocol = SOCKS5:8082; 
      protocol = SOCKS4:23456; 
      protocol = SOCKS5:3129; 
      protocol = SOCKS4:63081;       
     protocol = SOCKS5:10000; 
     protocol = SOCKS4:8020; 
     protocol = SOCKS4:4044; 
     protocol = SOCKS4:3128; 
     protocol = SOCKS4:3127; 
     protocol = SOCKS4:28882; 
     protocol = SOCKS4:24973; 
     protocol = SOCKS4:21421; 
     protocol = SOCKS4:1182; 
     protocol = SOCKS4:1032; 
     protocol = SOCKS4:10242; 
     protocol = HTTPPOST:8089; 
     protocol = HTTP:8082; 
     protocol = HTTP:6661; 
     protocol = HTTP:35233; 
     protocol = HTTP:19991; 
     protocol = HTTP:1098; 
     protocol = HTTP:1050; 
     protocol = SOCKS5:9988; 
     protocol = SOCKS5:8080; 
     protocol = SOCKS5:8009; 
     protocol = SOCKS5:6561; 
     protocol = SOCKS5:24971; 
     protocol = SOCKS5:18844; 
     protocol = SOCKS5:1122; 
     protocol = SOCKS5:10777; 
     protocol = SOCKS5:1030; 
     protocol = SOCKS5:10130; 
     protocol = SOCKS5:10099; 
     protocol = SOCKS4:8751; 
     protocol = SOCKS4:8278; 
     protocol = SOCKS4:8111; 
     protocol = SOCKS4:7007; 
     protocol = SOCKS4:6551; 
     protocol = SOCKS4:5353; 
     protocol = SOCKS4:443; 
     protocol = SOCKS4:43341; 
     protocol = SOCKS4:3801; 
     protocol = SOCKS4:2280; 
     protocol = SOCKS4:1978; 
     protocol = SOCKS4:1212; 
     protocol = SOCKS4:1039; 
     protocol = SOCKS4:1031; 
     protocol = HTTPPOST:81; 
     protocol = HTTP:9988; 
     protocol = HTTP:7868; 
     protocol = HTTP:7070; 
     protocol = HTTP:444; 
     protocol = HTTP:1200; 
     protocol = HTTP:1039; 
      protocol = SOCKS5:28280; 
 protocol = SOCKS5:30373; 
 protocol = SOCKS5:35516; 
 protocol = SOCKS5:10287; 
 protocol = SOCKS5:3781; 
 protocol = SOCKS5:60725; 
 protocol = SOCKS5:47499; 
 protocol = SOCKS5:39729; 
 protocol = SOCKS5:9521; 
 protocol = SOCKS5:62051; 
 protocol = SOCKS5:1338; 
 protocol = SOCKS5:42799; 
 protocol = SOCKS5:57559; 
 protocol = SOCKS5:46061; 
 protocol = SOCKS5:57607; 
 protocol = SOCKS5:1783; 
 protocol = SOCKS5:1794; 
 protocol = SOCKS5:32057; 
 protocol = SOCKS5:29971; 
 protocol = SOCKS5:23456; 
 protocol = SOCKS5:56827; 
 protocol = SOCKS5:1736; 
 protocol = SOCKS5:1893; 
 protocol = SOCKS5:23446; 
 protocol = SOCKS5:43621; 
 protocol = SOCKS5:1066; 
 protocol = SOCKS5:48720; 
 protocol = SOCKS5:2017; 
 protocol = SOCKS5:2214; 
 protocol = SOCKS5:10002; 
 protocol = SOCKS5:5408; 
 protocol = SOCKS5:8618; 
 protocol = SOCKS5:11110; 
 protocol = SOCKS5:50019; 
 protocol = SOCKS5:7890; 
 protocol = SOCKS5:21722; 
 protocol = SOCKS5:26764; 
 protocol = SOCKS5:8542; 
 protocol = SOCKS5:6996; 
 protocol = SOCKS5:2699; 
 protocol = SOCKS5:36298; 
 protocol = SOCKS5:60775; 
 protocol = SOCKS5:26803; 
 protocol = SOCKS5:44795; 
 protocol = SOCKS5:1443; 
 protocol = SOCKS5:13579; 
 protocol = SOCKS5:7123; 
 protocol = SOCKS5:1983; 
 protocol = SOCKS5:57559; 
 protocol = SOCKS5:49491; 
 protocol = SOCKS5:13289; 
 protocol = SOCKS5:17124; 
 protocol = SOCKS5:34468; 
 protocol = SOCKS5:1240; 
 protocol = SOCKS5:28181; 
 protocol = SOCKS5:30311; 
 protocol = SOCKS5:9999; 
 protocol = SOCKS5:16970; 
 protocol = SOCKS5:8082; 
 protocol = SOCKS5:23472; 
 protocol = SOCKS5:1777; 
 protocol = SOCKS5:48720; 
 protocol = SOCKS5:6160; 
 protocol = SOCKS5:1954; 
 protocol = SOCKS5:9737; 
 protocol = SOCKS5:8324; 
 protocol = SOCKS5:35632; 
 protocol = SOCKS5:16461; 
 protocol = SOCKS5:30311; 
 protocol = SOCKS5:1629; 
 protocol = SOCKS5:1127; 
 protocol = SOCKS5:1973; 
 protocol = SOCKS5:1794; 
 protocol = SOCKS5:23114; 
 protocol = SOCKS5:17619; 
 protocol = SOCKS5:1493; 
 protocol = SOCKS5:42799; 
 protocol = SOCKS5:7422; 
 protocol = SOCKS5:1110; 
 protocol = SOCKS5:10134; 
 protocol = SOCKS5:49207; 
 protocol = SOCKS5:30373; 
 protocol = SOCKS5:40969; 
 protocol = SOCKS5:62135; 
 protocol = SOCKS5:20817; 
 protocol = SOCKS5:1498; 
 protocol = SOCKS5:1983; 
 protocol = SOCKS5:4651; 
 protocol = SOCKS5:37393; 
 protocol = SOCKS5:37393; 
 protocol = SOCKS5:29397; 
 protocol = SOCKS5:1315; 
 protocol = SOCKS5:15174; 
 protocol = SOCKS4:28280; 
 protocol = SOCKS4:30373; 
 protocol = SOCKS4:35516; 
 protocol = SOCKS4:10287; 
 protocol = SOCKS4:3781; 
 protocol = SOCKS4:60725; 
 protocol = SOCKS4:47499; 
 protocol = SOCKS4:39729; 
 protocol = SOCKS4:9521; 
 protocol = SOCKS4:62051; 
 protocol = SOCKS4:1338; 
 protocol = SOCKS4:42799; 
 protocol = SOCKS4:57559; 
 protocol = SOCKS4:46061; 
 protocol = SOCKS4:57607; 
 protocol = SOCKS4:1783; 
 protocol = SOCKS4:1794; 
 protocol = SOCKS4:32057; 
 protocol = SOCKS4:29971; 
 protocol = SOCKS4:23456; 
 protocol = SOCKS4:56827; 
 protocol = SOCKS4:1736; 
 protocol = SOCKS4:1893; 
 protocol = SOCKS4:23446; 
 protocol = SOCKS4:43621; 
 protocol = SOCKS4:1066; 
 protocol = SOCKS4:48720; 
 protocol = SOCKS4:2017; 
 protocol = SOCKS4:2214; 
 protocol = SOCKS4:36298; 
 protocol = SOCKS4:60775; 
 protocol = SOCKS4:26803; 
 protocol = SOCKS4:44795; 
 protocol = SOCKS4:1443; 
 protocol = SOCKS4:7123; 
 protocol = SOCKS4:1983; 
 protocol = SOCKS4:57559; 
 protocol = SOCKS4:49491; 
 protocol = SOCKS4:13289; 
 protocol = SOCKS4:2543; 
 protocol = SOCKS4:17124; 
 protocol = SOCKS4:34468; 
 protocol = SOCKS4:1240; 
 protocol = SOCKS4:28181; 
 protocol = SOCKS4:30311; 
 protocol = SOCKS4:9999; 
 protocol = SOCKS4:16970; 
 protocol = SOCKS4:8082; 
 protocol = SOCKS4:23472; 
 protocol = SOCKS4:1777; 
 protocol = SOCKS4:30319; 
 protocol = SOCKS4:22626; 
 protocol = SOCKS4:48720; 
 protocol = SOCKS4:30311; 
 protocol = SOCKS4:1629; 
 protocol = SOCKS4:1127; 
 protocol = SOCKS4:1973; 
 protocol = SOCKS4:1794; 
 protocol = SOCKS4:23114; 
 protocol = SOCKS4:17619; 
 protocol = SOCKS4:1493; 
 protocol = SOCKS4:42799; 
 protocol = SOCKS4:7422; 
 protocol = SOCKS4:1110; 
 protocol = SOCKS4:10134; 
 protocol = SOCKS4:49207; 
 protocol = SOCKS4:30373; 
 protocol = SOCKS4:40969; 
 protocol = SOCKS4:62135; 
 protocol = SOCKS4:20817; 
 protocol = SOCKS4:1498; 
 protocol = SOCKS4:1983; 
 protocol = SOCKS4:4651; 
 protocol = SOCKS4:37393; 
 protocol = SOCKS4:37393; 
 protocol = SOCKS4:29397; 
 protocol = SOCKS4:1315; 
 protocol = SOCKS4:12059; 
 protocol = SOCKS4:21618; 
 protocol = SOCKS4:6073; 
 protocol = SOCKS4:8262; 
 protocol = SOCKS4:7136; 
 protocol = SOCKS4:34790; 
 protocol = SOCKS4:8876; 
 protocol = SOCKS4:96; 
 protocol = SOCKS4:42829; 
 protocol = SOCKS4:26908; 
 protocol = SOCKS4:52135; 
 protocol = SOCKS4:62231; 
 protocol = SOCKS4:43893; 
 protocol = SOCKS4:5379; 
 protocol = SOCKS4:56413; 
 protocol = SOCKS4:34573; 
 protocol = SOCKS4:43780; 
 protocol = SOCKS4:27681; 
 protocol = SOCKS4:34225; 
 protocol = SOCKS4:61789; 
 protocol = SOCKS4:35858; 
 protocol = SOCKS4:34954; 
 protocol = SOCKS4:33767; 
 protocol = SOCKS4:14780; 
 protocol = SOCKS4:39751; 
 protocol = SOCKS4:2957; 
 protocol = SOCKS4:31583; 
 protocol = SOCKS4:47885; 
 protocol = SOCKS4:12569; 
 protocol = SOCKS4:12612; 
 protocol = SOCKS4:15508; 
 protocol = SOCKS4:12667; 
 protocol = SOCKS4:35723; 
 protocol = SOCKS4:44089; 
 protocol = SOCKS4:34576; 
 protocol = SOCKS4:56505; 
 protocol = SOCKS4:40642; 
 protocol = SOCKS4:43079; 
 protocol = SOCKS4:11347; 
 protocol = SOCKS4:48243; 
 protocol = SOCKS4:12345; 
 protocol = SOCKS4:11180; 
 protocol = SOCKS4:4647; 
 protocol = SOCKS4:33185; 
 protocol = SOCKS4:39801; 
 protocol = SOCKS4:12321; 
 protocol = SOCKS4:6363; 
 protocol = SOCKS4:20979; 
 protocol = SOCKS4:39995; 
 protocol = SOCKS4:16673; 
 protocol = SOCKS4:6193; 
 protocol = SOCKS4:19637; 
 protocol = SOCKS4:39999; 
 protocol = SOCKS4:23785; 
 protocol = SOCKS4:24197; 
 protocol = SOCKS4:63747; 
 protocol = SOCKS4:11190; 
 protocol = SOCKS4:48905; 
 protocol = SOCKS4:55391; 
 protocol = SOCKS4:37651; 
 protocol = SOCKS4:23586; 
 protocol = SOCKS4:22899; 
      /* 
       * SOCKS4/5 - well known proxy protocols, probably the second most 
       * common for insecure proxies, also offers transparent two way TCP 
       * connections. Fortunately largely confined to port 1080. 
       */ 
      protocol = SOCKS4:1080; 
      protocol = SOCKS5:1080; 
      /* 
       * IP this scanner will bind to. Use this if you need your scans to 
       * come FROM a particular interface on the machine you run BOPM from. 
       * If you don't understand what this means, please leave this 
       * commented out, as this is a major source of support queries! 
       */ 
 #     vhost = "127.0.0.1"; 
       fd = 512; 
           max_read = 8096; 
           timeout = 30; 
      /*   
       * Target IP to tell the proxy to connect to 
       *   
       * !!! THIS MUST BE CHANGED !!! 
       * 
       * You cannot instruct the proxy to connect to itself! The easiest 
       * thing to do would be to set this to the IP of your ircd and then 
       * keep the default target_strings. 
       * 
       * Please use an IP that is publically reachable from anywhere on the 
       * Internet, because you have no way of knowing where the insecure 
       * proxies will be located. Just because you and your BOPM can 
       * connect to your ircd on some private IP like 192.168.0.1, does not 
       * mean that the insecure proxies out there on the Internet will be 
       * able to. And if they never connect, you will never detect them. 
       * 
       * Remember to change this setting for every scanner you configure. 
       * 
       */ 
      target_ip   = "85.12.8.96"; 
      /* 
       * Target port to tell the proxy to connect to. This is usually 
       * something like 6667. Basically any client-usable port. 
       */ 
      target_port  = 6667; 
      /*   
       * Target string we check for in the data read back by the scanner. 
       * This should be some string out of the data that your ircd usually 
       * sends on connect. The example below will work on most 
       * hybrid/bahamut ircds. Multiple target strings are allowed. 
       * 
       * NOTE: Try to keep the number of target strings to a minimum. Two 
       *    should be fine. One for normal connections and one for throttled 
       *    connections. Comment out any others for efficiency. 
       */ 
      /* Usually first line sent to client on connection to ircd.   
       * If your ircd supports a more specific line (see below), 
       * using it will reduce false positives. 
       */ 
      target_string = "NOTICE AUTH :*** Looking up your hostname..."; 
      /* Some ircds give a source for the NOTICE AUTH (bahamut for example). 
       * It is recommended you use the following instead of the generic 
       * "*** Looking up your hostname..." if your ircd supports it.   
       * This will reduce the chances of false positives. 
       */ 
 #     target_string = "ERROR :Closing Link: *"; 
      /* If you try to connect too fast, you'll be throttled by your own 
       * ircd. Here's what a hybrid throttle message looks like: 
       */ 
      target_string = "ERROR :Closing Link: *"; 
      /* And the same for bahamut (comment this out if you're not using bahamut): */ 
      target_string = "ERROR :Your host is trying to (re)connect too fast -- throttled."; 
 }; 
 scanner { 
      name = "extended"; 
      protocol = HTTP:81; 
      protocol = HTTP:8000; 
      protocol = HTTP:8001; 
      protocol = HTTP:8081; 
      protocol = HTTPPOST:8080; 
      protocol = HTTPPOST:81; 
      protocol = HTTPPOST:6588; 
 #     protocol = HTTPPOST:4480; 
      protocol = HTTPPOST:8000; 
      protocol = HTTPPOST:8001; 
      protocol = HTTPPOST:8080; 
      protocol = HTTPPOST:8081; 
      /* 
       * IRCnet have seen many socks5 on these ports, more than on the 
       * standard ports even. 
       */ 
 protocol = SOCKS5:4438; 
 protocol = SOCKS5:5104; 
 protocol = SOCKS5:5113; 
 protocol = SOCKS5:5262; 
 protocol = SOCKS5:5634; 
 protocol = SOCKS5:6552; 
 protocol = SOCKS5:6561; 
 protocol = SOCKS5:7464; 
 protocol = SOCKS5:7810; 
 protocol = SOCKS5:8130; 
 protocol = SOCKS5:8148; 
 protocol = SOCKS5:8520; 
 protocol = SOCKS5:8814; 
 protocol = SOCKS5:9186; 
 protocol = SOCKS5:9447; 
 protocol = SOCKS5:9578; 
 protocol = SOCKS5:6666; 
 protocol = SOCKS5:6673; 
 protocol = SOCKS5:28280; 
 protocol = SOCKS5:30373; 
 protocol = SOCKS5:35516; 
 protocol = SOCKS5:10287; 
 protocol = SOCKS5:3781; 
 protocol = SOCKS5:60725; 
 protocol = SOCKS5:47499; 
 protocol = SOCKS5:39729; 
 protocol = SOCKS5:9521; 
 protocol = SOCKS5:62051; 
 protocol = SOCKS5:1338; 
 protocol = SOCKS5:42799; 
 protocol = SOCKS5:57559; 
 protocol = SOCKS5:46061; 
 protocol = SOCKS5:57607; 
 protocol = SOCKS5:1783; 
 protocol = SOCKS5:1794; 
 protocol = SOCKS5:32057; 
 protocol = SOCKS5:29971; 
 protocol = SOCKS5:23456; 
 protocol = SOCKS5:56827; 
 protocol = SOCKS5:1736; 
 protocol = SOCKS5:1893; 
 protocol = SOCKS5:23446; 
 protocol = SOCKS5:43621; 
 protocol = SOCKS5:1066; 
 protocol = SOCKS5:48720; 
 protocol = SOCKS5:2017; 
 protocol = SOCKS5:36298; 
 protocol = SOCKS5:60775; 
 protocol = SOCKS5:26803; 
 protocol = SOCKS5:44795; 
 protocol = SOCKS5:1443; 
 protocol = SOCKS5:7123; 
 protocol = SOCKS5:1983; 
 protocol = SOCKS5:57559; 
 protocol = SOCKS5:49491; 
 protocol = SOCKS5:13289; 
 protocol = SOCKS5:17124; 
 protocol = SOCKS5:34468; 
 protocol = SOCKS5:1240; 
 protocol = SOCKS5:28181; 
 protocol = SOCKS5:30311; 
 protocol = SOCKS5:9999; 
 protocol = SOCKS5:48302; 
 protocol = SOCKS5:16970; 
 protocol = SOCKS5:8082; 
 protocol = SOCKS5:23472; 
 protocol = SOCKS5:1777; 
 protocol = SOCKS5:48720; 
 protocol = SOCKS5:30311; 
 protocol = SOCKS5:1629; 
 protocol = SOCKS5:1127; 
 protocol = SOCKS5:1973; 
 protocol = SOCKS5:1794; 
 protocol = SOCKS5:23114; 
 protocol = SOCKS5:17619; 
 protocol = SOCKS5:1493; 
 protocol = SOCKS5:42799; 
 protocol = SOCKS5:7422; 
 protocol = SOCKS5:1110; 
 protocol = SOCKS5:10134; 
 protocol = SOCKS5:49207; 
 protocol = SOCKS5:30373; 
 protocol = SOCKS5:62135; 
 protocol = SOCKS5:20817; 
 protocol = SOCKS5:1498; 
 protocol = SOCKS5:1983; 
 protocol = SOCKS5:4651; 
 protocol = SOCKS5:37393; 
 protocol = SOCKS5:37393; 
 protocol = SOCKS5:29397; 
 protocol = SOCKS5:1315; 
 protocol = SOCKS5:44005; 
 protocol = SOCKS5:10179; 
 protocol = SOCKS5:31125; 
 protocol = SOCKS5:49061; 
 protocol = SOCKS5:24397; 
 protocol = SOCKS5:7499; 
 protocol = SOCKS5:4757; 
 protocol = SOCKS5:443; 
 protocol = SOCKS5:28051; 
 protocol = SOCKS5:6275; 
 protocol = SOCKS5:48970; 
 protocol = SOCKS5:47269; 
 protocol = SOCKS5:4717; 
 protocol = SOCKS5:62423; 
 protocol = SOCKS5:36201; 
 protocol = SOCKS5:41171; 
 protocol = SOCKS5:33; 
 protocol = SOCKS5:49309; 
 protocol = SOCKS5:9853; 
 protocol = SOCKS5:9050; 
 protocol = SOCKS5:9123; 
 protocol = SOCKS5:6518; 
 protocol = SOCKS5:21187; 
 protocol = SOCKS5:36901; 
 protocol = SOCKS5:56413; 
 protocol = SOCKS5:34573; 
 protocol = SOCKS5:24070; 
 protocol = SOCKS5:36481; 
 protocol = SOCKS5:3983; 
 protocol = SOCKS5:23306; 
 protocol = SOCKS5:29607; 
 protocol = SOCKS5:28398; 
 protocol = SOCKS5:27681; 
 protocol = SOCKS5:21105; 
 protocol = SOCKS5:34225; 
 protocol = SOCKS5:24613; 
 protocol = SOCKS5:6193; 
 protocol = SOCKS5:19637; 
 protocol = SOCKS5:33767; 
 protocol = SOCKS5:60079; 
 protocol = SOCKS5:1080; 
 protocol = SOCKS5:11711; 
 protocol = SOCKS5:9100; 
 protocol = SOCKS5:14663; 
 protocol = SOCKS5:21947; 
 protocol = SOCKS5:5716; 
 protocol = SOCKS5:53357; 
 protocol = SOCKS5:16945; 
 protocol = SOCKS5:13230; 
 protocol = SOCKS5:16337; 
 protocol = SOCKS5:32722; 
 protocol = SOCKS5:60923; 
 protocol = SOCKS5:3699; 
 protocol = SOCKS5:48365; 
 protocol = SOCKS5:20243; 
 protocol = SOCKS5:29723; 
 protocol = SOCKS5:7136; 
 protocol = SOCKS5:57165; 
 protocol = SOCKS5:58929; 
 protocol = SOCKS5:42829; 
 protocol = SOCKS5:6997; 
 protocol = SOCKS5:34605; 
 protocol = SOCKS5:62231; 
 protocol = SOCKS5:43893; 
 protocol = SOCKS5:10563; 
 protocol = SOCKS5:43780; 
 protocol = SOCKS5:54854; 
 protocol = SOCKS5:20979; 
 protocol = SOCKS5:16533; 
 protocol = SOCKS5:16673; 
 protocol = SOCKS5:17318; 
 protocol = SOCKS5:39999; 
 protocol = SOCKS5:61937; 
 protocol = SOCKS5:38514; 
 protocol = SOCKS5:39751; 
 protocol = SOCKS5:55511; 
 protocol = SOCKS5:56069; 
 protocol = SOCKS5:34576; 
 protocol = SOCKS5:33064; 
 protocol = SOCKS5:31945; 
 protocol = SOCKS5:50547; 
 protocol = SOCKS5:28676; 
 protocol = SOCKS5:35858; 
 protocol = SOCKS5:21421; 
 protocol = SOCKS5:12612; 
 protocol = SOCKS5:21618; 
 protocol = SOCKS5:46685; 
 protocol = SOCKS5:36985; 
 protocol = SOCKS5:4647; 
 protocol = SOCKS5:16349; 
 protocol = SOCKS5:49616; 
 protocol = SOCKS5:5379; 
 protocol = SOCKS5:48529; 
 protocol = SOCKS5:4701; 
 protocol = SOCKS5:30973; 
 protocol = SOCKS5:38541; 
 protocol = SOCKS5:61789; 
 protocol = SOCKS5:53393; 
 protocol = SOCKS5:31209; 
 protocol = SOCKS5:55391; 
 protocol = SOCKS5:34497; 
 protocol = SOCKS5:2957; 
 protocol = SOCKS5:22899; 
 protocol = SOCKS5:35723; 
 protocol = SOCKS5:34790; 
 protocol = SOCKS5:13677; 
 protocol = SOCKS5:27575; 
 protocol = SOCKS5:33185; 
 protocol = SOCKS5:11341; 
 protocol = SOCKS5:24177; 
 protocol = SOCKS5:37029; 
 protocol = SOCKS5:19826; 
 protocol = SOCKS5:15539; 
 protocol = SOCKS5:16477; 
 protocol = SOCKS5:36817; 
 protocol = SOCKS5:12059; 
 protocol = SOCKS5:8262; 
 protocol = SOCKS5:21027; 
 protocol = SOCKS5:8876; 
 protocol = SOCKS5:51607; 
 protocol = SOCKS5:96; 
 protocol = SOCKS5:26908; 
 protocol = SOCKS5:8580; 
 protocol = SOCKS5:39801; 
 protocol = SOCKS5:21118; 
 protocol = SOCKS5:13861; 
 protocol = SOCKS5:8115; 
 protocol = SOCKS5:21066; 
 protocol = SOCKS5:34954; 
 protocol = SOCKS5:14780; 
 protocol = SOCKS5:57411; 
 protocol = SOCKS5:20222; 
 protocol = SOCKS5:40642; 
 protocol = SOCKS5:11347; 
 protocol = SOCKS5:33; 
 protocol = SOCKS5:52135; 
 protocol = SOCKS5:48735; 
 protocol = SOCKS5:52601; 
 protocol = SOCKS5:13589; 
 protocol = SOCKS5:1336; 
 protocol = SOCKS5:2235; 
 protocol = SOCKS5:26225; 
 protocol = SOCKS5:31238; 
 protocol = SOCKS5:3288; 
 protocol = SOCKS5:21; 
 protocol = SOCKS5:31583; 
 protocol = SOCKS5:47885; 
 protocol = SOCKS5:12569; 
 protocol = SOCKS5:15508; 
 protocol = SOCKS5:12667; 
 protocol = SOCKS5:44089; 
 protocol = SOCKS5:56505; 
 protocol = SOCKS5:43079; 
 protocol = SOCKS5:16444; 
 protocol = SOCKS5:21471; 
 protocol = SOCKS5:43939; 
 protocol = SOCKS5:48243; 
 protocol = SOCKS5:12345; 
 protocol = SOCKS5:11180; 
 protocol = SOCKS5:12321; 
 protocol = SOCKS5:9124; 
 protocol = SOCKS5:6363; 
 protocol = SOCKS5:4635; 
 protocol = SOCKS5:39995; 
 protocol = SOCKS5:23785; 
 protocol = SOCKS5:24197; 
 protocol = SOCKS5:56193; 
 protocol = SOCKS5:63747; 
 protocol = SOCKS5:8807; 
 protocol = SOCKS5:54348; 
 protocol = SOCKS5:11190; 
 protocol = SOCKS5:37651; 
 protocol = SOCKS5:12446; 
 protocol = SOCKS5:48483; 
 protocol = SOCKS5:15505; 
 protocol = SOCKS5:96; 
 protocol = SOCKS5:61629; 
 protocol = SOCKS5:43829; 
 protocol = SOCKS5:20561; 
 protocol = SOCKS5:36062; 
 protocol = SOCKS5:52981; 
 protocol = SOCKS5:5107; 
 protocol = SOCKS5:20154; 
 protocol = SOCKS5:47841; 
 protocol = SOCKS5:21; 
 protocol = SOCKS5:60214; 
 protocol = SOCKS5:33901; 
 protocol = SOCKS5:14873; 
 protocol = SOCKS5:47182; 
 protocol = SOCKS5:8493; 
 protocol = SOCKS5:10307; 
 protocol = SOCKS5:49135; 
 protocol = SOCKS5:62447; 
 protocol = SOCKS5:51839; 
 protocol = SOCKS5:48534; 
 protocol = SOCKS5:10597; 
 protocol = SOCKS5:3648; 
 protocol = SOCKS5:3813; 
 protocol = SOCKS5:57665; 
 protocol = SOCKS5:9925; 
 protocol = SOCKS5:2617; 
 protocol = SOCKS5:48315; 
 protocol = SOCKS5:8447; 
 protocol = SOCKS5:10586; 
 protocol = SOCKS5:43307; 
 protocol = SOCKS5:6543; 
 protocol = SOCKS5:6373; 
 protocol = SOCKS5:17891; 
 protocol = SOCKS5:25533; 
 protocol = SOCKS5:50649; 
 protocol = SOCKS5:8312; 
 protocol = SOCKS5:14913; 
 protocol = SOCKS5:47529; 
 protocol = SOCKS5:60673; 
 protocol = SOCKS5:7797; 
 protocol = SOCKS5:48646; 
 protocol = SOCKS5:2543; 
 protocol = SOCKS5:14893; 
 protocol = SOCKS5:6851; 
 protocol = SOCKS5:44592; 
 protocol = SOCKS5:14133; 
 protocol = SOCKS5:2603; 
 protocol = SOCKS5:32435; 
 protocol = SOCKS5:5577; 
 protocol = SOCKS5:26335; 
 protocol = SOCKS5:39841; 
 protocol = SOCKS5:52024; 
 protocol = SOCKS5:4407; 
 protocol = SOCKS5:50719; 
 protocol = SOCKS5:31367; 
 protocol = SOCKS5:33249; 
 protocol = SOCKS5:40108; 
 protocol = SOCKS5:7121; 
 protocol = SOCKS5:52466; 
 protocol = SOCKS5:50797; 
 protocol = SOCKS5:22483; 
 protocol = SOCKS5:30519; 
 protocol = SOCKS5:48633; 
 protocol = SOCKS5:58161; 
 protocol = SOCKS5:4177; 
 protocol = SOCKS5:44822; 
 protocol = SOCKS5:37599; 
 protocol = SOCKS5:5173; 
 protocol = SOCKS5:60459; 
 protocol = SOCKS5:6393; 
 protocol = SOCKS5:48220; 
 protocol = SOCKS5:56264; 
 protocol = SOCKS5:2875; 
 protocol = SOCKS5:2498; 
 protocol = SOCKS5:44143; 
 protocol = SOCKS5:44683; 
 protocol = SOCKS5:25673; 
 protocol = SOCKS5:19353; 
 protocol = SOCKS5:6173; 
 protocol = SOCKS5:57814; 
 protocol = SOCKS5:5455; 
 protocol = SOCKS5:23586; 
 protocol = SOCKS5:3403; 
 protocol = SOCKS5:1490; 
 protocol = SOCKS5:22626; 
 protocol = SOCKS5:2699; 
 protocol = SOCKS5:34809; 
 protocol = SOCKS5:6073; 
 protocol = SOCKS5:11136; 
 protocol = SOCKS5:33424; 
 protocol = SOCKS5:27190; 
 protocol = SOCKS5:47215; 
 protocol = SOCKS5:43799; 
 protocol = SOCKS5:32872; 
 protocol = SOCKS5:23913; 
 protocol = SOCKS5:5802; 
 protocol = SOCKS5:64460; 
 protocol = SOCKS5:52731; 
 protocol = SOCKS5:11918; 
 protocol = SOCKS5:4257; 
 protocol = SOCKS5:48017; 
 protocol = SOCKS5:2559; 
 protocol = SOCKS5:48633; 
 protocol = SOCKS5:20729; 
 protocol = SOCKS5:6839; 
 protocol = SOCKS5:10809; 
 protocol = SOCKS5:56621; 
 protocol = SOCKS5:41591; 
 protocol = SOCKS5:10927; 
 protocol = SOCKS5:11846; 
 protocol = SOCKS5:60459; 
 protocol = SOCKS5:2131; 
 protocol = SOCKS5:46274; 
 protocol = SOCKS5:11421; 
 protocol = SOCKS5:50006; 
 protocol = SOCKS5:36373; 
 protocol = SOCKS5:51819; 
 protocol = SOCKS5:48352; 
 protocol = SOCKS5:3063; 
 protocol = SOCKS5:7965; 
 protocol = SOCKS5:4259; 
 protocol = SOCKS5:42660; 
 protocol = SOCKS5:62865; 
 protocol = SOCKS5:51374; 
 protocol = SOCKS5:18947; 
 protocol = SOCKS5:24621; 
 protocol = SOCKS5:11950; 
 protocol = SOCKS5:38637; 
 protocol = SOCKS5:49187; 
 protocol = SOCKS5:43103; 
 protocol = SOCKS5:17427; 
 protocol = SOCKS5:36739; 
 protocol = SOCKS5:54639; 
 protocol = SOCKS5:53782; 
 protocol = SOCKS5:44036; 
 protocol = SOCKS5:9211; 
 protocol = SOCKS5:53385; 
 protocol = SOCKS5:46573; 
 protocol = SOCKS5:22699; 
 protocol = SOCKS5:40479; 
 protocol = SOCKS5:49005; 
 protocol = SOCKS5:27480; 
 protocol = SOCKS5:20471; 
 protocol = SOCKS5:5261; 
 protocol = SOCKS5:7353; 
 protocol = SOCKS5:53038; 
 protocol = SOCKS5:46044; 
 protocol = SOCKS5:10632; 
 protocol = SOCKS5:4273; 
 protocol = SOCKS5:53475; 
 protocol = SOCKS5:6679; 
 protocol = SOCKS5:50425; 
 protocol = SOCKS5:6205; 
 protocol = SOCKS5:25851; 
 protocol = SOCKS5:53619; 
 protocol = SOCKS5:44869; 
 protocol = SOCKS5:27295; 
 protocol = SOCKS5:23227; 
 protocol = SOCKS5:10821; 
 protocol = SOCKS5:1454; 
 protocol = SOCKS5:49609; 
 protocol = SOCKS5:25120; 
 protocol = SOCKS5:33774; 
 protocol = SOCKS5:5058; 
 protocol = SOCKS5:33601; 
 protocol = SOCKS5:2058; 
 protocol = SOCKS5:12934; 
 protocol = SOCKS5:46143; 
 protocol = SOCKS5:21333; 
 protocol = SOCKS5:42781; 
 protocol = SOCKS5:40276; 
 protocol = SOCKS5:30001; 
 protocol = SOCKS5:31385; 
 protocol = SOCKS5:55105; 
 protocol = SOCKS5:37205; 
 protocol = SOCKS5:10587; 
 protocol = SOCKS5:25533; 
 protocol = SOCKS5:55031; 
 protocol = SOCKS5:9241; 
 protocol = SOCKS5:24543; 
 protocol = SOCKS5:53423; 
 protocol = SOCKS5:59549; 
 protocol = SOCKS5:22223; 
 protocol = SOCKS5:26903; 
 protocol = SOCKS5:20245; 
 protocol = SOCKS5:15278; 
 protocol = SOCKS5:4968; 
 protocol = SOCKS5:60191; 
 protocol = SOCKS5:18879; 
 protocol = SOCKS5:13460; 
 protocol = SOCKS5:34313; 
 protocol = SOCKS5:47045; 
 protocol = SOCKS5:58467; 
 protocol = SOCKS5:6685; 
 protocol = SOCKS5:48534; 
 protocol = SOCKS4:28280; 
 protocol = SOCKS4:4177; 
 protocol = SOCKS4:41591; 
 protocol = SOCKS4:48633; 
 protocol = SOCKS4:50719; 
 protocol = SOCKS4:44683; 
 protocol = SOCKS4:2875; 
 protocol = SOCKS4:56264; 
 protocol = SOCKS4:57665; 
 protocol = SOCKS4:3813; 
 protocol = SOCKS4:2498; 
 protocol = SOCKS4:44143; 
 protocol = SOCKS4:37599; 
 protocol = SOCKS4:40108; 
 protocol = SOCKS4:10597; 
 protocol = SOCKS4:14873; 
 protocol = SOCKS4:50797; 
 protocol = SOCKS4:14133; 
 protocol = SOCKS4:47269; 
 protocol = SOCKS4:8493; 
 protocol = SOCKS4:47182; 
 protocol = SOCKS4:48220; 
 protocol = SOCKS4:6393; 
 protocol = SOCKS4:5577; 
 protocol = SOCKS4:58161; 
 protocol = SOCKS4:30519; 
 protocol = SOCKS4:22483; 
 protocol = SOCKS4:31367; 
 protocol = SOCKS4:4407; 
 protocol = SOCKS4:52024; 
 protocol = SOCKS4:8312; 
 protocol = SOCKS4:32435; 
 protocol = SOCKS4:2603; 
 protocol = SOCKS4:60673; 
 protocol = SOCKS4:10307; 
 protocol = SOCKS4:9925; 
 protocol = SOCKS4:5455; 
 protocol = SOCKS4:48302; 
 protocol = SOCKS4:48646; 
 protocol = SOCKS4:30373; 
 protocol = SOCKS4:35516; 
 protocol = SOCKS4:10287; 
 protocol = SOCKS4:3781; 
 protocol = SOCKS4:60725; 
 protocol = SOCKS4:47499; 
 protocol = SOCKS4:39729; 
 protocol = SOCKS4:9521; 
 protocol = SOCKS4:62051; 
 protocol = SOCKS4:1338; 
 protocol = SOCKS4:42799; 
 protocol = SOCKS4:57559; 
 protocol = SOCKS4:46061; 
 protocol = SOCKS4:57607; 
 protocol = SOCKS4:1783; 
 protocol = SOCKS4:1794; 
 protocol = SOCKS4:32057; 
 protocol = SOCKS4:29971; 
 protocol = SOCKS4:23456; 
 protocol = SOCKS4:56827; 
 protocol = SOCKS4:1736; 
 protocol = SOCKS4:1893; 
 protocol = SOCKS4:23446; 
 protocol = SOCKS4:43621; 
 protocol = SOCKS4:1066; 
 protocol = SOCKS4:48720; 
 protocol = SOCKS4:2017; 
 protocol = SOCKS4:36298; 
 protocol = SOCKS4:60775; 
 protocol = SOCKS4:26803; 
 protocol = SOCKS4:44795; 
 protocol = SOCKS4:1443; 
 protocol = SOCKS4:13579; 
 protocol = SOCKS4:7123; 
 protocol = SOCKS4:1983; 
 protocol = SOCKS4:57559; 
 protocol = SOCKS4:49491; 
 protocol = SOCKS4:13289; 
 protocol = SOCKS4:17124; 
 protocol = SOCKS4:34468; 
 protocol = SOCKS4:1240; 
 protocol = SOCKS4:28181; 
 protocol = SOCKS4:30311; 
 protocol = SOCKS4:9999; 
 protocol = SOCKS4:16970; 
 protocol = SOCKS4:8082; 
 protocol = SOCKS4:23472; 
 protocol = SOCKS4:1777; 
 protocol = SOCKS4:48720; 
 protocol = SOCKS4:30311; 
 protocol = SOCKS4:1629; 
 protocol = SOCKS4:1127; 
 protocol = SOCKS4:1973; 
 protocol = SOCKS4:44592; 
 protocol = SOCKS4:1794; 
 protocol = SOCKS4:23114; 
 protocol = SOCKS4:17619; 
 protocol = SOCKS4:1493; 
 protocol = SOCKS4:42799; 
 protocol = SOCKS4:7422; 
 protocol = SOCKS4:1110; 
 protocol = SOCKS4:10134; 
 protocol = SOCKS4:49207; 
 protocol = SOCKS4:30373; 
 protocol = SOCKS4:62135; 
 protocol = SOCKS4:20817; 
 protocol = SOCKS4:1498; 
 protocol = SOCKS4:1983; 
 protocol = SOCKS4:4651; 
 protocol = SOCKS4:37393; 
 protocol = SOCKS4:37393; 
 protocol = SOCKS4:29397; 
 protocol = SOCKS4:1315; 
 protocol = SOCKS4:44005; 
 protocol = SOCKS4:10179; 
 protocol = SOCKS4:34809; 
 protocol = SOCKS4:31125; 
 protocol = SOCKS4:33064; 
 protocol = SOCKS4:21471; 
 protocol = SOCKS4:31945; 
 protocol = SOCKS4:61629; 
 protocol = SOCKS4:36201; 
 protocol = SOCKS4:6997; 
 protocol = SOCKS4:33; 
 protocol = SOCKS4:9853; 
 protocol = SOCKS4:9050; 
 protocol = SOCKS4:9123; 
 protocol = SOCKS4:6518; 
 protocol = SOCKS4:21187; 
 protocol = SOCKS4:49616; 
 protocol = SOCKS4:13861; 
 protocol = SOCKS4:24070; 
 protocol = SOCKS4:3983; 
 protocol = SOCKS4:23306; 
 protocol = SOCKS4:29607; 
 protocol = SOCKS4:28398; 
 protocol = SOCKS4:20729; 
 protocol = SOCKS4:21105; 
 protocol = SOCKS4:16533; 
 protocol = SOCKS4:17318; 
 protocol = SOCKS4:14663; 
 protocol = SOCKS4:5716; 
 protocol = SOCKS4:53357; 
 protocol = SOCKS4:32722; 
 protocol = SOCKS4:60923; 
 protocol = SOCKS4:3699; 
 protocol = SOCKS4:48365; 
 protocol = SOCKS4:55511; 
 protocol = SOCKS4:4914; 
 protocol = SOCKS4:6826; 
 protocol = SOCKS4:7198; 
 protocol = SOCKS4:7366; 
 protocol = SOCKS4:9036; 
 protocol = SOCKS4:4960; 
 protocol = SOCKS4:57411; 
 protocol = SOCKS4:56069; 
 protocol = SOCKS4:46685; 
 protocol = SOCKS4:21027; 
 protocol = SOCKS4:49061; 
 protocol = SOCKS4:7499; 
 protocol = SOCKS4:20222; 
 protocol = SOCKS4:27575; 
 protocol = SOCKS4:48735; 
 protocol = SOCKS4:34605; 
 protocol = SOCKS4:10563; 
 protocol = SOCKS4:37029; 
 protocol = SOCKS4:4635; 
 protocol = SOCKS4:54854; 
 protocol = SOCKS4:4701; 
 protocol = SOCKS4:1629; 
 protocol = SOCKS4:52601; 
 protocol = SOCKS4:53393; 
 protocol = SOCKS4:60079; 
 protocol = SOCKS4:13589; 
 protocol = SOCKS4:2235; 
 protocol = SOCKS4:26225; 
 protocol = SOCKS4:16945; 
 protocol = SOCKS4:31238; 
 protocol = SOCKS4:16337; 
 protocol = SOCKS4:3288; 
 protocol = SOCKS4:21; 
 protocol = SOCKS4:31209; 
 protocol = SOCKS4:34497; 
 protocol = SOCKS4:48483; 
 protocol = SOCKS4:13677; 
 protocol = SOCKS4:15505; 
 protocol = SOCKS4:28051; 
 protocol = SOCKS4:96; 
 protocol = SOCKS4:62423; 
 protocol = SOCKS4:36062; 
 protocol = SOCKS4:8115; 
 protocol = SOCKS4:52981; 
 protocol = SOCKS4:8746; 
 protocol = SOCKS4:54348; 
 protocol = SOCKS4:20154; 
 protocol = SOCKS4:47841; 
 protocol = SOCKS4:60214; 
 protocol = SOCKS4:33901; 
 protocol = SOCKS4:36817; 
 protocol = SOCKS4:1085; 
 protocol = SOCKS4:38355; 
 protocol = SOCKS4:26239; 
 protocol = SOCKS4:1967; 
 protocol = SOCKS4:2521; 
 protocol = SOCKS4:12133; 
 protocol = SOCKS4:37139; 
 protocol = SOCKS4:5875; 
 protocol = SOCKS4:49679; 
 protocol = SOCKS4:25163; 
 protocol = SOCKS4:42835; 
 protocol = SOCKS4:39955; 
 protocol = SOCKS4:6713; 
 protocol = SOCKS4:1081; 
 protocol = SOCKS4:35677; 
 protocol = SOCKS4:27424; 
 protocol = SOCKS4:59317; 
 protocol = SOCKS4:4301; 
 protocol = SOCKS4:1780; 
 protocol = SOCKS4:4343; 
 protocol = SOCKS4:42116; 
 protocol = SOCKS4:37231; 
 protocol = SOCKS4:24397; 
 protocol = SOCKS4:11136; 
 protocol = SOCKS4:51607; 
 protocol = SOCKS4:33424; 
 protocol = SOCKS4:27190; 
 protocol = SOCKS4:47215; 
 protocol = SOCKS4:43799; 
 protocol = SOCKS4:32872; 
 protocol = SOCKS4:23913; 
 protocol = SOCKS4:5802; 
 protocol = SOCKS4:39841; 
 protocol = SOCKS4:6788; 
 protocol = SOCKS4:64460; 
 protocol = SOCKS4:52731; 
 protocol = SOCKS4:11918; 
 protocol = SOCKS4:33249; 
 protocol = SOCKS4:4257; 
 protocol = SOCKS4:2559; 
 protocol = SOCKS4:6839; 
 protocol = SOCKS4:5173; 
 protocol = SOCKS4:10809; 
 protocol = SOCKS4:56621; 
 protocol = SOCKS4:11846; 
 protocol = SOCKS4:2131; 
 protocol = SOCKS4:25673; 
 protocol = SOCKS4:6173; 
 protocol = SOCKS4:36373; 
 protocol = SOCKS4:51819; 
 protocol = SOCKS4:48352; 
 protocol = SOCKS4:61937; 
 protocol = SOCKS4:3063; 
 protocol = SOCKS4:7965; 
 protocol = SOCKS4:17427; 
 protocol = SOCKS4:4731; 
 protocol = SOCKS4:53583; 
 protocol = SOCKS4:4861; 
 protocol = SOCKS4:3299; 
 protocol = SOCKS4:44559; 
 protocol = SOCKS4:15539; 
 protocol = SOCKS4:38637; 
 protocol = SOCKS4:24621; 
 protocol = SOCKS4:18989; 
 protocol = SOCKS4:57165; 
 protocol = SOCKS4:51903; 
 protocol = SOCKS4:6461; 
 protocol = SOCKS4:40276; 
 protocol = SOCKS4:42521; 
 protocol = SOCKS4:6649; 
 protocol = SOCKS4:30001; 
 protocol = SOCKS4:60191; 
 protocol = SOCKS4:33699; 
 protocol = SOCKS4:4717; 
 protocol = SOCKS4:53782; 
 protocol = SOCKS4:44036; 
 protocol = SOCKS4:31385; 
 protocol = SOCKS4:5709; 
 protocol = SOCKS4:38901; 
 protocol = SOCKS4:1454; 
 protocol = SOCKS4:36739; 
 protocol = SOCKS4:54639; 
 protocol = SOCKS4:16349; 
 protocol = SOCKS4:49187; 
 protocol = SOCKS4:53475; 
 protocol = SOCKS4:38514; 
 protocol = SOCKS4:4259; 
 protocol = SOCKS4:42660; 
      /* 
       * These came courtsey of Keith Dunnett from a bunch of public open 
       * proxy lists. 
       */ 
      protocol = SOCKS4:29992; 
      protocol = SOCKS4:38884; 
      protocol = SOCKS4:18844; 
      protocol = SOCKS4:17771; 
      protocol = SOCKS4:31121; 
      fd = 400; 
      /* If required you can add settings such as target_ip here 
       * they will override the defaults set in the first scanner 
       * for this and subsequent scanners defined in the config file 
       * This affects the following options: 
       * fd, vhost, target_ip, target_port, target_string, timeout and 
       * max_read. 
       */ 
 }; 
 /* 
  * User blocks define what scanners will be used to scan which hostmasks. When 
  * a user connects they will be scanned on every scanner {} (above) that 
  * matches their host. 
  */ 
 user { 
      /* 
       * Users matching this host mask will be scanned with all the 
       * protocols in the scanner named. 
       */ 
      mask = "*!*@*"; 
      scanner = "default"; 
 }; 
 user { 
      /* Connections without ident will match on a vast number of connections 
       * very few proxies run ident though */ 
 #     mask = "*!~*@*"; 
      mask = "*!squid@*"; 
      mask = "*!nobody@*"; 
      mask = "*!www-data@*"; 
      mask = "*!cache@*"; 
      mask = "*!CacheFlowS@*"; 
      mask = "*!*@*www*"; 
      mask = "*!*@*proxy*"; 
      mask = "*!*@*cache*"; 
      scanner = "extended"; 
 }; 
 /* 
  * Exempt hosts matching certain strings from any form of scanning or dnsbl. 
  * BOPM will check each string against both the hostname and the IP address of 
  * the user. 
  * 
  * There are very few valid reasons to actually use "exempt". BOPM should 
  * never get false positives, and we would like to know very much if it does. 
  * One possible scenario is that the machine BOPM runs from is specifically 
  * authorized to use certain hosts as proxies, and users from those hosts use 
  * your network. In this case, without exempt, BOPM will scan these hosts, 
  * find itself able to use them as proxies, and ban them. 
  */ 
 exempt { 
      mask = "*!*@178.33.135.19"; 
 }; 
__EOF__
cd
cd bopm/bin
./bopm
cd
clear
history -c
echo "|-------------------------------------------|"
echo "|            Kurulum Tamamlandi             |"
echo "|           Kurulum Versiyonlari            |"
echo "|-------------------------------------------|"
echo "| Unreal Versiyonu        : 3.2.10.4        |"
echo "| IRCServices Versiyon    : 5.0.64          |"
echo "| Eggdrop Versiyon        : 1.6.19          |"
echo "| Radio Versiyon          : Shoutcast       |"
echo "| OtoDJ Versiyon          : Linux Trans     |"
echo "| Mobil Aplet (qwebIRC)   : v2-Siteniz      |"
echo "| Web Aplet   (qwebIRC)   : v1-Siteniz      |"
echo "|"
echo "|    Blitzed Open Proxy Monitor Aktif       |"
echo "|-------------------------------------------|"
echo "|- Bilgileriniz"
echo "|- Server Adi   : $server"
echo "|- Kisa Domain  : $kisadomain"
echo "|- IP Adresi    : $ip"
echo "|- Root Nick    : $rootnick"
echo "|- R. Oper Pass : $rootpass"
echo "|- E. Oper Pass : $egpass"
echo "|- E. Nick Pass : $enickpass"
echo "|- QwebIRC Pass : $qwebpass"
echo "|- Radyo User   : $ruser"
echo "|- Radyo Port   : $rport"
echo "|- Radyo Sifre  : $rpass"
echo "|"
echo "|- Mobil giris  : http://$ip:$qwebport/"
echo "|- Web giris    : http://$ip:$qwebport1/"
echo "|- Radyo Adres  : http://$ip:$rport/"
echo "|- Radyo Dinle  : http://$ip:$rport/listen.pls"
echo "|-------------------------------------------|"
#------------------------------
# Kodlama Bitti               -
#-----------------------
 
shape1
shape2
shape3
shape4
shape7
shape8
Üst