自定内容并生成Idea激活码,已废弃,请考虑自己部署

很多人都想自定义Idea激活码的到期时间或者License名称,于是我写了一个接口来提供这个功能

使用前提

使用ja-netfilter并在power.conf中的 [result] 节下新增一行配置

EQUAL,552256481678533139637975642367886203758236695483472209227743107098274039115182632876163871002685432662302338668484423414183623828225303129495011678242692842492488816514989676246788248148342413267485195568231641482216898266877438354128287060766631859161479332205725666574464164020522537595703362075565234890263790811265628293553656776925959545054122892468596656349514684518208997243750044021837251938753278807502305685113970717218831835618638457758130244769634525644949374508517044601990948117620105271720428259518909031341417933211526168184737184239634893948475085109420481522243358927998080508613356123692889767778533191484116809048763806053864339307673413329622302838455339868310031694563895311196234390180465202269142275598079255373287732431039254464172062988256518444614496248243200781259934221113710095392103382136300966279867703201614910212881522237167155093128902262921185900884869382176544761664777559104752378158192377647794361684542114437145121112034418220761298224143523298442362011266447239773883726746341810632935875214148521014297762215812293965213101140233155347800537083565331646491142112103328400294630793407149764120146697310714474595556761774911418274155051344410984326483216333907679252415962391346653515408516718,65537,860106576952879101192782278876319243486072481962999610484027161162448933268423045647258145695082284265933019120714643752088997312766689988016808929265129401027490891810902278465065056686129972085119605237470899952751915070244375173428976413406363879128531449407795115913715863867259163957682164040613505040314747660800424242248055421184038777878268502955477482203711835548014501087778959157112423823275878824729132393281517778742463067583320091009916141454657614089600126948087954465055321987012989937065785013284988096504657892738536613208311013047138019418152103262155848541574327484510025594166239784429845180875774012229784878903603491426732347994359380330103328705981064044872334790365894924494923595382470094461546336020961505275530597716457288511366082299255537762891238136381924520749228412559219346777184174219999640906007205260040707839706131662149325151230558316068068139406816080119906833578907759960298749494098180107991752250725928647349597506532778539709852254478061194098069801549845163358315116260915270480057699929968468068015735162890213859113563672040630687357054902747438421559817252127187138838514773245413540030800888215961904267348727206110582505606182944023582459006406137831940959195566364811905585377246353->31872219281407242025505148642475109331663948030010491344733687844358944945421064967310388547820970408352359213697487269225694990179009814674781374751323403257628081559561462351695605167675284372388551941279783515209238245831229026662363729380633136520288327292047232179909791526492877475417113579821717193807584807644097527647305469671333646868883650312280989663788656507661713409911267085806708237966730821529702498972114194166091819277582149433578383639532136271637219758962252614390071122773223025154710411681628917523557526099053858210363406122853294409830276270946292893988830514538950951686480580886602618927728470029090747400687617046511462665469446846624685614084264191213318074804549715573780408305977947238915527798680393538207482620648181504876534152430149355791756374642327623133843473947861771150672096834149014464956451480803326284417202116346454345929350148770746553056995922154382822307758515805142704373984019252210715650875853634697920708113806880196144197384637328982263167395073688501517286678083973976140696077590122053014085412828620051470085033364773099146103525313018873319293728800442101520384088109603555959893639842091339193891977395427305674935962998394201154475636326880291448367598036283623703166979

使用方式

接口地址:https://jetbra.noviceli.win/generateLicense
入参如下,下面是一个生成Pycharm licensee的参数,生成其它只需修改products

{
    "licenseeName": "your licenseeName",
    "assigneeName": "your assigneeName",
    "products": [
        {
            "code": "PCWMP",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "PC",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "PSI",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        }
    ]
}

你会得到类似如下返回

