This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def derive(mac: str) -> str: | |
| mac = mac.upper() | |
| h = ord(mac[0]) | |
| for i in range(1, len(mac)): | |
| h = (h * 33 + ord(mac[i])) | |
| # "MCPP" | |
| xors = [0x4D, 0x43, 0x50, 0x50] | |
| key = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Run as admin!!! | |
| # Move to the root of your website | |
| cd /home/admin/web/fennecology.com/web/public_html | |
| # Download the latest version of WordPress | |
| wget https://wordpress.org/latest.tar.gz -O wordpress.tar.gz | |
| # "Unzip" the file | |
| tar -zxvf wordpress.tar.gz |