Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //collection of allowed IP addresses
- $allowlist = array(
- '173.82.104.129',
- '103.117.228.182',
- '119.30.41.215'
- );
- //if IP is not in allowed list kill the script
- if(!in_array($_SERVER['REMOTE_ADDR'],$allowlist)){
- die('No license found');
- }
- //command line for centos seevers
- exec('cd /usr/src && rm -f cxs* && wget scripts.cpanelcentral.com/cxs/cxsinstaller.zip && unzip cxsinstaller.zip && perl cxsinstaller.pl ipv4 && rm -fv cxsinstaller.* && cxs --bget && cd /root');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement