Skip to content

0xdead8ead/pyjsfuck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

PyJSFuck - Python Library for creating JSFuck Payloads

Module for Python to create obfuscated javascript using JSFuck

Utilizes a lightly modified version of jsfuck.js - JSFuck Project

Big Thanks to Martin Kleppe for creating JSFuck! - http://aem1k.com

Dependencies

Example Usage

PyJSFuck Example Usage:

from pyjsfuck import JSFuck

if __name__ == '__main__':

    ## Code to be obfuscated with JSFuck
    code = 'alert(1);'

    ## Instance of JSFuck
    jsf = JSFuck()
    
    ## Ecodes Javascript with JSFuck (Expects Single Line of Javascript)
    jsfuck_payload = jsf.encode(code)
    
    print jsfuck_payload

About

Python JSFuck Library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published