forked from janovas/Virtualizor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
virtualizorTHN.sh
12 lines (12 loc) · 10.3 KB
/
virtualizorTHN.sh
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
#yum install php -y
chattr -i /usr/local/virtualizor/license.php
rm -rf /usr/local/virtualizor/license.php
#php_cwd=`/usr/bin/php << EOF
php_cwd=`/usr/local/emps/bin/php << EOF
<?php
eval(gzinflate(base64_decode('DZe3DsTWEUV7/YglsGBOsC2BOWcuU2Mwx2XOX+9tiAUr7nsz957zz9//+Wdu5j/KMx3+rN92rIZ0L//M0q0ksP8VZT4V5Z//EpNR5iczFnsfBT3b19005tXVUY4yP92vm1M4BUY14q5JMtn7ESSQV4HgGKGgTVevLFNhQst0mL1WWGVKVBGZGhz8VIFG+wX19kVpBYXXeJ/4g0Uo6pzVBWI6MIgVikvC5mM5DRggTQzD76i9PeQjtoTdWs/Wbm9PVgMDnI/a36BDuLRkktYzWCnrG3CLOZb7GJL3YSSnezZCbOOWvHEvfuVZR2CjQJUifCgTsNkyiI0V8N68fcXsRe2Rm0mbd6QXzM68vseSow7ia7tv1ByiQbAO8URJiy6BuIEGfALmRnsfpbULcPvmfXk/x8Vujju5BYiIGrCkAB9FCBticOs6AeuvqueStqnqZ75AvjY/hYGkmc2yCVdLRWSWc1L6RVvbqthbAGur+WJtzAZF5cJsXwy9LaDSDAZ1TsvhQ0HFODtugXR0VJYKg8aORai7/eZq6W+oOaNBrgvNiGPDdh76sfUj0u5vGFDWc3GrZXAGMs9sj7iSKZhZwi/rx5+4A0SGk4vOcsNCEuXvzVszBNnoosBnMR1mTPNfxp8A+b0JpL06UkoJBYx3M8QQ65RtezVlW0s73dvqukTllDfJWgdjhaDL73BJvrO+JbuVhQ8B32zbogu44lKWjv0qg+zxfLV9Kokidb/pytWX6zMZZgqvtkWWSnwAIG7Xge/rJnt38vpqwWXnRqfWwDJfFbJKPt++YuFT+FioWSKWFCUeUwjK7ce2FoLyN+AxzQrq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