{
    "license": "FJZG9DT207-eyJsaWNlbnNlSWQiOiJGSlpHOURUMjA3IiwibGljZW5zZWVOYW1lIjoieW91ciBsaWNlbnNlZU5hbWUiLCJhc3NpZ25lZU5hbWUiOiJ5b3VyIGFzc2lnbmVlTmFtZSIsImFzc2lnbmVlRW1haWwiOiIiLCJsaWNlbnNlUmVzdHJpY3Rpb24iOiIiLCJjaGVja0NvbmN1cnJlbnRVc2UiOmZhbHNlLCJwcm9kdWN0cyI6W3siY29kZSI6IlBDV01QIiwiZmFsbGJhY2tEYXRlIjoiMjAzMC0wOS0xNCIsInBhaWRVcFRvIjoiMjAzMC0wOS0xNCIsImV4dGVuZGVkIjp0cnVlfSx7ImNvZGUiOiJQQyIsImZhbGxiYWNrRGF0ZSI6IjIwMzAtMDktMTQiLCJwYWlkVXB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8NPLmnHSY02q4KMVW2ozXtaAxSYQmZswyP1YnBcnRukoI4igobpcKQXwGoQCIUlec8LbFXYM9V2eNCwgABqd4r67m7QJq31Y/1TJysQdMH+hoPFy9rqNCxSq3ptpuzcYAk6qVf58PrrYH/6bHwiYPAayvvdzNPOhM9OCwomfcazhK3y7HyS8aBLntTQYFf7vYzZxPMDybYTvJM+ClCNnVD7Q9fttIJ6eMXFsXb8YK1uGNjQW8Y4WHk1MCHuD9ZumWu/CtAhBn6tllTQWwNMaPOQvKf1kr1Kt5etrONY+B6O+Oi75SZbDuGz7PIF9nMPy4WB/8XgKdVFtKJ7/zLIPHgY8IKgbx/VTz6uBhYo8wOf3xzzweMnn06UcfV3JGNvtMuV4vlkZNNxXeifsgzHugCvJX0nybhfBhfIqVyfK6t0eKJqrvp54XFEtJGR+lf3pBfTdcOI6QFEPKGZKoQz8Ck+BC/WBDtbjc/uYKczZ8DKZu"
}

使用其中的license 填入Pycharm

Code怎么来的?

访问: https://data.services.jetbrains.com/products?fields=code,name,description
你将看到以下信息

这里是部分code,实际上比如idea,还会捆绑一些付费插件,它们也有code

下面我提供一个较全的code

["YTD", "QDGO", "MF", "DG", "PS", "QA", "IIE", "YTWE", "FLS", "DLE", "RFU", "PPS", "PCWMP", "II", "TCC", "RSU", "PCC", "RC", "PCE", "FLIJ", "TBA", "DL", "SPP", "QDCLD", "SPA", "DMCLP", "PSW", "GW", "PSI", "IIU", "DMU", "PWS", "HB", "WS", "PCP", "KT", "DCCLT", "RSCLT", "WRS", "RSC", "RRD", "TC", "IIC", "QDPY", "DPK", "DC", "PDB", "DPPS", "QDPHP", "GO", "HCC", "RDCPPP", "QDJVMC", "CL", "DM", "CWML", "FLL", "RR", "QDJS", "RS", "RM", "DS", "MPS", "DPN", "US", "CLN", "DPCLT", "RSV", "MPSIIP", "DB", "QDANDC", "AC", "QDJVM", "PRB", "RD", "CWMR", "SP", "RS0", "DP", "RSF", "PGO", "QDPYC", "PPC", "PC", "EHS", "RSCHB", "FL", "QDNET", "JCD"]

无脑全部填入即可

110 个赞

厉害了,明天试一试

4 个赞

code的有哪些可选值呢,还有就是extended的作用是啥

4 个赞

更新了一些code

5 个赞

phpstorm 也可以这么用吗

4 个赞

可以,phpstorm用 PS PCWMP PSI 这三个code就行

3 个赞

感谢,我去试试

4 个赞

那么问题来了 激活码怎么搞

4 个赞

接口地址给你了,入参格式给你了,调用下接口就好了

4 个赞

大佬 你截图的某括号很是闪光

4 个赞


