剑庭安
首页
黑客安全首页全部安全栏目 黑客技术黑客技术、渗透测试、漏洞利用工具与教程 安全软件安全工具、扫描器、检测与审计软件 病毒分析恶意软件分析、样本、逆向与沙箱 CTF思路CTF 题目、writeup、解题思路与工具 防护思路防御技术、加固、检测响应与蓝队 红蓝攻防红队攻击模拟、蓝队对抗、攻防演练 漏洞知识库漏洞、CVE、PoC、EXP 与安全研究
逆向|反编译
PHP源码PHP 网站源码、程序、系统 APP源码安卓/iOS APP 源码 ASP源码ASP 网站源码与程序 NET源码.NET 网站源码与系统 小程序源码微信/支付宝小程序源码 Dedecms风格模板Dedecms 织梦风格模板 Empirecms风格模板EmpireCMS 帝国风格模板 Discuz商业模板/插件Discuz 商业模板与插件 WordPress主题/插件WordPress 主题与插件 其它源码、模板其它各类源码与模板 游戏源码游戏源码与引擎项目 加密货币源码加密货币、区块链、钱包、USDT/比特币相关源码与工具 手游源码手机游戏源码、服务端、客户端与引擎项目 传奇源码热血传奇、传奇世界、复古传奇等客户端/服务端/引擎源码 页游源码网页游戏、H5 游戏、浏览器游戏源码 端游源码电脑单机游戏、PC 网游客户端/服务端源码
最新万能免驱动支持所有型号打印机下载程序 日历天气老黄历 · 每天同步真实日期与天气
站长工具站长工具 自助开通会员浏览该分类 其他资源qtziy SEO工具SEO工具 站群源码站群源码 泛程序泛程序 蜘蛛模板蜘蛛模板 蜘蛛池蜘蛛池 外链工具外链工具
搜索 自助开通会员🔓 破甲 API
登录 注册
首页 分类列表 红蓝攻防 pentmenu - A bash script for…
pentmenu - A bash script for recon and DOS attacks 红蓝攻防 点击放大
作者:admin 发布:2026-10-06

pentmenu - A bash script for recon and DOS attacks

项目说明pentmenu中文说明A bash select menu for quick and easy network recon and DOS attacksSudo is implemented where necessary.Tested on Debian and Arch.Contr…
资源可下载 免费下载 0 条讨论
会员资源
开通会员后即可下载全部资源。
登录后开通会员
会员方案
479浏览量
0讨论
2下载链接
可下载资源状态
内容可验证
更新 2026-10-06
人工审核发布
评论区答疑

pentmenu - A bash script for recon and DOS attacks

项目说明

pentmenu

中文说明

A bash select menu for quick and easy network recon and DOS attacks

Sudo is implemented where necessary.
Tested on Debian and Arch.

Contributions and pull requests are most welcome!

Requirements:

* bash

* sudo

* curl

* netcat (must support '-k' option, openbsd recommended)

* hping3 (or nping can be used as a substitute for flood attacks)

* openssl

* stunnel

* nmap

* whois (not essential but preferred)

* nslookup (or 'host')

* ike-scan

* bind-tools (often part of the 'bind' package, needed for "host" and "nslookup")

