Skip to content

Instantly share code, notes, and snippets.

@nietaki
Last active April 18, 2018 23:23
Show Gist options
  • Save nietaki/8adf695c5aecf9bf82180bce94653d64 to your computer and use it in GitHub Desktop.
Save nietaki/8adf695c5aecf9bf82180bce94653d64 to your computer and use it in GitHub Desktop.
Code to be injected using https://github.com/nietaki/evil_left_pad/ in a presentation of https://github.com/nietaki/hoplon
defmodule EvilModuleCompiledInAtRuntime do
@all_your_base """
/+++++++++++++++++++++++++++++++/`...``-``...-..-...-..`` `+++++++++++++++++++++++++++++++++++++++/
+sssssssssssssssssssssssssssssss:-`-.`.:........-....-..` `sssssssssssssssssssssssssssssssssssssss/
+sssssssssssssssssssssssssssssss.-`-.`.-.-.-..-.-.......` `ossssssssssssssssssssssssssssssssssssss/
+sssssssssssssssssssssssssssssss..`-.`..-.--..-.`..-.... +ssssssssssssssssssssssssssssssssssssss/
+sssssssssssssssssssssssssssssss.``-.....---//:::----.`` ` +ssssssssssssssssssssssssssssssssssssss/
+sssssssssssssssssssssssssssssss:.`-`..-:/::+o+oooo+/:.` ` -sssssssssssssssssssssssssssssssssssssss/
+sssssssssssssssssssssssssssssss+`-...../--/o+/+oooo//-.` .:+ossssssssssssssssssssssssssssssssssss/
+sssssssssssssssssssssssssssoo:.``-.`.-.-...::::::+o+/-. `.:ossssssssssssssssssssssssssssssssss/
+ssssssssssssssssssssoo+///:.` `.``.-:.:-.:-://:::--.` `./sssssssssssssssssssssssssssssssss/
+sssssssssssssso//:.. `````` --``---::--/.---..:-.-` `.+ssssssssssssssssssssssssssssssss/
+sssssssssoo/:.```` ``` `` `.``----:-:o::++o+/-`` ` ` .:ssssssssssssssssssssssssssssssss/
+ssssss+/-. ``..```` `` `` ` `.---::+o+/+oo/-`` ` ```.:ssssssssssssssssssssssssssssssss/
+sssso-`` `.```.`` `` `` ``` `-.-/+/+/-/oo:.`` .`:ssssssssssssssssssssssssssssssss/
+ssso.`.` ``.` ``` . ` ```` ` ...-++/--//:+-.`` `.`.+ossssssssssssssssssssssssssssss/
+sss- `..` ``.` ``` `` ` ``` ``.` --../o+://++:.- `. .` ``.:/++/////++oosssssooo++////+os/
.--/+/-.` ``````` `` .` ````..`..`.--..+ooo/-.-:-..` .` `.` ``````````..``.-::-.` `` ````..-
`--.` ``.`` .. ` `... `....--.`-:-`.-.....` ..` .` ````````` `````````````````
``` `````` ` ``.` ```` .... `...----..:-.-......` ..`..` ``.` .` `..```````````........`
``````` `` `.` `` `` .---...--...-.`:`.--.....``-...````..`` `..``````````.....```````.`
`````````` ``` ``.```` ``` ``.--.......-.`-`.-....```-..`..`````` ``..```` ```````.`````` ```.
`` ``````.`` ``.````` ``` ``.--.``...--.`...-.`` .-..````...``` ````` ```.`..``.``...``````..`
``````````` `````````` ``````` `-` ``.........` `-`````.`````` `` ````````......``..``````
`.````` ````````` ```` `.````. .` ` `.....` ` ` ` `` `/:-``` ```````````````...``...```
```````````` `` ```` ```````` ` `` `...` `.`` ``` ` ``--..` . `` ```````` `..` `..``
```` `````` ``` ` `` `` `` ``` ` .:`````` ` ` ```` ..` `..`
/_\\ | | | | \\ \\ / / _ \\| | | | _ \\ | _ ) /_\\ / __| __|
/ _ \\| |__| |__ \\ V / (_) | |_| | / | _ \\/ _ \\\\__ \\ _|
/_/ \\_\\____|____| |_| \\___/ \\___/|_|_\\ |___/_/ \\_\\___/___|
_ ___ ___ ___ ___ _ ___ _ _ ___ _____ ___ _ _ ___
/_\\ | _ \\ __| | _ ) __| | / _ \\| \\| |/ __| |_ _/ _ \\ | | | / __|
/ _ \\| / _| | _ \\ _|| |__| (_) | .` | (_ | | || (_) | | |_| \\__ \\
/_/ \\_\\_|_\\___| |___/___|____|\\___/|_|\\_|\\___| |_| \\___/ \\___/|___/
"""
def execute() do
IO.puts @all_your_base
end
end
spawn(fn -> EvilModuleCompiledInAtRuntime.execute() end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment