Site, Sunucu Sorunlarınız ve Çözümleri » SSH

ssh ile saldiri alan siteyi süreli Suspended etme

http://forum.whmdestek.com/

Go Back   WHM/cPanel Support Platform » Türkçe » Site, Sunucu Sorunlarınız ve Çözümleri » SSH
 


Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 16.11.07, 02:21
PowerUseR's Avatar
WHM VIP Member
 
Join Date: Aug 2007
Age: 36
Posts: 79
Rep Power: 22
PowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond repute
Send a message via ICQ to PowerUseR Send a message via MSN to PowerUseR Send a message via Yahoo to PowerUseR Send a message via Skype™ to PowerUseR
ssh ile saldiri alan siteyi süreli Suspended etme

Kimisi icin gereksiz birsey olabilir ama benım bazen cok isime yarıyor..

ssh ile bu müsteri hesabını süreli Suspended edebiliyoruz

Code:
pico aski.sh
yazıp icine asagidaki kodlari giriyoruz

Code:
 
#!/bin/bash
 
if [ "$1" == "" ]; then
        echo "kullanici adi girmelisiniz"
        exit 1
fi
if [ "$2" == "" ]; then
        echo "saniye cinsindan zamani girmelisiniz"
        exit 1
fi
 
/scripts/suspendacct $1 ; sleep $2 ; /scripts/unsuspendacct $1
Code:
chmod 755 aski.sh
gerekli yetkisini veriyoruz

Suspended etmek istedigimizde

sh aski.sh kullaniciadi süre yani kullanici adinin mehmet oldugunu farzedersek ve bunu 1 dakıka Suspended edeceksek

sh aski.sh mehmet 60& yaptigimizda sitenin Suspended oldugunu ve 1 dakıka sonra otomatik acıldıgını görecegiz

Kodlama alintidir
__________________
CahiL Bir kimsenin yanında Kitap gibi sesiz OL..!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 16.11.07, 05:27
Tickhi's Avatar
Athlon Dual Core
 
Join Date: Jul 2007
Location: Bulgaria
Posts: 368
Rep Power: 6
Tickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really niceTickhi is just really nice
Send a message via MSN to Tickhi Send a message via Yahoo to Tickhi Send a message via Skype™ to Tickhi
Bilgi için teşekkürler ama her suspend için bunu yapmak zaman kaybı bence zaten her hostçu makinasının başındadır sürekli.Yinede teşekkürle güzel bilgi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 16.11.07, 06:14
PowerUseR's Avatar
WHM VIP Member
 
Join Date: Aug 2007
Age: 36
Posts: 79
Rep Power: 22
PowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond reputePowerUseR has a reputation beyond repute
Send a message via ICQ to PowerUseR Send a message via MSN to PowerUseR Send a message via Yahoo to PowerUseR Send a message via Skype™ to PowerUseR
dedigim gibi kimisi icin gereksiz ancak bazen isime yarıyor özellikle httpd kilitlenmelerinde
__________________
CahiL Bir kimsenin yanında Kitap gibi sesiz OL..!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 26.12.07, 15:14
Sempron
 
Join Date: Jul 2007
Posts: 14
Rep Power: 0
volkandesign is on a distinguished road
eee o anda web açilmiyor sadece putty açiliyor o zaman bence bu iş daha mantıklı ve daha kolay ben herşeyimi SSH ile yaptiğim için çok gerekli bişey bence ,) ama onda hangi siteye saldiri geldiğini nerden anlarız?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 27.12.07, 00:20
sinangunay's Avatar
FULL DESTEK SUNUCULAR
 
Join Date: Jul 2007
Location: biLi biLi boP
Age: 28
Posts: 1,664
Rep Power: 1073
sinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond reputesinangunay has a reputation beyond repute
Güzel paylaşım gerçekten
.
__________________
-----------------------------------------------------------------------------------------
>> LÜTFEN ÜCRETSİZ DESTEK TALEP ETMEK İÇİN MSN ADRESLERİMİZİ EKLEMEYİNİZ. HER TÜRLÜ ÜCRETSİZ DESTEK İÇİN FORUMLARIMIZI KULLANINIZ. TEŞEKKÜRLER <<
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 27.12.07, 03:47
Tahsin ALTAY's Avatar
SysAdmin
 
Join Date: May 2007
Posts: 458
Rep Power: 43
Tahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond reputeTahsin ALTAY has a reputation beyond repute
Çok hoş bir paylaşım gerçekten teşekkürler.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 28.12.07, 16:40
Sempron
 
Join Date: Jul 2007
Posts: 14
Rep Power: 0
volkandesign is on a distinguished road
Quote:
Originally Posted by volkandesign View Post
eee o anda web açilmiyor sadece putty açiliyor o zaman bence bu iş daha mantıklı ve daha kolay ben herşeyimi SSH ile yaptiğim için çok gerekli bişey bence ,) ama onda hangi siteye saldiri geldiğini nerden anlarız?

o anda saldiri gelen siteyi nasli anlariz ? yada hangi ipe ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 28.12.07, 17:57
Atari
 
Join Date: Sep 2007
Posts: 4
Rep Power: 0
Mickey is on a distinguished road
Quote:
Originally Posted by volkandesign View Post
o anda saldiri gelen siteyi nasli anlariz ? yada hangi ipe ?
netstat -np | grep SYN_RECV
hangi ipe saldırı geldiğini yukarıdaki komut ile görebilirsiniz.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 01.11.08, 00:06
KasperSky's Avatar
SysAdmin
 
Join Date: Jun 2008
Location: Kayseri
Posts: 149
Rep Power: 1001
KasperSky has a reputation beyond reputeKasperSky has a reputation beyond reputeKasperSky has a reputation beyond reputeKasperSky has a reputation beyond reputeKasperSky has a reputation beyond reputeKasperSky has a reputation beyond reputeKasperSky has a reputation beyond reputeKasperSky has a reputation beyond reputeKasperSky has a reputation beyond reputeKasperSky has a reputation beyond reputeKasperSky has a reputation beyond repute
Güzel Paylaşım PowerUseR şöyle bi araştırıyım dedim vallaha ne kadar foruma girdi isem Senin yazışının aynısını copy-past yapmışlar PowerUseR sen kodların alıntı olduğunu yazmışsın ama çoğu konunun alıntı olduğunu bile yazmamışlar ne insanlar var ya sağol.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 01.11.08, 00:29
Egebilisim's Avatar
Egebilisim.Net
 
Join Date: Apr 2008
Location: Rapidswitch
Posts: 179
Rep Power: 1
Egebilisim is on a distinguished road
Send a message via MSN to Egebilisim
Teşekkürler hocam
__________________
Egebilisim İnternet Hizmetleri
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Sign up for PayPal and start accepting credit card payments instantly.

Navigasyon
Menü