简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย Français

站内搜索

搜索

活动公告

10-31 22:15
10-23 09:32
通知:本站资源由网友上传分享,如有违规等问题请到版务模块进行投诉,将及时处理!
10-23 09:31
10-23 09:28
通知:签到时间调整为每日4:00(东八区)
10-23 09:26

LOLC [电脑软件]

3万

主题

308

科技点

3万

积分

大区版主

木柜子打湿

积分
31891

财Doro三倍冰淇淋无人之境【一阶】立华奏小樱(小丑装)⑨的冰沙以外的星空【二阶】

发表于 2025-8-7 18:01:03 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

x

                               
登录/注册后可看大图


DDOS·低轨道离子炮(Low Orbit Ion Cannon,LOIC)

LOIC是一个最受欢迎的DOS攻击工具,即使是单个用户也可以执行DOS攻击小型服务器,工具非常易于使用。

kali linux下安装loic软件并不复杂。这里我仅仅是为了给WAF设备做个测试。
aptitude install git-core monodevelop      #安装monodevelop运行环境
mkdir loic && cd loic

vim loic.sh #编辑shell脚本

#!/bin/bash
# Copyfuck © 2010 q
#
# This script installs, updates and runs LOIC on Linux.
#
# Supported distributions:
# * Ubuntu
# * Debian
# * Fedora
#
# Usage: bash ubuntu_loic.bash <install|update|run>
#

GIT_REPO=http://github.com/NewEraCracker/LOIC.git
GIT_BRANCH=master

DEB_MONO_PKG="monodevelop liblog4net-cil-dev"
FED_MONO_PKG="mono-basic mono-devel monodevelop mono-tools"

lower() {
  tr '[A-Z]' '[a-z]'
}

what_distro() {
  if which lsb_release ; then
echo lsb_release -si | lower
  elif grep -qi ubuntu /etc/*release ; then
echo "ubuntu"
  elif [[ -e /etc/fedora-release ]] ; then
echo "fedora"
  else
    # Assume Debian-based
    echo "debian"
  fi
}

DISTRO=$(what_distro)

ensure_git() {
  if ! which git ; then
if [[ $DISTRO = 'ubuntu' || $DISTRO = 'debian' ]] ; then
sudo apt-get install git
    elif [[ $DISTRO = 'fedora' ]] ; then
sudo yum install git
    fi
fi
}

is_loic() {
  is_loic_git || { [[ -d LOIC ]] && cd LOIC && is_loic_git; }
}

is_loic_git() {
  [[ -d .git ]] && grep -q LOIC .git/config
}

get_loic() {
  ensure_git
  if ! is_loic ; then
git clone $GIT_REPO -b $GIT_BRANCH
  fi
}

compile_loic() {
  get_loic
  if ! is_loic ; then
echo "Error: You are not in a LOIC repository."
    exit 1
  fi
if [[ $DISTRO = 'ubuntu' || $DISTRO = 'debian' ]] ; then
sudo apt-get install $DEB_MONO_PKGS
  elif [[ $DISTRO = 'fedora' ]] ; then
sudo yum install $FED_MONO_PKS
  fi
mdtool build
}

run_loic() {
  is_loic
  if [[ ! -e bin/Debug/LOIC.exe ]] ; then
compile_loic
  fi
if ! which mono ; then
if [[ $DISTRO = 'ubuntu' || $DISTRO = 'debian' ]] ; then
sudo apt-get install mono-runtime
    elif [[ $DISTRO = 'fedora' ]] ; then
sudo yum install mono-runtime
    fi
fi
mono bin/Debug/LOIC.exe
}

update_loic() {
  ensure_git
  if is_loic ; then
git pull --rebase
    compile_loic
  else
echo "Error: You are not in a LOIC repository."
  fi
}

case $1 in
  install)
    compile_loic
    ;;
  update)
    update_loic
    ;;
  run)
    run_loic
    ;;
  *)
    echo "Usage: $0 <install|update|run>"
    ;;
esac

保存后执行下面的命令
chmod +x loic.sh #赋予执行权限
./loic.sh install #执行安装

执行下面的命令安装依赖
apt-get install mono-gmcs #安装依赖
然后运行
./loic.sh run #运行

下载链接:
下载1
售价: 免费 下载: 0次 权限: 太初窥星
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

频道订阅

频道订阅

加入社群

加入社群

联系我们|TG频道|RSS

Powered by Pixtech

© 2025 Pixtech Team.