netrat
Version:
Damn easy multiplatform Node.js RAT generator
56 lines (33 loc) • 2.45 kB
Markdown
# netrat
[](https://www.npmjs.com/package/netrat)

[](https://david-dm.org/roccomuso/netrat)
[](https://standardjs.com)
<span class="badge-patreon"><a href="https://patreon.com/roccomuso" title="Donate to this project using Patreon"><img src="https://img.shields.io/badge/patreon-donate-yellow.svg" alt="Patreon donate button" /></a></span>
> Damn easy multiplatform Node.js RAT generator
An easy tool to generate configurable backdoors that runs on Windows, Mac and Linux. Shells are upgradable to **Meterpreter**!
## Install
$ npm install -g netrat
## Usage
$ netrat
It will start the building procedure that lets you customize your backdoor.
Under the hood we use [pkg](https://github.com/zeit/pkg) to build the executable.
To reduce the build size up to 4 times I recommend you to compress your binary file.
NetRAT provides already a basic compression.
## Compression
Compression is possible thanks to [UPX](https://github.com/roccomuso/upx).
## Cross-platform commands
Commands starting with `cash` are backed with [cash](https://github.com/dthree/cash), providing an easy solution for simple Unix-like, cross-platform commands.
## Debug
To enable debug, set the env var, `DEBUG=netrat`.
## Core modules
| Name | Build | Description |
|------|-------|-------------|
| [netcat](https://github.com/roccomuso/netcat) | [](https://travis-ci.org/roccomuso/netcat) | Netcat client and server modules written in pure Javascript for Node.js |
| [cash](https://github.com/dthree/cash) | [](https://travis-ci.org/dthree/cash/) | Cross-platform Linux commands in ES6 |
| [pkg](https://github.com/zeit/pkg) | [](https://travis-ci.org/zeit/pkg) | Package your Node.js project into an executable |
| [upx](https://github.com/roccomuso/upx) | [](https://travis-ci.org/roccomuso/upx) | The ultimate packer for executables |
## Author
Rocco Musolino ([@roccomuso](https://twitter.com/roccomuso))
## License
MIT