Python调用,爬虫JS混淆——数据加密获取步骤和方法
本帖最后由 liufu123 于 2022-11-17 14:41 编辑## JS混淆
####加密数据是无法通过在后台找到接口进行请求来获取数据
###### 目标网站:https://www.endata.com.cn/BoxOffice/BO/Year/index.html
###### 1. html中无法找到正文数据
![在这里插入图片描述](https://img-blog.csdnimg.cn/9f5c6c84fa08436c83ea9e2c371a7b32.png)
###### 2. 点击xhr中查看,发现有一组加密的接口和数据。
![在这里插入图片描述](https://img-blog.csdnimg.cn/e3ce5fc8c5124f6ab64ec167eecb9368.png)
###### 3. 搜索JSON.parse发现多个接口JS文件,无法定位JS位置,再次将XHR中找到的接口进行搜索。
![在这里插入图片描述](https://img-blog.csdnimg.cn/c1fc43aa01a14d73b13d818e1719fabc.png)![在这里插入图片描述](https://img-blog.csdnimg.cn/0f938ff52b4a43688e8f23c1b157eee1.png![在这里插入图片描述](https://img-blog.csdnimg.cn/23acb21a3f634870bae28bb58a4225c9.png)
###### 4. 进入到JS源代码中,进行搜索JSON.parse,进行打断点。
![在这里插入图片描述](https://img-blog.csdnimg.cn/7a7b262045964dad99e3064e228e009d.png)
###### 5. 刷新网站,将加密参数写入JS脚本。
![在这里插入图片描述](https://img-blog.csdnimg.cn/6e3613fa55e44daa99ec83ce97c1aa72.png)
```javascript
data ="4DB749779A39DEE31FD0B8ACEF6900E91E700950DBA5B26FE4D2A1901AEF02D0DBFE71D27089A7996FD4CFD5F1AC1EA4080EC951F7EEE0D280224814A8039CF1EC2981CB6C125D00F47F5A07868736C5F023FCABD6F6E55529337AA2B11666095456823D4B6B2DB7801FB6BD6496A0757155DEFADA99C686B054BF3109E2A83536E97EC249D00A1016A2DD7B89ECC268A3B4EB27DDDC579332F90BDA116150C7CB1802455026C2652CB41596A1D312A07D76C59397213168FEAFD95F70E0D5E5C37F7DC980584507DF7987589763603ED47139C751A36B11E7D269A261C70B4D572B18BBDCDAC56E65110A967EE784157962E28142E4F24C808E439235C53FDB8D01C1CD7DC4B31907090BF8EA0283149018224D5E2AAAD6C14D13F80838D7AD7579EA82DA01BCF33B0AF55AAC82528D1A09E906938A52C291135DC1846F9E8B007FDEEA8DD3E13E3BEC79465F6D5BF9988F3750DB759282F629C457214B9ED2E72BA59FF4CAC9F0ECA1B82491D62FB27A681EECE8021F08F0F277956E1A6A608C889BFE19FFD62A0C5B14BD17F62F44B9422C444803FF46BAC476D5EAEB579A614096C1A152749141E6312BAD86FF573D131D6B71CFA0973FF3B804A9E846D9F47169229C95F3763F93DB535952C97C157847242535110AE78C334841F8071D024D60BAFB10B19205838F706417CD83D7CA1AA0AEE08253F20064980E91751140759BEEE55A8CE037492B4DF917FA8DE8A7B2CCCF55F36DA3FEF7E6E1B8C5AFBEDB3B03B629F7B054747DC0B24A38C193F9922B2B75E27D974A0F030F4C5934C2855148ADC5864405C5C9B35FF5B4040AEAB4310C27A48BB07291926F970D89ECCCBF3C0A75E30C05351EA9B0B67ECE250B7E618FF38D2E4EDE9C9009D7D3A8464340E3EABCC5AB5A1E273C67979F108C14CC95CACD468C1CC253CBE4E27F2445487EC606AB5F8F8732CDD21E2E9EF36D35549D0C939C3A73A065F5852DE9DFA1A0160827440DCC042F7F5BC82FD33BF9D9249CEE1ED2132CDF47F8DA2E2962A6EDA4D3405B1CC444821E96481B633CD3ED31569622ED881A0715A971CD61746592CCE8FFE697DB33C5953FCBED8F3451CC8B4FCF5C46158F7F3C7F749C261A75FBA4CC49DB63831729067DAF788642A79EFA47F140AC5127242014A4888205A79C17D771AC1EA4080EC951FD97CA677A849B5568039CF1EC2981CB6D1F770615FB52D21F5B8484498FFA5E9434EC0100DA31AF185032436BCD845D2C289D92C44E80E2ECB73C27B26ACD72C32E03FD130722C12B535D26C13BF7A2B74483E8FB7000CC816857A1EA5A63D3994974AB9AA93289087F7763E5C20167B44836AFA31D292320D734164924DC895B1A90B1FD9FE2FC3C59A435C70515567D4DACC62EE100EB2ED224B1F0FCAC5C21FD2C479B6B66C65BD4631A6B3E63B586D9DDDD3095A1570CACA12E57081B25F18335DAE2ACA29598496AB6EC6E2056D527D432F8CD68B6E7B960B177AFB478E7F78C0CF40B441CB03606614E8EBE742F3DCDFE36B607151D372D747F2640BA2F8F8671E65D22B9CF482667AE930A8A6BD23F2C3A3FDCCC6744CF3925C264AAD48A6492B07EAB386B6B2DB7801FB6BD644C9C1E4AD1335C1A99C686B054BF31043698AC6EC196151C8EE6534AB1257869ECC268A3B4EB27DD56352CCAA11CAF24C5CD1525900DDE787F7763E5C20167B44836AFA31D292320D734164924DC895B1A90B1FD9FE2FC3C59A435C70515567FC489A81995DDC4DED224B1F0FCAC5C21FD2C479B6B66C65BD4631A6B3E63B586D9DDDD3095A1570CACA12E57081B25F18335DAE2ACA2959295EE04ABE4F9F6316BC7A72EB2BD15135FF3D631C2DED6FE26F2C2396C47D71C01574A5359042BAF3DCDFE36B607151D372D747F2640BA2B3A060BCAB46572EF482667AE930A8A65F7F2E335EC2ED94DA1635CB875A0C77138B8512CA506DF9BEF1948F1C619D3607E34CDAC8238499A3BC032B689031B1A2CAA6A666753C0C7275AECA5AF6CB9375C0354CC0935E1FFC9E60A3B41159549A36785BC24ADCBD09A10A1C7B5BCB7AFFD870324EC70BE9754BED43CB07D6258E67C6D8FA6B7260D65A8BFAEA3A192D1766145A67B4297AFBC9131C2B67E71596C0914729A0370C3B21594FECC00491D89CFE17DF2B3ABA8F64852CBAF536B3948947C16668083A0EC344CF7B0677CD9D8A5409566A9EFF37B877F39828D3E77B5EF0CA98C301DD06A6558082E538271055BF24DFB0117FB70AD0BC51B0E350C2A74D1E239A6FA4A47C9B1AC8788CCD97A1DC86C79FAE1D3DEBE5716532E8DD592EBCF4ECF32CAF8D5157C28FC906B491C6CE1FD8A97A636339B08ABB7EB0ED7692A55FE2F68A24FC25FC46276368B37D8F079B3448C47351B5A3FFB84278211EB9A9F03D50919EC39981144A101C50D97C107FCBCCFC755B472FF8ECDD683D1CFA0973FF3B804A9E846D9F47169229C95F3763F93DB535C330D68D213CCB9F535110AE78C334841F8071D024D60BAFB10B19205838F706417CD83D7CA1AA0AEE08253F20064980E91751140759BEEE83DBBD955CB2CE0A111623CC52A89558EFD74499A3A00410827295B8803679BE1B957589C67397485551B13A5A2CA715B75E27D974A0F0309CC6837B04DFCE28FA5A7CA6B1CD26AEFF5B4040AEAB4310C86CDB3738DA0B7852FC86BD936015282DA197EEC1F2FA0EBEF1948F1C619D3607E34CDAC8238499D8BAB52125F575D8A2CAA6A666753C0CA9F8F61A11F13D9984DEF0FA60B66F5A61C2BAF4EF2D7F470C21509B3A8AE3EB1F3F80FC7546106293DC0257E083C61E2E501FB251C225714E1C43A22C814A8ABD98B272BC6698E5CAEA9155D8625EB195DAFCE86BC6CAF72CE9A6588CFAF37756491E82EC0137FA0865A3B16805F1BD1BFCAB91661828C23F39C02A407F9CB5C755CE1461819E4F79F0DC39576B4BCC8EA1EFEFBB0F185A95D3BE8E887BA52CDDB903EAE943D2D2B89440759CC99E084D299F661AACB44F051151A95B5BF081450356CEAC22E3746BFA58953EBD3261A194860348E7C2EBE30C21259E809981BEF1948F1C619D3607E34CDAC8238499A3BC032B689031B1A2CAA6A666753C0C6BAF5C136B6DD2AA84DEF0FA60B66F5A3A130FC005E3BBA50C21509B3A8AE3EB3A27A9DAE8423CC1ED214E92AAABA9FBCA28861C6804B444801136C9BA92DF27587D319331EAA9130E0D5E5C37F7DC980584507DF7987589C07F901A69120D171A36B11E7D269A261C70B4D572B18BBDCDAC56E65110A967EE784157962E28142E4F24C808E439235C53FDB8D01C1CD7D127B58CEC725640D9786E9C441E6691A5BA21D738DD142A39B0A85E0BCD2F00417A718589585152C49276E47E99E35B38A52C291135DC189989B08CE084082EDD3E13E3BEC794657F4B7FB676F5301ACE90F0EAB874E381BCB4D341AF5951D74CAC9F0ECA1B8249926C9F26B0351FFD7B68663AD7FEDD55C449CAF92C37ACB47BADB2FD148FAB089ECC268A3B4EB27D470FFC0B215359BC53EBDCF99EB567D487F7763E5C20167B44836AFA31D292324049E1FF2EF7A85F33F6459D7B6EDF564E1C43A22C814A8ABD98B272BC6698E57B73282FB874899F1B07E9BA0F838B2D2CE9A6588CFAF37756491E82EC0137FA0865A3B16805F1BD1BFCAB91661828C23F39C02A407F9CB504A25069E6802B2E0FC6123A5F3B1C380E4914926D31C624CB0C0BE68FAD1759D113AC35AAC867313F6EE95E5985F5CE4D299F661AACB44F7E97C676B15E874BF70927ED08D227C66BFA58953EBD3261D5C13F28315B37E6043974A19467B80238AAB0E1FDCB46D20B67ECE250B7E618FF38D2E4EDE9C9002B88C63AC513F8A8ABCC5AB5A1E273C636263D9BF43FAC9BCFB2A272F6149E40489AD38CF2DED5BC9A36785BC24ADCBD67AC3B7FEF4879B793DC0257E083C61E2E501FB251C225714E1C43A22C814A8ABD98B272BC6698E5D4E7A1FF3302762195DAFCE86BC6CAF72CE9A6588CFAF37756491E82EC0137FA0865A3B16805F1BD1BFCAB91661828C23F39C02A407F9CB5C755CE1461819E4F79F0DC39576B4BCCC8AB33817A6D60635F6218926D263F6CB76FF30574BB43C6B495E4C3BE40D0744D299F661AACB44F7E97C676B15E874B86A3147D31565B956BFA58953EBD326130A898F17450FB20014356A7453916B691C6CE1FD8A97A632F8F264865BD6B85E347F852A29C91F9FC25FC46276368B3894B9846955BA0C57F62F44B9422C444C01A3F5A59743F69AEB579A614096C1A9C63FABC364B73621D312A07D76C59397213168FEAFD95F70E0D5E5C37F7DC980584507DF7987589763603ED47139C751A36B11E7D269A261C70B4D572B18BBDCDAC56E65110A967EE784157962E28142E4F24C808E439235D833B5C5731E8887BBEA490D9693A5F10BBB6737E7FF91A86A0335E562E51BD47F839AD8777B184E25A9EAB1B956BA443FB99224790627238A52C291135DC18F8CEE4CCC5AD3EB87593E187F6347FB77F4B7FB676F5301AE5DFB5F20E6865603F12C7AEE414D3838F2B6E8AD2AE9F2485032436BCD845D2783555641889074ACB73C27B26ACD72CA7C65BE4FF63D269DDC579332F90BDA129DC8E32A05671B66AB5F8F8732CDD21BF15D3CDF591D200FFD870324EC70BE9754BED43CB07D6258E67C6D8FA6B7260D65A8BFAEA3A192D265FB736C76E33055732DBA6E16ED23E96C0914729A0370C3B21594FECC00491D89CFE17DF2B3ABA8F64852CBAF536B3948947C16668083A22EBC0AB0A6B320A3453A913F340F513C9E710B63C33642DDF0F16435C5A739E0C08F5A2CCE97BDF94CEEF42EB49FFC1B70AD0BC51B0E350C2A74D1E239A6FA40DB309D8D3F70A2D97A1DC86C79FAE1DF1DDA0B593A51F790139148F62807F2DB6B2DB7801FB6BD644C9C1E4AD1335C1A99C686B054BF310554A1BD0B9C906CCA2949A0FD47445884406D30D1147FD8BA46354150C2827E58FE2D1E53FF9A55187F7763E5C20167B44836AFA31D292320D734164924DC895B1A90B1FD9FE2FC3C59A435C705155672FB675F51E1F28C8ED224B1F0FCAC5C21FD2C479B6B66C65BD4631A6B3E63B586D9DDDD3095A1570CACA12E57081B25F18335DAE2ACA29595D54DB96AAC665D643D86EC3DB6636A155E9AD29B0041841C17C194B37B6743174BFDF8A38BFBD39F3DCDFE36B607151D372D747F2640BA2276F6389780DC21FF482667AE930A8A6C46DE8FE82D892F79A155E48EC15E378C869A8B7C57A6B91B6B2DB7801FB6BD6DEB9118FB017D11FA99C686B054BF310171615523BD8E24FB7DE34B1B802FAEC74483E8FB7000CC826358BFD0BDA9F70063A6FC1D91C8E0BC939C3A73A065F5852DE9DFA1A0160827440DCC042F7F5BC82FD33BF9D9249CE624B6DEED41E2861EC8AE2EBBBAD69CD05B1CC444821E96481B633CD3ED31569622ED881A0715A971CD61746592CCE8FFE697DB33C5953FCBED8F3451CC8B4FC6A08962D9933419335F098DD627151966F00210EE8D65F24369AD692BF4DE6562A0CAF2DA66A735A4888205A79C17D771AC1EA4080EC951FA504D8C90F97EAE58039CF1EC2981CB638A31D719EF0B963CD48A6CED1C00F7D60B543915070723072F2490A867C49208655882362CA35A23A9CFFB72A649131F5D04D384220034BD499D18748853A04DC630A239DF9634E4F8ABB9D372576EB500CD8AAD6F2841CA56C0866D461FB6BFEF49C5BF4B31B716EB66A7630047285486792BE95D261F2DBACCEB469568E9E80A8C85150F73752B1A90B1FD9FE2FC3F3E8BAF7FCAFC85EC7FEE646A9105528ED224B1F0FCAC5C21FD2C479B6B66C65BD4631A6B3E63B586D9DDDD3095A1570CACA12E57081B25F18335DAE2ACA2959216C17647C0F574DB7F1EF87B4BBCAC7E4AB1D93707349FD570E0393B453FCFDE3E185F9101E165EF3DCDFE36B607151D372D747F2640BA200A95B52E3A84E31F482667AE930A8A64C318731A23A50DF76C5F2886601050ABA1454981C6528AF26B2DAB21DAEDC3043701510B92BCFF7EC8FE1262252DD794216E8FA0EB0234EC90F00B6364A382551B5A3FFB8427821B56AFA5F45D29109C39981144A101C50C6BA0D18ED095A21D86FF573D131D6B71CFA0973FF3B804A9E846D9F47169229C95F3763F93DB535BFDEF2E8CAEC0684535110AE78C334841F8071D024D60BAFB10B19205838F706417CD83D7CA1AA0AEE08253F20064980E91751140759BEEEF8A010DAE4D3A659333F8B8125D90C189C70C6461C38F89B3EA275800093B2080CCF39FD54AD48F06D3C761AECAC88D8B75E27D974A0F030F8E935277BEE2BAA54605DEF5AE487FEFF5B4040AEAB4310C9AD0CF43711C68CD624CE27E17CFB7991C6CE1FD8A97A63723511EF2C30522E69D71B19BB659E08FC25FC46276368B39F906B6A08F72E977F62F44B9422C44495F3074B23621CF6AEB579A614096C1A98F318DC26D05E257525B3836B21FF857213168FEAFD95F70E0D5E5C37F7DC980584507DF798758984BD8D8DBE2329FE1A36B11E7D269A261C70B4D572B18BBDCDAC56E65110A967EE784157962E28142E4F24C808E439235D833B5C5731E8881AF3E70E846E657C10BBB6737E7FF91A0B822DF507BB63DE87AA72C258F8183763DB14B04F2364E60316154D96F8FF1E38A52C291135DC18D13042EF0E250A717593E187F6347FB73F81556028078FB7C7B860EDE651761A8655882362CA35A2DD65AE18FBFF55D37A536CB871AB7B06D499D18748853A0472AB42A2BF062E8E4F8ABB9D372576EB2E2530F57C99BF56A56C0866D461FB6BFEF49C5BF4B31B716EB66A763004728501EE0C2AC89E2CB10C80BA095B078E94CEB0C6291FA7909CAE013FEF976B8117BD2C8B20B593DFB9E5DF72396E685A3D6FB15F58587EC7B63ACC39474343B6943EDAE0266A757DB6B1B8E71D0246D4DC44A0D2E630618943BFBB4B31D29F6D956CB8EE5A845CCFF08765B7136DABAD314F010399B345527B29FC07FC4954FF553A276751167CE36CA8B550EBC71664358753618FDCBE62825713BAE9ED3BE1403F91C6316B49D1FC15878E2AD8D4E7019C0FB8EB669EB6FAFC2AA6D9EA534791ED1341F7A5869FBC0B67ECE250B7E618FF38D2E4EDE9C900CBD80EF1368685E7ABCC5AB5A1E273C62ABEB64B6C11A2AB72FD25D699E81834ECADF493DD950C9F9A36785BC24ADCBD0270632CEC309D7D93DC0257E083C61EC02A93051846220F4E1C43A22C814A8ABD98B272BC6698E5F94ACA9376D36FFB513045629401D1452CE9A6588CFAF37756491E82EC0137FA0865A3B16805F1BD1BFCAB91661828C23F39C02A407F9CB504A25069E6802B2E4426CA01EF1480EC475A23F9D3028E3764E7045FE46F117DFD158DB8CEA609F4FB96E451DD36F4474D299F661AACB44F7E97C676B15E874BD1A212377C091E026BFA58953EBD32611F68FEB59B84836EE668CBBADC0133F04CAC9F0ECA1B82494A979100FAB63FB0979DB217ADCDA7783E94E348DA7BDDDFFD76090AB8D137C09ECC268A3B4EB27DDC7F4ECEF59B31CA53EBDCF99EB567D487F7763E5C20167B44836AFA31D292320D734164924DC895B1A90B1FD9FE2FC3C59A435C70515567023DF40E04A5AEB1ED224B1F0FCAC5C21FD2C479B6B66C65BD4631A6B3E63B586D9DDDD3095A1570CACA12E57081B25F18335DAE2ACA2959731024D826D59074B5D0BA03354455196A9AD985D72DD28F1D54F8C95670BF939F7C8B4C34B95E9CF3DCDFE36B607151D372D747F2640BA23522A584F8F7C153F482667AE930A8A603AE18764A6FF3BF8F0F19D3347559F9220ED78DAD4F6A7B76EEDADF750D89D54CAC9F0ECA1B82491E652B9591C71080A9B7109F690047493E94E348DA7BDDDF1B60D90CE085F9B09ECC268A3B4EB27D470FFC0B215359BC72F5025E34B68F4D87F7763E5C20167B44836AFA31D292320D734164924DC895B1A90B1FD9FE2FC3C59A435C705155675A8A6F10B0740F79ED224B1F0FCAC5C21FD2C479B6B66C65BD4631A6B3E63B586D9DDDD3095A1570CACA12E57081B25F1B53C91B5253F944F8C5B5B12E9E896AA89CC205D802AC5D265319B19683B2021230283007D7B35EE41F75EAC9D7774EF3DCDFE36B607151D372D747F2640BA2D9E04D0CED65AF76F482667AE930A8A634B84AB79AD7920DCF6120DCA8E3DB6EACB2DB0444A92CFCB6B2DB7801FB6BD644C9C1E4AD1335C1A99C686B054BF310F6A0FF94D0F2940984B54933BF43678C74483E8FB7000CC816857A1EA5A63D39063A6FC1D91C8E0BC939C3A73A065F5852DE9DFA1A0160827440DCC042F7F5BC82FD33BF9D9249CE624B6DEED41E286127B300EA3F5419D005B1CC444821E96481B633CD3ED31569622ED881A0715A971CD61746592CCE8FFE697DB33C5953FC3C929E50C63F8DFD17587E72381D927D29437ADE316C96C53DBD88355A35A8631EEFF456F441DC04709B7DDE01AFD8D64888205A79C17D771AC1EA4080EC951F1A1DD13540518B9F8039CF1EC2981CB6A72A4A6A914C0EFD93F0C3EA3267C446EEA597B03430D7099626342FCC605385E83D7AA0099CDD3B91C6CE1FD8A97A635E85145EC5666F9C0BCFB08C98EFC7C7FC25FC46276368B3B898DBBD449237E47F62F44B9422C4448A1468EFB03B6124AEB579A614096C1A65A4D4135C7AD9EA7525B3836B21FF857213168FEAFD95F70E0D5E5C37F7DC980584507DF7987589494DF14BC5E6F2FE1A36B11E7D269A261C70B4D572B18BBDCDAC56E65110A967EE784157962E28142E4F24C808E439235C53FDB8D01C1CD7A3FCD9091BF87A0DEB11F2B10E0353E5272E1238836E5E1636E4D851D3B9DB7AACA5790B7102C3D48282C77CF1C8495F38A52C291135DC1890C6F0FC8C108C69AAE1DA50E76AEB383F2DADF1785FDEBB98572D7CF12E26419035A637811DB8821756FD345B0D013B91C6CE1FD8A97A632F8F264865BD6B85E347F852A29C91F9FC25FC46276368B360B8807510A6918B7F62F44B9422C4440321D8A9981D7438AEB579A614096C1AF2C477DE86D8DE65D86FF573D131D6B71CFA0973FF3B804A9E846D9F47169229C95F3763F93DB535B6737481769CC23D535110AE78C334841F8071D024D60BAFB10B19205838F706417CD83D7CA1AA0AEE08253F20064980E91751140759BEEE03171720B06A189F2C09C5BD5757EA03FB96B9C7CBC63D5E2D1E7E5B8DC1F248AC9806DB7F43C42109CE15D52AAD1C64B69B442AA9FF0F62B07E482951B250A5E37F23B9158E7A37"
```
###### 6. 进行单步调试,发现参数变化成为混淆参数,将参数复制到JS脚本中。
![在这里插入图片描述](https://img-blog.csdnimg.cn/5a7d48c6bc2742e7bdab089257ee00c6.png)
```javascript
var webDES = function() {
var _0x4da59e = {
'bUIIa': function _0x2a2af9(_0x779387, _0x4a4fec) {
return _0x779387 + _0x4a4fec;
}
};
var _0x9843d3 = function(_0x29d556, _0xcc6df, _0x3d7020) {
if (0x0 == _0xcc6df)
return _0x29d556(_0x3d7020);
var _0x48914b;
_0x48914b = '' + _0x29d556(0x0, _0xcc6df);
return _0x48914b += _0x29d556['substr'](_0x4da59e(_0xcc6df, _0x3d7020));
};
this = function(_0xa0c834) {
var _0x51eedc = {
'pKENi': function _0x2f627(_0x5b6f5a, _0x440924) {
return _0x5b6f5a === _0x440924;
},
'wnfPa': 'ZGz',
'VMmle': '7|1|8|9|5|2|3|6|0|4',
'GKWFf': function _0x1a4e13(_0x40cfde, _0x16f3c2) {
return _0x40cfde == _0x16f3c2;
},
'MUPgQ': function _0x342f0d(_0x19038b, _0x4004d6) {
return _0x19038b >= _0x4004d6;
},
'hLXma': function _0x55adaf(_0x45a871, _0x161bdf) {
return _0x45a871 + _0x161bdf;
},
'JdOlO': function _0x13e00a(_0x5899a9, _0x4bb34d) {
return _0x5899a9 + _0x4bb34d;
},
'qrTpg': function _0x1198fb(_0x55b317, _0x22e1db, _0x1b091a) {
return _0x55b317(_0x22e1db, _0x1b091a);
},
'pdmMk': function _0xe2b022(_0x4af286, _0x4c2fd4) {
return _0x4af286 - _0x4c2fd4;
},
'xVKWW': function _0x1094a3(_0x5f3627, _0x2a0ac5, _0x3ad2e5) {
return _0x5f3627(_0x2a0ac5, _0x3ad2e5);
}
};
if (_0x51eedc(_0x2246('0x259', 'E&PI'), _0x51eedc['wnfPa'])) {
this['_append'](a);
return this();
} else {
var _0x492a62 = _0x51eedc('|')
, _0x356b01 = 0x0;
while (!![]) {
switch (_0x492a62) {
case '0':
_0x554c90 = _grsa_JS['decrypt']({
'ciphertext': _grsa_JS['enc']['parse'](_0xa0c834)
}, _0x2cf8ae, {
'iv': _0x554c90,
'mode': _grsa_JS,
'padding': _grsa_JS
})(_grsa_JS['enc']2BX')]);
continue;
case '1':
if (_0x51eedc(null, _0xa0c834) || _0x51eedc(0x10, _0xa0c834['length']))
return _0xa0c834;
continue;
case '2':
_0xa0c834 = _0x9843d3(_0xa0c834, _0x2cf8ae, 0x8);
continue;
case '3':
_0x2cf8ae = _grsa_JS(_0x554c90);
continue;
case '4':
return _0x554c90(0x0, _0x51eedc(_0x554c90('}'), 0x1));
case '5':
_0x554c90 = _0xa0c834(_0x2cf8ae, 0x8);
continue;
case '6':
_0x554c90 = _grsa_JS['Utf8']['parse'](_0x554c90);
continue;
case '7':
if (!navigator || !navigator)
return '';
continue;
case '8':
var _0x554c90 = _0x51eedc(_0x51eedc(parseInt, _0xa0c834(_0xa0c834['length'], 0x1)], 0x10), 0x9)
, _0x2cf8ae = _0x51eedc(parseInt, _0xa0c834, 0x10);
continue;
case '9':
_0xa0c834 = _0x9843d3(_0xa0c834, _0x554c90, 0x1);
continue;
}
break;
}
}
}
;
}
, webInstace = new webDES();
```
###### 7. 运行JS脚本,补齐缺失的参数,在网站中找到_0x2246 位置,复制到JS脚本中。
![在这里插入图片描述](https://img-blog.csdnimg.cn/70ad9e1a282343b9b25a76bdf0e7a140.png)
```javascript
var _0x2246 = function(_0x5c2ba4, _0x76e2e) {
_0x5c2ba4 = _0x5c2ba4 - 0x0;
var _0x32e905 = __0x2fb9f;
if (_0x2246['initialized'] === undefined) {
(function() {
var _0x6dc9dd = typeof window !== 'undefined' ? window : typeof process === 'object' && typeof require === 'function' && typeof global === 'object' ? global : this;
var _0x4dc154 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
_0x6dc9dd['atob'] || (_0x6dc9dd['atob'] = function(_0x2e7e78) {
var _0x27fca7 = String(_0x2e7e78)['replace'](/=+$/, '');
for (var _0x443da7 = 0x0, _0xd245ea, _0x20728f, _0x1a79d3 = 0x0, _0x2add8f = ''; _0x20728f = _0x27fca7['charAt'](_0x1a79d3++); ~_0x20728f && (_0xd245ea = _0x443da7 % 0x4 ? _0xd245ea * 0x40 + _0x20728f : _0x20728f,
_0x443da7++ % 0x4) ? _0x2add8f += String['fromCharCode'](0xff & _0xd245ea >> (-0x2 * _0x443da7 & 0x6)) : 0x0) {
_0x20728f = _0x4dc154['indexOf'](_0x20728f);
}
return _0x2add8f;
}
);
}());
var _0x9bf5c5 = function(_0x29e5a4, _0x4e0418) {
var _0x317a0c = [], _0x58cb6f = 0x0, _0x1ef9fa, _0x2b84ff = '', _0x406a41 = '';
_0x29e5a4 = atob(_0x29e5a4);
for (var _0x5e728c = 0x0, _0x36a9ad = _0x29e5a4['length']; _0x5e728c < _0x36a9ad; _0x5e728c++) {
_0x406a41 += '%' + ('00' + _0x29e5a4['charCodeAt'](_0x5e728c)['toString'](0x10))['slice'](-0x2);
}
_0x29e5a4 = decodeURIComponent(_0x406a41);
for (var _0x3895f0 = 0x0; _0x3895f0 < 0x100; _0x3895f0++) {
_0x317a0c = _0x3895f0;
}
for (_0x3895f0 = 0x0; _0x3895f0 < 0x100; _0x3895f0++) {
_0x58cb6f = (_0x58cb6f + _0x317a0c + _0x4e0418['charCodeAt'](_0x3895f0 % _0x4e0418['length'])) % 0x100;
_0x1ef9fa = _0x317a0c;
_0x317a0c = _0x317a0c;
_0x317a0c = _0x1ef9fa;
}
_0x3895f0 = 0x0;
_0x58cb6f = 0x0;
for (var _0x49f219 = 0x0; _0x49f219 < _0x29e5a4['length']; _0x49f219++) {
_0x3895f0 = (_0x3895f0 + 0x1) % 0x100;
_0x58cb6f = (_0x58cb6f + _0x317a0c) % 0x100;
_0x1ef9fa = _0x317a0c;
_0x317a0c = _0x317a0c;
_0x317a0c = _0x1ef9fa;
_0x2b84ff += String['fromCharCode'](_0x29e5a4['charCodeAt'](_0x49f219) ^ _0x317a0c[(_0x317a0c + _0x317a0c) % 0x100]);
}
return _0x2b84ff;
};
_0x2246['rc4'] = _0x9bf5c5;
_0x2246['data'] = {};
_0x2246['initialized'] = !![];
}
var _0x4b1179 = _0x2246['data'];
if (_0x4b1179 === undefined) {
if (_0x2246['once'] === undefined) {
_0x2246['once'] = !![];
}
_0x32e905 = _0x2246['rc4'](_0x32e905, _0x76e2e);
_0x2246['data'] = _0x32e905;
} else {
_0x32e905 = _0x4b1179;
}
return _0x32e905;
};
```
###### 7. 再次运行JS脚本,发现缺少__0x2fb9f,在网站中找到__0x2fb9f位置,复制到JS脚本中。
![在这里插入图片描述](https://img-blog.csdnimg.cn/98aefcfa7d784b98a850875515f06276.png)
```javascript
var ynfqt = '__0x2fb9f'
, __0x2fb9f = ['w61yEQYNMcKN', 'UcK/IcOnwpLDkMO5', 'wpbCnjvCvwIaPcOxw7E=', 'w5vDizcu', 'w5LCtBs=', 'JcOreTk=', 'w6HCnjp/Tg==', 'KsOkw50FMQ==', 'w7zDqMOCUXI=', 'w7PCp3lkwokmw6oCXg==', 'CsOyczTDtcKlwpbDqUk=', 'GsKYbsK/w7g=', 'wr/DjhgJcA==', 'UlXChFNH', 'PsO7w4gKwrI=', 'Bn/DrcOrwqrDk8OQAA==', 'w47CtsK5wp7Djw==', 'wr3DsWHCtlk=', 'aGjCjlZF', 'T8KPCsOJBA==', 'w7LDqH7CrsKIMg==', 'MMOvw4UzBA==', 'YsK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FjCjFBVw6/DjsOZw5HCoVVe', 'Y8KSeiHDoT89w4VEw7DDicOX', 'wqXClCrCqToYO8OSw6TDisOtSg==', 'w6JSw5fChjU=', 'JcOkeTPCqw==', 'N8O8w6QJwp/CjBvCllrDs8OKTQ==', 'J0rDolzClQ==', 'FcOyw592w4zCncKow5jCuizCqsKU', 'LsOzw5l3woc=', 'w7fDj8OBwpFKKsKxw7NpKjl2', 'woV0VcOrWw==', 'JsOEw40tGk7DnQdoEUvCjQ==', 'w6JVw4DCkGZhZWfCrg7Dp8O5Bg==', 'dcKJeyDDrD0=', 'McOUw4wsF0w=', 'wrhFecORCw==', 'w6osRMK8bA==', 'e8K+wrfCpcOG', 'A8K3Rg==', 'HcORw5wwAFvDmjY=', 'woDDqRAEZA==', 'CcOwcCnDrg==', 'M8KVcg==', 'wq7DucOU', 'w63DoMOv', 'KW3DvA==', 'J8K7QsKEwrg=', 'Y8KuHMKL', 'cHYlw4JT', 'w79LAw0z', 'w5hYw5E=', 'W8K5BcKz', 'w41Xw4DChmI=', 'w408woIEdsKCw7ldMw==', 'G8KjwpM4RA==', 'E8OXEsOhBcO1KsObd38U', 'w7zCi0VFG8KS', 'Y8KSeg==', 'w4nCi8K3woDDqVrCjkdA', 'KcONw7TDsyY=', 'w7s/wqfDlnU=', 'aFnCgm9H', 'w6rDt8OpwrRk', '5Lqb6ICM5Ymo6Zm/TsOrOUsSbxjCvFI=', 'JsO3w6MewoDClQHCsVI=', 'w6HDjsOIwpBcNMOrw4cw', 'TAsowpjCrXlTwoXCgg==', 'wot1WF3ClWF6IcOH', 'Z8KcwpA=', 'w7jDhiMk', 'KkPDqg==', 'DMOCE8O8IsO8', 'HsOtw45Vw4M=', 'w7APwrQNZQ==', 'w7TCgMKiwoPDnA==', 'w50Cd8KVbg==', 'KW3DqsO6woQ=', 'w6TCvGJiIg==', 'w6HDkcOOwopH', 'DsOAw4PDlgc=', 'wqnCkDrClDQGH8Oiw6fDlcOrU2kn', 'dcKFdxfDmw==',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DlQ==', 'w7jCkVVSHA==', 'w6DCuXd9wpY=', 'CcOpewLDo8KlworDqg==', 'BMK5RsK1w7YOWMKd', 'UVwBw6tF', 'CsOpSDnDuA==', 'w6DCsH98', 'BsOdw7nDjC8=', 'w7hfIQ==', 'w7tXcnhq', 'McK2wrvDoA==', 'woxoRU3CiQ==', 'D0HDtUvDlQ==', 'wqXDiBQLZA==', 'dsKWw6jChx0=', 'Wj0g', 'w7HCnxB9bA==', 'CljDisOYwqI=', 'HsOuflZw', 'LVjDssOfwpk=', 'w4rDi8OqwrNy', 'w4pPZE9x', 'w49+wrHDsRk=', 'w49Xw5zCkWh4', 'wpXDtDkJVw==', 'fMKsDcOvwpLDng==', 'w7Yow49o', 'WcKvN8O6woQ=', 'wo/DgExRJw==', 'wrvCosKP', 'N8OTGQ==', 'AMKGwqwXXE/CtcOa', 'wr7DgV15Pg==', 'w6LDgxgbew==', 'w7vDr8Ox', 'dAM2woDCiw==', 'C8Oww5TDiS8=', 'LW4tD8Ob', 'w70nwosbSQ==', 'w4HCkxxqRA==', 'XHHDssKDw5E=', 'dcK0EcOfNg==', 'w4lZw6HCgXV8bkg=', 'wqbDkQ4A', 'wq5/Y8OsGB9Kw64=', 'DWEqDw==', 'w7HDjcONwo1W', 'w4TDhsODekEE', 'QEvCmER5', 'dn7CnlJN', 'w4XDssORwplC', 'w7k4wpHDlWZ2', 'w5scwo8DZg==', 'w43Dl8OvTnM=', 'wqfCgybCtgAALsOiw4vDisOqRA==', 'ScKjwqXCp8Oc', 'w4XCnMKxwpTDog==', 'w6AiwprDiA==', 'HcOyw5Jjw4HChQ==', 'woJmR8O+Pw==', 'w513woXDhjI=', 'KMOlEsOvPQ==', 'w7BYV1xE', 'w7osQMKiQ8O+wpnCvMKDMQ==', 'w6zDhMOHeUE=', 'cVPChlY=', 'w6F1Fg==', 'NMOEWQ==', 'XWfCuU1d', 'AcOHw4hJw4M=', 'YsKQPsOJNA==', 'w5zDjMOId3g=', 'w5k5w5lzwrk=', 'OMOsdnEq', 'woLDucOPwqdRVMOte2zChcOASw==', 'w6Mzw59yw7HCjMOxa8OHwr/DuMO8', 'wpPCoRvCqjo=', 'SUXDr8KEw5A=', 'w6s5w7tww6Q=', 'UVIAw6lUYA==', 'w6jCsXA=', 'bsKNwpfCiMOaw58x', 'YsKDwqHCgsOVw44=', 'wrLDgR4aeMO2Wg==', 'e1zCg04=', 'GsOyw4U=', 'wqTDgkx5DsKDYMO2RsKgw7shw5sMJlYcICl1YMK6', 'FMOvw4hhw5vCiQ==', 'Yx0mwpjCow==', 'YsKbwpvCnw==', 'MW4CAsOkw7zCmcKMZMKCLw==', 'S8KBKg==', 'w50pdMK+Yg==', 'wrN+Wg==', 'OsOrw5c4MQ==', 'w7TDom/CqsKSMw==', 'w5zCshlvSw==', 'wpXDqMOewrxGQw==', 'ecK2MXgf', 'wqRjVl3Cmw==', 'bcKiDcOowpzDhw==', 'w6otRsKSecOlwpjCqg==', 'wrhzXw==', 'Y8OlwrUHw5LCgF7CqAU=', 'wrLCgSXCsjc=', 'UcKpAsO/wpw=', 'w7kkwpTDpGtwUWw=', 'E8O7w5Nnw57CvsK1w6DCsw==', 'AG/DtUHDhw==', 'UTYtwos=', 'w59/Kw==', 'HsKdwoMNcQ==', 'w5DCk05YLcKVT8Okwr4NAXDDusO2', 'w7pXw6HCsWk=', 'JcOKcUp5', 'w7U0w5tCw7HCiMOgWg==', 'w6EqwokHasKVw6I=', 'w5lTw5HCh35ldG3Cpw3DtMO3', 'w7/CnyFv', 'wrXDhREE', 'LsOzw51ww5Q=', 'GcOscy7Dvw==', 'UkUGw6FbcA==', 'wrd8eA==', 'T8K/N8OIwrQ=', 'XRYTwpLDhg==', 'KcOxw68Cwq8=', 'bcKrBA==', 'dkjCm0pF', 'w5UhwrHDin1nXw==', 'f8KKw5LCkTwSw4g=', 'KMKiY8Kbw6AZVg==', 'wqPCvSg=', 'w5MHwroxdg==', 'w7MuwrvDp3k=', 'w7TCvSk=', 'w6Etwo8ncMKfw7NWJ8Kgw4Ybw4jDrjc=', 'RFQVw4ZMYMO4w6s=', 'A8Oyw49hw4E=', 'PMOIw4vDrwwNwp4=', 'UcKsE8O7wpjDncO2', 'wozDvBE=', 'LXrDgcONwpU=', 'w44nwrQ=', 'R8KNJw==', 'U8K5w4LCjRY=', 'I8OCw4lAw7c=', 'Vk4iw41l', 'bTcrwqHDvAQLe8Kdw4N8', 'GsKBwqIh', 'w6XCvHhxwoo7w6kX', 'HcKJdw==', 'wpjDggQrTw==', 'F2rDocOKwq8=', 'HkfDqU7DisOVw4DDjg==', 'NcOJw6I=', 'FMK7RcKNw74=', 'X8K0E8OH', 'LcK/aMK8w40=', 'XMK8woHCg8OA', 'WTscwrHDgg==', 'wpLCpsKawqzDpw==', 'wp0BG8KHEA==', 'w6NSwq/DpzI=', 'w53Coh5MVA==', 'FsKAwpjDjcOe', 'd8KPGcOnwpQ=', 'BMKswoAfSg==', 'wrjCszPCtyo=', 'FMOgw6jDrQg=', 'BcKxT8KTw6AX', 'wpU7PcK4HE4=', 'wqfDk18=', 'w6HDlcOQwopdPQ==', 'P8Oww6U=', 'ScKUwoHCjg==', 'w6rDlsOLe1Aew4FTXQYBw6zCgijDjsKbIMKJNwDDpSc=', 'wr9+Uw==', 'EsKDwqw6', 'K3Y2KMOUw5s=', 'wr9oRMO9BBI=', 'w6Mlw4hlw6bCmA==', 'w7LDh3LCqsKA', 'wozDrcOC', 'w6XCj0k=', 'wrvCtMKYwofDoMKI', 'w5RYw5vCgQ==', 'eU3Cn05V', 'USEhwobDoQ8=', 'w4YJwr4=', 'wrZdVsOgGg==', 'asKlJmoOwp8=', 'woh3W0DCmXA=', 'w5/CnsK1', 'w681wofDg3xg', 'YwEhwoPCsGBnwprCg8KY', 'FcOtYGds', 'AMOIw5fDsw==', 'Yx0owr7Cp35PwoE=', 'R03CnU1Pw7rDicOo', 'w6XDhiAxWcKROw==', 'w6PCnMK9wrTDgVPCikVdNVQ=', 'U8K+UB/DrA==', 'M8KUwrLDncO2', 'w7DCoWR5wog1', 'WRckwp7Cu31e', 'w49+YA==', 'I8KWwr3DlcO4', 'w7ZXw6LCkmU=', 'L8OwJ8OzFA==', 'DMO9w6YPwoc=', 'BmLDnMOowpXDl8OrCsOHQ1Q=', 'w5Zyw6DCoUs=', 'NsOow6AnJw==', 'WBwkwp7Cu31e', 'wpLChTvCviIFDMO5w7jDjcOrUw==', 'wokiP8K/GlnDs8K/', 'w6syw5hl', 'w7ByPAkJEcKPw4ELwoLCsDF2YcKE', 'w5hOw4bCkGlx', 'w4Mzw59yw7HCjMOxRsOZ', 'Q8KKw7XCnCcU', 'GcOyeSHDrsK0', 'J0fDsQ==', 'MMKtwog=', 'wrHCqDw=', 'e8KdMH8y', 'w4nCmD4=', 'woVgQsO9HDRIw6ZeVA==', 'w693wrDDvxE=', 'WAsRwo/ChA==', 'w5lew5DCkmw=', 'HFzDkUzDoA==', 'w4XCnmB+wpU=', 'woNJQMO6LA==', 'wr/Dk2dIKg==', 'wojDrFbCu0s=', 'OMKewr0jYg==', 'UsKmH8OvwonCpg==', 'w5TCnsKWwpbDrQ==', 'DcOXD8OxI8O2', 'w6bChDtz', 'a8K1F8OuwpPDlw==', 'NMO5w592w4zCncKow7XCpA==', 'wonDhxQYacOjXA==', 'w6Qxw5Njw6PCr8OsU8OO', 'EsK+QsKFw7YKScKsw7zCg8K2Kg==', 'EMOFw5LDvAw=', 'BsOEw40tGk7DnSp2', 'VyswwoLDuw4=', 'w43DgsOLwpNbP8K3', 'w5wlwo8UacKjw7lJMQ==', 'SkjDtMKUw5A=', 'A8OtcHBhc8KLw6g6KwTDpw==', 'JcOwbiXDrMKTwoPDtk/CqA==', 'wpbDvcOI', 'w6zCk8KxwoHCnw==', 'U8K3KcOkJw==', 'w6pyUVxLwrJhw5g=', 'FsK/bcKhw7Y=', 'w5cZw6xzw4w=', 'e8KcLkkb', 'KMOqYVJP', 'QcKvEcObwqo=', 'AMObw57Dvh0G', 'w7p0WH1TwrI=', 'w4nDrio=', 'wojDqFrCtXw=', 'wp7CkDnCqyYGKw==', 'acKqCMOcHsOXNVY=', 'JMO2w7UfwpU=', 'wqnDqsOKwrRF', 'FcO1w5Mzwo0=', 'w5dmJw8MNg==', 'DWYh', 'w5rCk8Kc', 'TcKpD8ObwoQ=', 'wr4zPsKfDlLDkMK+bMKLwqHCosOUw78=', 'w7Iyw690w7rClcOrTg==', 'w65/wobDvynDjB/CjQ==', 'wrU0Kg==', 'ZMK4J24=', 'KcOhcFdN', 'WcKEfzzDqiIEw6hMw7o=', 'acK3E8OdP8OHIEPCmcKrwqHDkcO+Ig==', 'VsK6LG8f', 'wp7CnCbCvyY=', 'w6XDjsOQwodA', 'w4vCl8KgwpbDmw==', 'BmHDt8OtwoQ=', 'wonDux4aZMOnWsO5Mw==', 'w4rDlT8iWcKMLMOJw5MiWGc=', 'w69iwr0=', 'w7bCp34=', 'Q8Kew7c=', 'wotmU03Ck3tk', 'w7fDm8OLckcBw6lYew8=', 'AcOFw5TDvAIwwpPDtn0=', 'bSM2wojDtg8ZZA==', 'w53DjcOdfFE=', 'woJiZxZQLsOTw41SwpvDsQ==', 'w5sxwpQSbMKU', 'NGXDoMOAwo8=', 'S8KjFw==', 'FsKXwq42UE/CtQ==', 'wpBiTnrCk29m', 'w77DplnCosKcMw==', 'w5/DiTMzRcKPKw==', 'WkXDscKb', 'wrF1SQ==', 'W1TCn0pJw63DqsO6w4/Cr1tG', 'C3gyBsO+w7k=', 'ZsKcworCosOB', 'HsKHwoQ=', 'AsK+dsKQw6o=', 'Vwg1woLCow==', 'woDDmFhyCsKFccO3dg==', 'IMOtw7USwojCmwbCsk8=', 'wo7CvMK8wrTDrA==', 'wrLCuj3CrwU=', 'w7kGwofDklQ=', 'wrjCo8Kewo/Dr8KY', 'G0fDt0fDg8OOw47Djh5o', 'dcKddSc=', 'e1LCgUFNw6s=', 'ccKTazfDqw==', 'd8KoPsOlBA==', 'w4DCrnV7Hg==', 'wpPDukxMBw==', 'LMKLwqohRA==',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xXMOs', 'FEfDpQ==', 'wph8X8O7ATVNw7lVWkg9ccKYbg==', 'w7xjQntcwqI=', 'H8O4aCXDtMK1', 'w5zCtn9gwo43w6E=', 'w5hYw5HCh35ldG3Cpw3DtMO3', 'TcKyIHkDwoooZnE=', 'IMOVCMOlJMO+PA==', 'wqXDncOE', 'w6bDt1nCpsKg', 'M0bDnsOFwrY=', 'MWwED8O/w77CsA==', 'w4Y2Y8K8b8OywpY=', 'ZkjDn8Kbw5oqw78=', 'bkfDrcKcw4A=', 'w6t3wobDph0=', 'EcO5WAfDmw==', 'a8K0VhvDrw==', 'w6XDlRItU8KcNA==', 'VsK7AWcVwpk3'];
(function(_0x13ecc8, _0x3e2859) {
var _0xd14b57 = function(_0x91fb5e) {
while (--_0x91fb5e) {
_0x13ecc8['push'](_0x13ecc8['shift']());
}
};
_0xd14b57(++_0x3e2859);
}(__0x2fb9f, 0x80));
```
###### 8. 再次运行JS脚本,发现缺少环境navigator,需要模拟环境。
![在这里插入图片描述](https://img-blog.csdnimg.cn/3b236c05e9414bee8b9062bd5203fa59.png)
```javascript
global.navigator = {'userAgent':'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36'}
```
###### 9. 再次运行JS脚本,发现缺少_grsa_JS,发现网站中有很多个位置的_grsa_JS,只能将所有代码复制。(注释:过多的代码会加重运行速度,没有逆向的必要,可使用自动化来采集。)
![!\[在这里插入图片描述\](https://img-blog.csdnimg.cn/92eea314bdf84840ad9ed4e3b5e26da4.png](https://img-blog.csdnimg.cn/418b7498625d48e1b12805753903b2e4.png)
![在这里插入图片描述](https://img-blog.csdnimg.cn/d615af07f2e74fd5ad1099e70d8f536e.png)
###### 10.全部JS代码复制进行运行,得到数据。
![在这里插入图片描述](https://img-blog.csdnimg.cn/7bac0f6228ec4d85854363defe570d52.png)
## JS代码
#### [艺恩js混淆代码](https://www.aliyundrive.com/s/dJk8tWpUJKB) js代码建议放到附件,云盘,或者github/gitee之类的仓库托管,丢个链接进来。
太长了不方便阅读,此外ob混淆的js不建议格式化,有可能有防止格式化的正则表达式会造成死循环。。。
似乎有两个图片的格式也存在问题~[]()后面的小括号似乎没了。。 看了看内容,顺便用易语言改写了下(依赖精易模块及E2EE支持库)
.版本 2
.支持库 e2ee
.支持库 spec
.子程序 __启动窗口_创建完毕
.局部变量 加解密, 加解密对象
.局部变量 text, 文本型
.局部变量 输出, 字节集
.局部变量 a1, 整数型
.局部变量 a2, 整数型
.局部变量 key, 文本型
text = #常量2
a1 = 进制_十六到十 (取文本中间 (text, 取文本长度 (text), 1)) + 9
a2 = 进制_十六到十 (取文本中间 (text, a1 + 1, 1))
text = 取文本左边 (text, a1) + 取文本右边 (text, 取文本长度 (text) - a1 - 1)
key = 取文本中间 (text, a2 + 1, 8)
text = 取文本左边 (text, a2) + 取文本右边 (text, 取文本长度 (text) - a2 - 8)
加解密.解密数据 (#算法_DES_ECB, HEX解码 (text), key, 输出, #填充方式_PKCS7, , #文本内容类型_原始内容)
调试输出 (到文本 (文本编码转换 (输出, “UTF-8”, “GBK”)))
谢谢分享,膜拜学习 最近学了Python,爬虫这块内容还不熟悉,以后多来看看。 解密过程值得学习和借鉴 入门案例 爬虫这块内容还不熟悉,以后多来看看 来熟悉一下 楼主这逆向破解可以啊 牛批 写这么长