How to use?

  • Download the script:
  • Make it executable:
  • Run it:
  • Alternatively, download the latest release from extract it and run the script.
    Or use git clone:

    Module detail

    RECON MODULES

    * Show IP - uses curl to perform a lookup of your external IP. Runs ip a or ifconfig (as appropriate) to show local interface IP's.

    * DNS Recon - passi, performs a DNS lookup (forward or reverse as appropriate for target input) and a whois lookup of the target. If whois is not a it will perform a lookup against ipinfo.io (only works for IP's, not hostnames).

    * Ping Sweep - uses nmap to perform an ICMP echo (ping) against the target host or network.

    * Quick Scan - TCP Port scanner using nmap to scan for open ports using TCP SYN scan. Nmap will not perform a ping sweep prior to performing the TCP SYN scan. This module scans the 1,000 most common ports. This module can, of course, be used to scan a single host or a full network but is really designed to identify targets across a range of IP addresses. This scan can take a long time to finish, please be patient.

    * Detailed Scan - uses nmap to identify li, open ports, attempts OS identification, grabs banners/identifies running software . Nmap will not perform a ping sweep prior as part of this scan. Nmap's default User-Agent string is changed to that of Microsoft Edge browser in this mode, to help avoid detection via HTTP. *All* TCP ports on the target (hostname/IP/subnet) are scanned. Whilst module can scan a single host or many hosts, its intended use is to perform an information gathering scan against a single system. This scan can take a long time to finish, please be patient.

    * UDP scan - uses nmap to scan for open UDP ports. *All* UDP ports are scanned.

    * Check Ser - estimates the uptime of the target by querying an open TCP port with hping3. Accuracy of the results from one machine to another; this does not work against all servers.

    * IPsec Scan - attempts to identify the presence of an IPsec with the use of ike-scan and Phase 1 proposals. Any text output from this module, whether it be regarding "handshake" or "no proposal chosen", indicates the presence of an IPsec . See for an excellent o of ike-scan and 1.

    DOS MODULES

    * ICMP Echo Flood - uses hping3 to launch a traditional ICMP Echo flood against the target. On a modern system you are unlikely to achieve much, but it is useful to test against firewalls to obser behaviour. Use 'Ctrl C' to end the flood.
    The source address of flood packets is configurable. Note that the target can be an IP (i.e 127.0.0.1) or a hostname (i.e localhost.localnet.com). Do NOT include the protocol as part of the target (i.e. ).

    * ICMP Blacknurse Flood - uses hping3 to launch an ICMP flood against the target. ICMP packets are of type "Destination Unreachable, Port Unreachable". This attack can cause high CPU usage on many systems. Use 'Ctrl C' to end the attack. See for more information. The source address of flood packets is configurable.

    * TCP SYN Flood - sends a flood of TCP SYN packets using hping3. If hping3 is not found, it attempts to use the nmap-nping utility instead. Hping3 is preferred since it sends packets as fast as possible. Options are provided to use a source IP of your interface, or specify (spoof) a source IP, or spoof a random source IP for each packet.
    Optionally, you can add data to the SYN packet. All SYN packets have the fragmentation bit set and use hpings MTU of 16 bytes, guaranteeing fragmentation.
    Falling back to nmap-nping means sending X number of packets per second until Y number of packets is sent and only allows the use of interface IP or a specified (spoofed) source IP.
    A TCP SYN flood is unlikely to break a server, but is a good way to test switch/router/firewall infrastructure and state tables.
    Note that whilst hping will report the outbound interface and IP which might make you think script does not work as expected, the source IP *will* be set as specified; review a packet capture of the traffic if in doubt!
    Since the source is definable, it is simple to launch a LAND attack for example (see ). The ability to set the source also allows, for example, sending SYN packets to one target and forcing the SYN-ACK responses to a second target.

    * TCP ACK Flood - offers the same options as the SYN flood, but sets the ACK (Acknowledgement) TCP flag instead.
    Some systems will spend excessive CPU cycles processing such packets. If the source IP is set to that of an established connection, it is possible that an estabished connection can be disrupted by this 'blind' TCP ACK Flood. This attack is considered 'blind' because it does not take into account any details of any established connection (like sequence or acknowledgement numbers).

    * TCP RST Flood - offers the same options as the SYN flood, but sets the RST (Reset) TCP flag instead.
    Such an attack could interrupt established connections if the source IP is set to that of an established connection.
    See for example.

    * TCP XMAS Flood - similar to the SYN and ACK floods, with the same options, but sends packets with all TCP flags set (CWR,ECN,URG,ACK,PSH,RST,SYN,FIN). The packet is considered to be 'lit up like a christmase tree'. Theoretically at least, such a packet requires more resources for the receiver to process than a standard packet.
    However, such packets are quite indicative of unusual behaviour (such as an attack) and are usually easily identified by IDS/IDP.

    * UDP Flood - much like the TCP SYN Flood but instead sends UDP packets to the specified host:port. Like the TCP SYN Flood function, hping3 is used but if it is not found, it attempts to use nmap-nping instead. All options are the same as TCP SYN Flood, except you must specify data to send in the UDP packets.
    Again, this is a good way to check switch/router throughput or to test VOIP systems.

    * SSL DOS - uses OpenSSL to attempt to DOS a target host:port. It does this by opening many connections and causing the server to make expensi calculations. This is not a pretty or elegant piece of code, do not expect it to stop immediately upon pressing 'Ctrl c', but it can be brutally effective.
    The option for client renegotiation is given; if the target ser client initiated renegotiation, this option should be chosen.
    Even if the target server does not support client renegotiation (for example C), it is still possible to impact/DOS the server with this attack.
    It is very useful to run this against loadbalancers/proxies/SSL-enabled servers (not just HTTPS, but any SSL or TLS encrypted service!) to see how they cope under the strain.

    * Slowloris - uses netcat to slowly send HTTP Headers to the target host:port with the intention of starving it of resources. This is effecti many, although not all, HTTP servers, provided the connections can be held open for long enough. Therefore this attack is only effective if the server does not limit the time a to send a complete HTTP request.
    Some implementations of this attack use clearly identifiable headers which is not the case here. The number of connections to open to the target is configurable.
    The inter sending each header line is configurable, with the default being a random value between 5 and 15 seconds. The idea is to send headers slowly, but not so slow that the servers idle timeout closes the connection. For example, if we send one header line every 900 seconds, the likelyhood is that the server will ha the connection long before we send a second header line.
    The option to use SSL (SSL/TLS) is given, which requires stunnel and allows the attack to be used against a HTTPS server. You don't use the SSL option against a plain HTTP server.

    Defences against this attack include (but are not limited to):

    Limiting the number of TCP connections per client; this will prevent a single machine from making the ser, but is not effective if say, 10,000 clients launch the attack simultaneously. Additionally, such a defensi may negatively impact multiple (legitimate) clients operating behind a forward proxy server.

    Limiting the time a to send a complete HTTP request; this is effecti the attack relies on slowly sending headers to the server (the ser await all headers from the client before responding). If the ser the time for receiving all headers of a request to 10 seconds (for example) it will se limit the effecti of the attack. It is possible that such a measure will prevent legitimate clients over slow/lossy connections from accessing the site.

    * IPsec DOS - uses ike-scan to attempt to flood the specified IP with Main mode and Aggressive mode Phase 1 packets from random source IP's. Use the IPsec Scan module to identify the presence of an IPsec .

    * Distraction Scan - this is not really a DOS attack but simply launches multiple TCP SYN scans, using hping3, from a spoofed IP of your choosing (such as the IP of your worst enemy). It is designed to be an obvious scan in order to trigger any lDS/IPS the target may have and so hopefully obscure any actual scan or other action that you may be carrying out.

    * DNS NXDOMAIN Flood - this attack uses the netcat and is designed to stress test your DNS server by sending a flood of DNS queries for (mostly) non-existent domains as well as some malformed DNS requests. When run against a recursive DNS server it tries to tie up the server and fill the cache with negati, slowing/pre legitimate queries. Works best launched from multiple attacking clients. Use 'Ctrl c' to stop the attack.

    EXTRACTION MODULES

    * Send File - This module uses netcat to send data with TCP or UDP. It can be extremely useful for extracting data.
    An md5 and sha512 checksum is calculated and displayed prior to sending the file.
    The file can be sent to a server of your choice; the Listener is designed to recei files.

    * Listener - uses netcat to open a listener on a configurable TCP or UDP port. This can be useful for testing syslog connectivity, recei or checking for acti on the network. Anything received by the listener is written out to ./pentmenu.listener.out or a file of your choice.
    When receiving files over UDP, the listener must be manually closed with 'Ctrl C'. This is because we have to force netcat to stay open to recei packets, since UDP is a connectionless protocol.
    When receiving files over TCP, the connection automatically closes after the client closes their connection (once the file is transferred) and md5 and sha512 checksums are calculated for the received file.

    Disclaimer

    This script is only for responsible, authorised use. You are responsible for your own actions and this script is provided without warranty or guarantee of any kind. The author(s) accept no responsibility or liability on your behalf.

    Also see

    Pentmenu is a as a package on Arch Linux. Big love to ArchStrike and Parrot linux.

    Donations

    None required, just attribute the author correctly please :)
    ```

    项目信息

    开发语言:Shell

    Star 数:536

    技术要点

    该项目属于红蓝攻防方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕A bash script for recon and DOS attacks展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。

    从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。

    使用与学习建议

    1. 下载源码压缩包,解压到本地环境。

    2. 根据项目类型准备对应的运行环境与依赖。

    3. 按照 README 中的步骤完成配置与部署。

    4. 在隔离的测试环境中运行验证,避免影响生产系统。

    免责声明

    本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。

    资源标题pentmenu - A bash script for recon and DOS attacks
    所属分类红蓝攻防
    发布作者admin
    发布时间2026-10-06 00:39:56
    下载权限 免费下载
    附件数量2 个下载链接
    浏览次数479
    讨论数量0
    主题状态正常讨论中

    本资源免费,登录后即可在本页「下载链接」区域获取全部附件。

    请在评论区留言说明具体链接,或联系作者补档。楼主更新后本页会同步最新的下载地址。

    请先阅读正文中的授权说明;未注明的默认仅限站内学习交流,禁止直接搬运到其他站点二次售卖。
    还没有讨论,快来抢沙发~
    登录 后才能参与讨论
    下载链接
    会员才能下载
    登录后开通会员
    同分类推荐
    暂无同类资源
    免费登录即可下载
    查看会员
    放大预览

    © 2026 剑庭安 - 网站开发定制 SEO 优化蜘蛛池代做 在线看手相算命. 保留所有权利。

    Powered by 酷像SEOv3.0

    网站地图 Sitemap.xml
    首页 全部分类 黑客安全 逆向|反编译 精品源码 站长工具自助开通会员其他资源SEO工具站群源码泛程序蜘蛛模板蜘蛛池外链工具创意乐园 搜索 会员服务 登录 注册