吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

搜索
查看: 3302|回复: 17

[Windows] 蘑菇钉签到改定位,带成品

  [复制链接]
一身白 发表于 2019-12-6 10:48
本帖最后由 一身白 于 2019-12-6 19:02 编辑
蘑菇钉签到,如果自己有服务器的话就把程序保存正在服务器上在设一个计划任务就能每天自动签到了,另外有封装好的exe程序64位系统可以直接跑起来 如果有用免费评个分吧
[Python] 纯文本查看 复制代码
import requests
import json
from tkinter import *
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)#去掉ssl烦人的警告

def log():
    phone=input("账号:")
    password=input("密码:")
    headers = {
        "Accept-Language": "zh-CN,zh;q=0.8",
        "User-Agent": "Mozilla/5.0 (Linux; U; Android 8.0.0; zh-cn; MI 6 Build/OPR1.170623.027) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",
        "Authorization": "",
        "roleKey": "",
        "Content-Type": "application/json; charset=UTF-8",
        "Content-Length": "85",
        "Host": "api.moguding.net:9000",
        "Connection": "close",
        "Accept-Encoding": "gzip, deflate",
        "Cache-Control": "no-cache",
        }
    url="https://api.moguding.net:9000/session/user/v1/login"
    pyload={"password":password,"phone":phone,"loginType":"android","uuid":""}

    response = requests.post(url,data=json.dumps(pyload),headers=headers,verify=False).text
    response = json.loads(response)
    Authorization = response["data"]["token"]
    print(Authorization)
    return Authorization  #这个就相当你开门的钥匙
def planId(Authorization):
        headers = {
        "Accept-Language": "zh-CN,zh;q=0.8",
        "User-Agent": "Mozilla/5.0 (Linux; U; Android 8.0.0; zh-cn; MI 6 Build/OPR1.170623.027) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",
        "Authorization":Authorization,  #发送数据给蘑菇钉需要登陆时候给你的钥匙
        "roleKey": "student",
        "Content-Type": "application/json; charset=UTF-8",
        "Content-Length": "500",
        "Host": "api.moguding.net:9000",
        "Connection": "close",
        "Accept-Encoding": "gzip, deflate",
        "Cache-Control": "no-cache",
        }
        url = "https://api.moguding.net:9000/practice/plan/v1/getPlanByStu"
        data={"state":""}
        response = requests.post(url,data=json.dumps(data),headers=headers,verify=False).text
        response = json.loads(response)
        return response['data'][0]['planId']

    
    
def sin(Authorization,planId):
    country=input("你想在的国家:")
    address=input("你想在的地址:")
    province=input("你想在的地址:")
    city=input("你想在的城市:")
    type=input("上班填START下班填END:")
    description=input("发表的内容:")

    url2="https://api.moguding.net:9000/attendence/clock/v1/save"
    headers2 = {
        "Accept-Language": "zh-CN,zh;q=0.8",
        "User-Agent": "Mozilla/5.0 (Linux; U; Android 8.0.0; zh-cn; MI 6 Build/OPR1.170623.027) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",
        "Authorization":Authorization,  #发送数据给蘑菇钉需要登陆时候给你的钥匙
        "roleKey": "student",
        "Content-Type": "application/json; charset=UTF-8",
        "Content-Length": "500",
        "Host": "api.moguding.net:9000",
        "Connection": "close",
        "Accept-Encoding": "gzip, deflate",
        "Cache-Control": "no-cache",
        }
    #下面改改就能达到你想在什么地方就在什么地方,经纬度蘑菇钉会根据地理位置识别
    data={"country":country,     #国家
             "address":address,  #地址
             "province":"伊拉克", #省
             "city":"伊拉克",     #城市
             "latitude":"24.341287" ,#纬度
             "description":description,#发表的信息
             "planId":planId,
             "type":type,  #START  上班  END 下班
             "device":"Android",
             "longitude":"109.42808"#经度
             }
    response2 = requests.post(url2,data=json.dumps(data),headers=headers2,verify=False).text
    response2 = json.loads(response2)
    print(response2)
if __name__=='__main__':
    Authorization=log()
    planId=planId(Authorization)
    sin(Authorization,planId)
    

下载地址
https://rez-1257271860.cos.ap-chengdu.myqcloud.com/%E8%98%91%E8%8F%87%E9%92%89.exe

效果图

效果图
4f142ae953ed14cb431f0d6179274e2.jpg

免费评分

参与人数 2吾爱币 +2 热心值 +2 收起 理由
szfeng + 1 + 1 谢谢@Thanks!
try8573 + 1 + 1 谢谢@Thanks!

查看全部评分

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

 楼主| 一身白 发表于 2019-12-6 15:30
y25131492011103 发表于 2019-12-6 13:19
哥哥可否来个app成品啊

太麻烦了,不会安卓编程 虽然可以用手机C 要写一大堆东西头疼
 楼主| 一身白 发表于 2019-12-6 10:55
ufo8636278 发表于 2019-12-6 10:51
有没有相应的效果图呀,就这样子呀?

效果图加了,其实没有什么实际意义程序不是很人性化~~~
头像被屏蔽
ufo8636278 发表于 2019-12-6 10:51
随风飘零翼 发表于 2019-12-6 10:51
谢谢分享
x_killua 发表于 2019-12-6 10:54
对啊,没个效果图,不知道下不下好,不过还是谢谢分享
 楼主| 一身白 发表于 2019-12-6 10:56
x_killua 发表于 2019-12-6 10:54
对啊,没个效果图,不知道下不下好,不过还是谢谢分享

加图了~~
宁静一生 发表于 2019-12-6 11:34
下载就被杀了
Y198888888 发表于 2019-12-6 12:39
看看。研究研究
y25131492011103 发表于 2019-12-6 13:19
哥哥可否来个app成品啊
try8573 发表于 2019-12-6 14:34
老哥,应该加个上班下班的选项
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 提醒:禁止复制他人回复等『恶意灌水』行为,违者重罚!

快速回复 收藏帖子 返回列表 搜索

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

GMT+8, 2020-5-25 14:41

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

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