• 07-12-2019, 22:26:57
    #1
    arkadaşlar biri siteme binlerce bot yolluyor şuan 1k online var bunları nasıl engellerim
  • 07-12-2019, 22:29:45
    #2
    joseph34 adlı üyeden alıntı: mesajı görüntüle
    arkadaşlar biri siteme binlerce bot yolluyor şuan 1k online var bunları nasıl engellerim
    htaccess'in en altına yapıştırın
    # 6G:[QUERY STRING]
    <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteCond %{QUERY_STRING} (eval() [NC,OR]
        RewriteCond %{QUERY_STRING} (127.0.0.1) [NC,OR]
        RewriteCond %{QUERY_STRING} ([a-z0-9]{2000,}) [NC,OR]
        RewriteCond %{QUERY_STRING} (javascript:)(.*)(;) [NC,OR]
        RewriteCond %{QUERY_STRING} (base64_encode)(.*)(() [NC,OR]
        RewriteCond %{QUERY_STRING} (GLOBALS|REQUEST)(=|[|%) [NC,OR]
        RewriteCond %{QUERY_STRING} (<|%3C)(.*)script(.*)(>|%3) [NC,OR]
        RewriteCond %{QUERY_STRING} (\|...|../|~|`|<|>||) [NC,OR]
        RewriteCond %{QUERY_STRING} (boot.ini|etc/passwd|self/environ) [NC,OR]
        RewriteCond %{QUERY_STRING} (thumbs?(_editor|open)?|tim(thumb)?).php [NC,OR]
        RewriteCond %{QUERY_STRING} ('|")(.*)(drop|insert|md5|select|union) [NC]
        RewriteRule .* - [F]
    </IfModule>
    
    # 6G:[REQUEST METHOD]
    <IfModule mod_rewrite.c>
        RewriteCond %{REQUEST_METHOD} ^(connect|debug|move|put|trace|track) [NC]
        RewriteRule .* - [F]
    </IfModule>
    
    # 6G:[REFERRER]
    <IfModule mod_rewrite.c>
        RewriteCond %{HTTP_REFERER} ([a-z0-9]{2000,}) [NC,OR]
        RewriteCond %{HTTP_REFERER} (semalt.com|todaperfeita) [NC]
        RewriteRule .* - [F]
    </IfModule>
    
    # 6G:[REQUEST STRING]
    <IfModule mod_alias.c>
        RedirectMatch 403 (?i)([a-z0-9]{2000,})
        RedirectMatch 403 (?i)(https?|ftp|php):/
        RedirectMatch 403 (?i)(base64_encode)(.*)(()
        RedirectMatch 403 (?i)(=\'|=\%27|/\'/?).
        RedirectMatch 403 (?i)/($(&)?|*|"|.|,|&|&amp;?)/?$
        RedirectMatch 403 (?i)({0}|(/(|...|+++|\"\")
        RedirectMatch 403 (?i)(~|`|<|>|:|;|,|%|\|{|}|[|]||)
        RedirectMatch 403 (?i)/(=|$&|_mm|cgi-|muieblack)
        RedirectMatch 403 (?i)(&pws=0|_vti_|(null)|{$itemURL}|echo(.*)kae|etc/passwd|eval(|self/environ)
        RedirectMatch 403 (?i).(aspx?|bash|bak?|cfg|cgi|dll|exe|git|hg|ini|jsp|log|mdb|out|sql|svn|swp|tar|rar|rdf)$
        RedirectMatch 403 (?i)/(^$|(wp-)?config|mobiquo|phpinfo|shell|sqlpatch|thumb|thumb_editor|thumbopen|timthumb|webshell).php
    </IfModule>
    
    # 6G:[USER AGENT]
    <IfModule mod_setenvif.c>
        SetEnvIfNoCase User-Agent ([a-z0-9]{2000,}) bad_bot
        SetEnvIfNoCase User-Agent (archive.org|binlar|casper|checkpriv|choppy|clshttp|cmsworld|diavol|dotbot|extract|feedfinder|flicky|g00g1e|harvest|heritrix|httrack|kmccrew|loader|miner|nikto|nutch|planetwork|postrank|purebot|pycurl|python|seekerspider|siclab|skygrid|sqlmap|sucker|turnit|vikspider|winhttp|xxxyy|youda|zmeu|zune) bad_bot
        
        # Apache < 2.3
        <IfModule !mod_authz_core.c>
            Order Allow,Deny
            Allow from all
            Deny from env=bad_bot
        </IfModule>
    
        # Apache >= 2.3
        <IfModule mod_authz_core.c>
            <RequireAll>
                Require all Granted
                Require not env bad_bot
            </RequireAll>
        </IfModule>
    </IfModule>
  • 07-12-2019, 22:36:51
    #3
    Nettsted adlı üyeden alıntı: mesajı görüntüle
    htaccess'in en altına yapıştırın
    # 6G:[QUERY STRING]
    <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteCond %{QUERY_STRING} (eval() [NC,OR]
        RewriteCond %{QUERY_STRING} (127.0.0.1) [NC,OR]
        RewriteCond %{QUERY_STRING} ([a-z0-9]{2000,}) [NC,OR]
        RewriteCond %{QUERY_STRING} (javascript:)(.*)(;) [NC,OR]
        RewriteCond %{QUERY_STRING} (base64_encode)(.*)(() [NC,OR]
        RewriteCond %{QUERY_STRING} (GLOBALS|REQUEST)(=|[|%) [NC,OR]
        RewriteCond %{QUERY_STRING} (<|%3C)(.*)script(.*)(>|%3) [NC,OR]
        RewriteCond %{QUERY_STRING} (|...|../|~|`|<|>||) [NC,OR]
        RewriteCond %{QUERY_STRING} (boot.ini|etc/passwd|self/environ) [NC,OR]
        RewriteCond %{QUERY_STRING} (thumbs?(_editor|open)?|tim(thumb)?).php [NC,OR]
        RewriteCond %{QUERY_STRING} ('|")(.*)(drop|insert|md5|select|union) [NC]
        RewriteRule .* - [F]
    </IfModule>
    
    # 6G:[REQUEST METHOD]
    <IfModule mod_rewrite.c>
        RewriteCond %{REQUEST_METHOD} ^(connect|debug|move|put|trace|track) [NC]
        RewriteRule .* - [F]
    </IfModule>
    
    # 6G:[REFERRER]
    <IfModule mod_rewrite.c>
        RewriteCond %{HTTP_REFERER} ([a-z0-9]{2000,}) [NC,OR]
        RewriteCond %{HTTP_REFERER} (semalt.com|todaperfeita) [NC]
        RewriteRule .* - [F]
    </IfModule>
    
    # 6G:[REQUEST STRING]
    <IfModule mod_alias.c>
        RedirectMatch 403 (?i)([a-z0-9]{2000,})
        RedirectMatch 403 (?i)(https?|ftp|php):/
        RedirectMatch 403 (?i)(base64_encode)(.*)(()
        RedirectMatch 403 (?i)(='|=%27|/'/?).
        RedirectMatch 403 (?i)/($(&)?|*|"|.|,|&|&amp;?)/?$
        RedirectMatch 403 (?i)({0}|(/(|...|+++|"")
        RedirectMatch 403 (?i)(~|`|<|>|:|;|,|%||{|}|[|]||)
        RedirectMatch 403 (?i)/(=|$&|_mm|cgi-|muieblack)
        RedirectMatch 403 (?i)(&pws=0|_vti_|(null)|{$itemURL}|echo(.*)kae|etc/passwd|eval(|self/environ)
        RedirectMatch 403 (?i).(aspx?|bash|bak?|cfg|cgi|dll|exe|git|hg|ini|jsp|log|mdb|out|sql|svn|swp|tar|rar|rdf)$
        RedirectMatch 403 (?i)/(^$|(wp-)?config|mobiquo|phpinfo|shell|sqlpatch|thumb|thumb_editor|thumbopen|timthumb|webshell).php
    </IfModule>
    
    # 6G:[USER AGENT]
    <IfModule mod_setenvif.c>
        SetEnvIfNoCase User-Agent ([a-z0-9]{2000,}) bad_bot
        SetEnvIfNoCase User-Agent (archive.org|binlar|casper|checkpriv|choppy|clshttp|cmsworld|diavol|dotbot|extract|feedfinder|flicky|g00g1e|harvest|heritrix|httrack|kmccrew|loader|miner|nikto|nutch|planetwork|postrank|purebot|pycurl|python|seekerspider|siclab|skygrid|sqlmap|sucker|turnit|vikspider|winhttp|xxxyy|youda|zmeu|zune) bad_bot
        
        # Apache < 2.3
        <IfModule !mod_authz_core.c>
            Order Allow,Deny
            Allow from all
            Deny from env=bad_bot
        </IfModule>
    
        # Apache >= 2.3
        <IfModule mod_authz_core.c>
            <RequireAll>
                Require all Granted
                Require not env bad_bot
            </RequireAll>
        </IfModule>
    </IfModule>
    hocam bunu girince sunucu hatası verdi
  • 07-12-2019, 22:40:08
    #4
    joseph34 adlı üyeden alıntı: mesajı görüntüle
    hocam bunu girince sunucu hatası verdi
    Ben de ondan korkuyordum. Sanırım eksik bir mod var.
  • 07-12-2019, 22:43:43
    #5
    Google'dan mı yolluyorlar direkt mi yolluyorlar ?
  • 07-12-2019, 22:45:34
    #6
    joseph34 adlı üyeden alıntı: mesajı görüntüle
    hocam bunu girince sunucu hatası verdi
    # 6G:[QUERY STRINGS]
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{QUERY_STRING} (eval() [NC,OR]
    RewriteCond %{QUERY_STRING} (127.0.0.1) [NC,OR]
    RewriteCond %{QUERY_STRING} ([a-z0-9]{2000}) [NC,OR]
    RewriteCond %{QUERY_STRING} (javascript:)(.*)(;) [NC,OR]
    RewriteCond %{QUERY_STRING} (base64_encode)(.*)(() [NC,OR]
    RewriteCond %{QUERY_STRING} (GLOBALS|REQUEST)(=|[|%) [NC,OR]
    RewriteCond %{QUERY_STRING} (<|%3C)(.*)script(.*)(>|%3) [NC,OR]
    RewriteCond %{QUERY_STRING} (|...|../|~|`|<|>||) [NC,OR]
    RewriteCond %{QUERY_STRING} (boot.ini|etc/passwd|self/environ) [NC,OR]
    RewriteCond %{QUERY_STRING} (thumbs?(_editor|open)?|tim(thumb)?).php [NC,OR]
    RewriteCond %{QUERY_STRING} ('|")(.*)(drop|insert|md5|select|union) [NC]
    RewriteRule .* - [F]
    </IfModule>
     
    # 6G:[REQUEST METHOD]
    <IfModule mod_rewrite.c>
    RewriteCond %{REQUEST_METHOD} ^(connect|debug|delete|move|put|trace|track) [NC]
    RewriteRule .* - [F]
    </IfModule>
     
    # 6G:[REQUEST STRINGS]
     
    <IfModule mod_alias.c>
    RedirectMatch 403 (?i)([a-z0-9]{2000,})
    RedirectMatch 403 (?i)(https?|ftp|php):/
    RedirectMatch 403 (?i)(base64_encode)(.*)(()
    RedirectMatch 403 (?i)(='|=\%27|/\'/?).
    RedirectMatch 403 (?i)/($(&)?|*|"|.|,|&|&amp;?)/?$
    RedirectMatch 403 (?i)({0}|(/(|...|+++|"\")
    RedirectMatch 403 (?i)(~|`|<|>|:|;|,|%||s|{|}|[|]||)
    RedirectMatch 403 (?i)/(=|$&|_mm|cgi-|etc/passwd|muieblack)
    RedirectMatch 403 (?i)(&pws=0|_vti_|(null)|{$itemURL}|echo(.*)kae|etc/passwd|eval(|self/environ)
    RedirectMatch 403 (?i).(aspx?|bash|bak?|cfg|cgi|dll|exe|git|hg|ini|jsp|log|mdb|out|sql|svn|swp|tar|rar|rdf)$
    RedirectMatch 403 (?i)/(^$|(wp-)?config|mobiquo|phpinfo|shell|sqlpatch|thumb|thumb_editor|thumbopen|timthumb|webshell).php
    </IfModule>
     
    # 6G:[USER AGENTS]
     
    SetEnvIfNoCase User-Agent ([a-z0-9]{2000}) bad_bot
    SetEnvIfNoCase User-Agent (archive.org|binlar|casper|checkpriv|choppy|clshttp|cmsworld|diavol|dotbot|extract|feedfinder|flicky|g00g1e|harvest|heritrix|httrack|kmccrew|loader|miner|nikto|nutch|planetwork|postrank|purebot|pycurl|python|seekerspider|siclab|skygrid|sqlmap|sucker|turnit|vikspider|winhttp|xxxyy|youda|zmeu|zune) bad_bot
    Order Allow,Deny
    Allow from All
    Deny from env=bad_bot
     
    # 6G:[BAD IPS]
    Order Allow,Deny
    Allow from All
    # uncomment/edit/repeat next line to block IPs
    # Deny from 123.456.789
    Bunu deneyin
  • 07-12-2019, 22:47:52
    #7
    Benim de başıma gelmişti, çözemedim Cloudflare ile çözüm bulmuştum.
  • 07-12-2019, 23:00:13
    #8
    Üyeliği durduruldu
    bu bot saldırırlarının nedeni nedir acıklık getirebilecek varmı bu aralar benım de başıma geliyor
  • 07-12-2019, 23:31:07
    #9
    macarena adlı üyeden alıntı: mesajı görüntüle
    bu bot saldırırlarının nedeni nedir acıklık getirebilecek varmı bu aralar benım de başıma geliyor
    Genelde siteyi çökertmek için atılır sunucuya kaldıramayacağı trafik verilir ve çöker