- UID
- 79979
注册时间2014-11-18
阅读权限30
最后登录1970-1-1
龙战于野

TA的每日心情 | 擦汗 2023-12-2 22:56 |
---|
签到天数: 160 天 [LV.7]常住居民III
|
发表于 2020-12-7 06:22:47
|
显示全部楼层
这实现有点水 
- root@6d9679aac8b0:/tmp# python3.7 pyinstxtractor.py q
- [+] Processing q
- [+] Pyinstaller version: 2.1+
- [+] Python version: 37
- [+] Length of package: 6460707 bytes
- [+] Found 363 files in CArchive
- [+] Beginning extraction...please standby
- [+] Possible entry point: pyiboot01_bootstrap.pyc
- [+] Possible entry point: pyi_rth__tkinter.pyc
- [+] Possible entry point: pyi_rth_certifi.pyc
- [+] Possible entry point: q.pyc
- [+] Found 249 files in PYZ archive
- [+] Successfully extracted pyinstaller archive: q
- You can now use a python decompiler on the pyc files within the extracted directory
- root@6d9679aac8b0:/tmp# uncompyle6 q_extracted/q.pyc
- # uncompyle6 version 3.7.4
- # Python bytecode 3.7 (3394)
- # Decompiled from: Python 3.7.9 (default, Nov 18 2020, 14:10:47)
- # [GCC 8.3.0]
- # Embedded file name: q.py
- import requests, pyperclip, tkinter
- from tkinter import messagebox
- root = tkinter.Tk()
- root.withdraw()
- messagebox.showinfo('提示', '欢迎使用JetBrains全家桶激活码提取工具,请稍后....')
- result = requests.get('<我把地址藏起来了>')
- if result.status_code != 200:
- messagebox.showerror('提示', '本工具已失效,请下载新版本。')
- else:
- pyperclip.copy(result.text)
- messagebox.showinfo('提示', '激活码已复制到系统剪切板。')
- # okay decompiling q_extracted/q.pyc
复制代码 |
|