Atitit.木马病毒 webftp 的原理跟个设计

Atitit.木马病毒 webftp 的原理跟个设计

ftp木马的效果

文件传播

文件列表

文件内容查看

作者::  ★(attilax)>>> 绰号:老哇的爪子 ( 全名::Attilax Akbar Al Rapanui 阿提拉克斯 阿克巴 阿尔 拉帕努伊 ) 汉字名:艾龙,  EMAIL:1466519819@qq.com

转载请注明来源: http://blog.csdn.net/attilax

package aaaAddr;

import java.util.ArrayList;

import java.util.List;

import org.apache.ftpserver.FtpServer;

import org.apache.ftpserver.FtpServerFactory;

import org.apache.ftpserver.ftplet.Authority;

import org.apache.ftpserver.ftplet.FtpException;

import org.apache.ftpserver.usermanager.impl.BaseUser;

import org.apache.ftpserver.usermanager.impl.WritePermission;

public class FtpServerTsest {

public static void main(String[] argsthrows FtpException {

  List<Authority> authorities = new ArrayList<Authority>();

  authorities.add(new WritePermission());

  

  

 BaseUser user = new BaseUser();

  user.setName("anonymous");

  user.setHomeDirectory("c:");

  user.setAuthorities(authorities);

  

 FtpServerFactory serverFactory = new FtpServerFactory();

  serverFactory.getUserManager().save(user);

  FtpServer server = serverFactory.createServer();

  server.start();

  System.out.println("---f");

}

}

Java使用Apache FtpServer实现嵌入式FTP服务器 推酷.htm

原文地址:https://www.cnblogs.com/attilax/p/5963417.html