javascript-js2png

module
v0.0.0-...-7292000 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2018 License: MIT

README

javascript-js2png

Hide JavaScript code into PNG image. For more details and a step-by-step description of the code follow this post.

Prerequisite

  • Go 1.3+ sudo apt-get install golang-go
  • Make (optional)
  • git clone https://github.com/expobrain/javascript-js2png.git

Usage

To compile the JS-to-PNG encoder run:

make js2png

To convert any payload into an image:

bin/js2png <js_file> <png_file>

Example

To run the embedded web server:

make js2png
make serve

To test the payload run the embedded web server and open the browser on http://localhost:8080.

Note: remember that for security reasons the browser will not execute any JavaScript code if the HTML file is loaded with the file:// protocol.

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL