All Projects → jklmnn → Imagejs

jklmnn / Imagejs

Licence: gpl-3.0
Small tool to package javascript into a valid image file.

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Imagejs

Wascan
WAScan - Web Application Scanner
Stars: ✭ 1,895 (+128.86%)
Mutual labels:  xss, injection
Commodity Injection Signatures
Commodity Injection Signatures, Malicious Inputs, XSS, HTTP Header Injection, XXE, RCE, Javascript, XSLT
Stars: ✭ 267 (-67.75%)
Mutual labels:  xss, injection
Gowapt
Go Web Application Penetration Test
Stars: ✭ 300 (-63.77%)
Mutual labels:  xss, injection
Uxss Db
🔪Browser logic vulnerabilities ☠️
Stars: ✭ 565 (-31.76%)
Mutual labels:  xss
Pixload
Image Payload Creating/Injecting tools
Stars: ✭ 586 (-29.23%)
Mutual labels:  injection
Xss Payloads
List of advanced XSS payloads
Stars: ✭ 696 (-15.94%)
Mutual labels:  xss
Atscan
Advanced dork Search & Mass Exploit Scanner
Stars: ✭ 817 (-1.33%)
Mutual labels:  xss
Svg Inject
A tiny, intuitive, robust, caching solution for injecting SVG files inline into the DOM.
Stars: ✭ 559 (-32.49%)
Mutual labels:  injection
Janusec
Janusec Application Gateway, Provides Fast and Secure Application Delivery. JANUSEC应用网关,提供快速、安全的应用交付。
Stars: ✭ 771 (-6.88%)
Mutual labels:  xss
Command Injection Payload List
🎯 Command Injection Payload List
Stars: ✭ 658 (-20.53%)
Mutual labels:  injection
Sqlinjectionwiki
A wiki focusing on aggregating and documenting various SQL injection methods
Stars: ✭ 623 (-24.76%)
Mutual labels:  injection
Android Reports And Resources
A big list of Android Hackerone disclosed reports and other resources.
Stars: ✭ 590 (-28.74%)
Mutual labels:  xss
Netbare
Net packets capture & injection library designed for Android
Stars: ✭ 716 (-13.53%)
Mutual labels:  injection
Xspear
Powerfull XSS Scanning and Parameter analysis tool&gem
Stars: ✭ 583 (-29.59%)
Mutual labels:  xss
Dalfox
🌘🦊 DalFox(Finder Of XSS) / Parameter Analysis and XSS Scanning tool based on golang
Stars: ✭ 791 (-4.47%)
Mutual labels:  xss
Xray
一款完善的安全评估工具,支持常见 web 安全问题扫描和自定义 poc | 使用之前务必先阅读文档
Stars: ✭ 6,218 (+650.97%)
Mutual labels:  xss
Resources For Beginner Bug Bounty Hunters
A list of resources for those interested in getting started in bug bounties
Stars: ✭ 7,185 (+767.75%)
Mutual labels:  xss
Latte
☕ Latte: the intuitive and fast template engine for those who want the most secure PHP sites.
Stars: ✭ 616 (-25.6%)
Mutual labels:  xss
Injectify
Perform advanced MiTM attacks on websites with ease 💉
Stars: ✭ 612 (-26.09%)
Mutual labels:  xss
Atlas
Quick SQLMap Tamper Suggester
Stars: ✭ 679 (-18%)
Mutual labels:  injection

imagejs

Small tool to package javascript into a valid image file.
Currently supported are gif and bmp.

Building:

To build this tool, build-essential and cmake are required (this is for Debian and Ubuntu based systems, for any other system please refer to its documentation). After installing the dependencies, run the following commands:

$ git clone https://github.com/jklmnn/imagejs.git
$ cd imagejs
$ mkdir build
$ cd build
$ cmake ..
$ make

Usage:

Run imagejs option jsfile.js. The outcoming image file will be named like the input file + the image ending.. Options are currently bmp, gif, webp, pnm and pgf.

If you add -l as flag you your image is written to the file so that you can open it and view your code as a line of pixels.
This is currently only supported for bmp files.

Example:

$ ./imagejs bmp code.js -l
will return a file named code.js.bmp that is viewable.

Code can now be embedded into existing gif files by using the flag -i with a gif file as argument.
Example:
$ ./imagejs gif code.js -i giffile.gif

This is currently available for gif, bmp, webp, where webp is still beta.

Supported output files are: gif, bmp, webp, pnm, pgf

Background:

This tool allows you to create a picture file that is able to run javascript code. A file like this is able to extend XSS vulnerabilities. For example, if you are able to put a script tag on a website but cant run the script because it only runs scripts from this website, you can just upload e.g. a profile picture containing the code you want to run. The idea came from Ajin Abraham and I put it in C code and also added the ability to do the same thing also with bitmap files.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].