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

站内搜索

搜索

活动公告

通知:为庆祝网站一周年,将在5.1日与5.2日开放注册,具体信息请见后续详细公告
04-22 00:04
通知:本站资源由网友上传分享,如有违规等问题请到版务模块进行投诉,资源失效请在帖子内回复要求补档,会尽快处理!
10-23 09:31

LOLC [电脑软件]

SunJu_FaceMall

3万

主题

1174

科技点

3万

积分

白金月票

碾压王

积分
32796

立华奏

发表于 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次 权限: 太初窥星
「七転び八起き(ななころびやおき)」
回复

使用道具 举报

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

本版积分规则

关闭

站长推荐上一条 /1 下一条

手机版|联系我们|小黑屋|TG频道|RSS |网站地图

Powered by Pixtech

© 2025-2026 Pixtech Team.

>