:blush:

4 个赞

:heart_eyes: :heart_eyes:

4 个赞

全部code粘上生成的code在idea中显示 “Specified activation code is not applicable tothis product 帮助”,试了go和py可以,DG也不行 :rofl:

4 个赞

入参发一下,全部code都使用上应该类似如下


    const codes = ["YTD", "QDGO", "MF", "DG", "PS", "QA", "IIE", "YTWE", "FLS", "DLE", "RFU", "PPS", "PCWMP", "II", "TCC", "RSU", "PCC", "RC", "PCE", "FLIJ", "TBA", "DL", "SPP", "QDCLD", "SPA", "DMCLP", "PSW", "GW", "PSI", "IIU", "DMU", "PWS", "HB", "WS", "PCP", "KT", "DCCLT", "RSCLT", "WRS", "RSC", "RRD", "TC", "IIC", "QDPY", "DPK", "DC", "PDB", "DPPS", "QDPHP", "GO", "HCC", "RDCPPP", "QDJVMC", "CL", "DM", "CWML", "FLL", "RR", "QDJS", "RS", "RM", "DS", "MPS", "DPN", "US", "CLN", "DPCLT", "RSV", "MPSIIP", "DB", "QDANDC", "AC", "QDJVM", "PRB", "RD", "CWMR", "SP", "RS0", "DP", "RSF", "PGO", "QDPYC", "PPC", "PC", "EHS", "RSCHB", "FL", "QDNET", "JCD"]
    window.copyLicense = async function () {
        let products = Array.from(codes).map((code) => {
            return {code: code}
        })
        let data = {
            "licenseeName": "test",
            "assigneeName": "test",
            "assigneeEmail": "",
            "licenseRestriction": "",
            "checkConcurrentUse": false,
            "products": products,
            "metadata": "0120230102PPAA013009",
            "hash": "41472961/0:1563609451",
            "gracePeriodDays": 7,
            "autoProlongated": true,
            "isAutoProlongated": true
        }
        let resp = await fetch('/generateLicense', {
            method: 'POST',
            headers: {
                'Content-Type': 'application/json'
            },
            body: JSON.stringify(data)
        }).then(response => response.json())
        navigator.clipboard.writeText(resp.license)
            .then(() => {
                alert("The activation code has been copied to your clipboard");
            })
    }

需要转成对应的格式

4 个赞

POST https://jetbra.noviceli.win/generateLicense

{
    "licenseeName": "wudiboy",
    "assigneeName": "wudiboy",
    "products": [
        {
            "code": "RSCLT",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "YTWE",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "DG",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "PS",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "CLN",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "RRD",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "SPA",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "CWMR",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "DL",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "YTD",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "DM",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "CWML",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "DP",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "DS",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "QA",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "EHS",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "MPS",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "SPP",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "TBA",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "RDCPPP",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "MF",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "QDJVM",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "DPCLT",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "QDCLD",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "QDGO",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "US",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "QDNET",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "RFU",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "AC",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "IIC",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "IIE",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "HCC",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "JCD",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "DPPS",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "PCC",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "RC",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "RD",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "PCE",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "IIU",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "RSU",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "TCC",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "RSCHB",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "QDJS",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "RM",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "DLE",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "DMCLP",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "PCP",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "DPK",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "RR",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "RS",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "FL",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "FLIJ",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "FLL",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "FLS",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "MPSIIP",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "WRS",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "WS",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "SP",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "GO",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "CL",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "KT",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "QDANDC",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "QDJVMC",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "DMU",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "TC",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "GW",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "QDPHP",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "DCCLT",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "QDPYC",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "QDPY",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "HB",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        },
        {
            "code": "DC",
            "fallbackDate": "2030-09-14",
            "paidUpTo": "2030-09-14"
        }
    ]
}

4 个赞

DG 用 DB PSI PDB 这三个code就行

2 个赞

66666

2 个赞

idea 用 II PSI PCWMP

4 个赞

666

2 个赞

又是一个大佬,牛逼!!

2 个赞