Deprecated: Return type of Requests_Cookie_Jar::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/helpsohbetn/public_html/wp-includes/Requests/Cookie/Jar.php on line 63

Deprecated: Return type of Requests_Cookie_Jar::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/helpsohbetn/public_html/wp-includes/Requests/Cookie/Jar.php on line 73

Deprecated: Return type of Requests_Cookie_Jar::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/helpsohbetn/public_html/wp-includes/Requests/Cookie/Jar.php on line 89

Deprecated: Return type of Requests_Cookie_Jar::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/helpsohbetn/public_html/wp-includes/Requests/Cookie/Jar.php on line 102

Deprecated: Return type of Requests_Cookie_Jar::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/helpsohbetn/public_html/wp-includes/Requests/Cookie/Jar.php on line 111

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/helpsohbetn/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 40

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/helpsohbetn/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 51

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/helpsohbetn/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 68

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/helpsohbetn/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 82

Deprecated: Return type of Requests_Utility_CaseInsensitiveDictionary::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/helpsohbetn/public_html/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php on line 91
Proxy Koruma Remotesi ( txt okutmalı ) – Sohbet.NET #Help Departmanı ve IRCd Komutları

Proxy Koruma Remotesi ( txt okutmalı )

Merhaba arkadaşlar. Bu yazımızda sunucu güvenliğinin sağlanması için oldukça gerekli olan Proxy Koruması hakkında bilgiler vereceğim.
Öncelikle bilmenizi isterimki vereceğim kod sizin ekleyeceğiniz proxy.txt dosyasından ip adreslerini okuyarak sunucuya girişleri kontrol edip ona göre işlem yapmaktadır. Proxy listenizde olmayan bir ip adresine ban atma olasılığı yoktur. Yazımızın ekinde kendime ait güncel proxy.txt dosyamı ve internetten bulduğunuz proxy iplerini portlardan ayırmaya çalışan bir program daha vereceğim.
Ayrıca proxy kontrolunu ve sunucuya giriş çıkları görmenizi sağlayacak saldırı anında maus ile çift tık ile direk gzline uygulamanızı sağlayacak yardımcı kodlarda vereceğim.
Aşağıdaki kodu öncelikle mirc remotenize ekleyin

on *:snotice:*: {
if (connecting isin $1-) {
if $read(proxy.txt,w,$remove($gettok($9,2,64),$chr(41))) {
gline *@ $+ $remove($gettok($9,2,64),$chr(41)) - deLi 4P14roxy 4S14ystem
msg #xLine 6 $8 1Nicki14 $remove($gettok($9,2,64),$chr(41)) Ip adresi ile 4Proxy 1girişi tespit edilip sunucudan uzaklaştırıldı.
$iif(!$window(@deLi),window -ne @deLi)
echo 2 @deLi 1 $timestamp 12 $8 1Nicki4 $remove($gettok($9,2,64),$chr(41)) 4Proxy 1girişi yaptı.
}
}
}

————-
Yukardaki kodu mircinizin remote kısmına ekledikten sonra kod sunucuya giren kişilerin ip adreslerini kontrol etmeye başlayacaktır. eğer mirc ana dizinde ekli proxy.txt dosyası yoksa tabiki ban atmayacaktır. proxy ekini ve ufak detayları yazımızın sonunda indirebilirsiniz.
ikinci olarak sunucu girişlerini ayrı pencerede görmemizi sağlayacak bir kod daha ekliyoruz.
sunucu giriş çıkışlarını ayıran kodu aşağıdan kopyalayıp mirc remote kısmına yükleyin.

on ^1:SNOTICE:*:{
if (exiting isin $1-) {
if ($window(@Giris/Cikis) == $null) { window -ne @Giris/Cikis }
echo 2 -t @Giris/Cikis 14Çıkış: 7Nick:4[14 $gettok($8,1,33) 4]7 Network:4[14 $7 4] | halt | halt
}
if (Connecting isin $1-) {
if ($window(@Giris/Cikis) == $null) { window -ne @Giris/Cikis }
echo 2 -t @Giris/Cikis 3Giriş :2 Nick:4[4 $8 4] 2Network:4[3 $7 4] 2Host:4[1 ZLINE=>3 $9 4] | halt
}
halt
}


gelelim 3. kısıma , bu vereceğim kod ise @giris/çıkış penceresinde saldırı anında sunucuya giren proxyleri manuel olarak çift tık ile banlamanızı sağlayacak olan kod. aşağıdan kodu kopyalayıp mirc remotenize yükleyin.

on ^1:HOTLINK:*.*.*:*:{
  if ( $active = #) { halt } 
  else {
    if (@ isin $1) {
      $x:snetdeLi($1,2)
      return $1 
    }
  } 
  halt 
}
on *:HOTLINK:*.*.*:*:{ 
  if ($active = #) { halt } 
  else { 
    if (@ isin $1) {
      $x:snetdeLi($1,1)
    }
  }
}

alias -l X:snetdeLi { 
  if ($2 = 1 ) {
    var %q $mid($1,$pos($1,@),$len($1))
    var %x $calc($len(%q) - 1 )
    ;S:ban secenegi (Gzline) 
    .gzline $+(*,$left(%q,%x)) : 2Sunucu kurallarına uymadığınız için sunucudan uzaklaştırıldınız. 
    .msg #xLine IP : $+(*,$left(%q,%x))  Sunucu kurallarını ihlal ettiği için atılmıştır.
  }
  if ($2 = 2 ) {
    var %q $mid($1,$pos($1,@),$len($1))
    var %x $calc($len(%q) - 1 )
  }
}  

————–
Bu 3 kodu remotenize ekledikten sonra proxy listesinide mesajın ekinden indirebilirsiniz.
Ayrıca ekte kendi bulduğunuz proxy adreslerini de portlarından ayırıp proxy.txt dosyasına ekleyerek proxy arşivinizi genişletebilirsiniz.
Proxy indirmek için : proxy
Portları ayırmak için : Tekrar

You may also like...

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir