Cracking of the xc series of the microchip Compiler

Source: Internet
Author: User

Set the followingCodeCopy the file and save it as xclm. c. Compile with mingw in Windows (recommended code: blocks's ide.exe to generate xclm.exe. Compile with the GCC-O xclm command in Linux to generate xclm, replace the files with the same name in the installation directory.

/*************************************** **************************************** Xclm. c-a replacement License Server for microchip embedded compilers ****************************** **************************************** * *******/# include <stdio. h> # include <string. h> # include <stdlib. h> Enum {license_free, license_standard, license_pro, license_null, license_nocpp, license_cppfree, license_cppful L};/* padded keystring for xc8 compiler */const char xc8_key [] = "120205690315959428539973816151144999076498629234049888" "179227155534183820578631309018645587360933525814619915" "779526071941849199599867328321377639683720790016145394" "178294936006671919157552224249424396156390966410329115" "909578096551465127991840510571525598801543710978110203" "9827532566787603522336984941661811057014715778639 "" 49973 "" 752378527793703095602570185318279000307654710756304884 "" 332086971157374238079344503160762531771453544441183117 "" 818224971852635709182448998796203508335756172022603393 "" 785870328131267807990054177348691152537065623705744096 "" 622171290262732073236149224291304052855537234103307757 "" 779806424202430488281521000914602653822069627155202082 "" 27433500101529480119869011762595167636699817183557" 5234 "" 880703719555742347294083595208861666202572853755813079 "" 282586487282173705566196898952662018776810629200817792 "" 338135876828426412432431480282173674506720693507626895 "" 304345939375032966363775750624733239923482883107733905 "" 27680200757984356120205690 "; int main (INT argc, char * argv []) {int license = license_free; int II; for (II = 0; II <argc; ++ II) {If (! Strcmp (argv [II], "swxc32") |! Strcmp (argv [II], "swxc16") |! Strcmp (argv [II], "swxc8") {license = license_pro;} else if (! Strcmp (argv [II], "swxcpp32") {license = license_cppfull;} else if (! Strcmp (argv [II], "-hash") {int Index = atoi (argv [II + 1]); printf ("%. 10 s ", & xc8_key [Index]) ;}} return license ;}

Thanks to http://bbs.21ic.com/icview-566825-1-1.html for providing the crack Certificate

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.