Skip to content

Instantly share code, notes, and snippets.

@nietaki nietaki/remote_code.exs
Last active Apr 18, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.