Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
test_playbooks
README.md
__main__.py
app.py
args.py
install.json
playbook_app.py
run.py

README.md

Character Code to String Converter

Convert character codes (technically, Unicode code points) to the string they represent. For example:

  • If you give this app 118, 97, 114, 32, 115, 111, 109, 101, 115, 116, 114, 105, 110, 103, you will get var somestring

You can provide this app either a list of character codes (e.g. [41, 42, 43, 44] or ['41', '42', '43', '44']) or just a string seperated by a comma (e.g. 45, 46, 47, 48 or '45', '46', '47', '48').

Under the hood, this app uses Python's chr function.

Usage

It is not uncommon for Javascript malware to obfuscate itself using the String.fromCharCode function (it is common to see something like eval(String.fromCharCode(...)) (e.g. https://gist.github.com/jonmarkgo/3431818)). This playbook app lets you convert these character codes to the string they represent.

This playbook app replicates Javascript's String.fromCharCode function.

In the test_playbooks directory included in this directory, there are some playbooks for testing/using this app.

Release Notes

0.0.1

  • Initial Release
You can’t perform that action at this time.