首页
文章分类
逆向网安
中英演讲
杂类教程
学习笔记
前端开发
汇编
数据库
.NET
服务器
Python
Java
PHP
Git
算法
安卓开发
生活记录
读书笔记
作品发布
人体健康
网上邻居
留言板
欣赏小姐姐
关于我
Search
登录
1
利用AList搭建家庭个人影音库
5,144 阅读
2
浅尝Restful Fast Request插件,一句话完成 逆向过程
4,893 阅读
3
完美破解The Economist付费墙
3,458 阅读
4
i茅台app接口自动化csharp wpf实现,挂机windows服务器每日自动预约
3,198 阅读
5
青龙面板基本使用并添加修改微信/支付宝步数脚本
2,635 阅读
Search
标签搜索
PHP
Laravel
前端
Python
csharp
安卓逆向
JavaScript
Java
爬虫
抓包
Git
winform
android
Fiddler
Vue
selenium
LeetCode
每日一题
简单题
docker
Hygge
累计撰写
103
篇文章
累计收到
451
条评论
首页
栏目
逆向网安
中英演讲
杂类教程
学习笔记
前端开发
汇编
数据库
.NET
服务器
Python
Java
PHP
Git
算法
安卓开发
生活记录
读书笔记
作品发布
人体健康
页面
网上邻居
留言板
欣赏小姐姐
关于我
用户登录
搜索到
103
篇与
的结果
2025-05-21
Anaconda的Python环境使用
简述安装完 Anaconda 会自带一个Base环境, 该环境是包含 Conda 自带的 Python 和基础工具(如 pip、conda 命令)。如果直接在此环境中安装大量第三方包,可能导致:依赖冲突:不同包对同一依赖的版本要求不同(例如 numpy 的版本冲突)。环境臃肿:base 环境被污染,影响其他项目的独立性。因此,建议创建独立的环境,然后在其中安装所需的包。Conda 的包管理机制独立环境管理Conda 不仅管理 Python 包,还能管理非 Python 依赖(如 OpenSSL、C++ 库等)。每个 Conda 环境(包括 base)都有自己独立的 bin(或 Scripts)目录和 site-packages 目录。全局可执行文件(关键区别)Conda 在安装某些工具(如 mitmproxy)时,会在环境的 bin(Linux/macOS)或 Scripts(Windows)目录下生成可执行文件(如 mitmproxy.exe)。如果 Conda 的 base 环境被添加到系统 PATH 中,这些命令就可以全局调用。例如,conda install mitmproxy 会在 %CONDA_PREFIX%\Scripts\mitmproxy.exe 生成可执行文件,如果 %CONDA_PREFIX%\Scripts 在 PATH 里,就能全局运行。常用命令# Conda操作: # 1. 安装全局包时使用 conda install -c conda-forge mitmproxy # conda install # Conda 的核心命令,用于安装指定软件包。 # -c conda-forge # 指定从 conda-forge 渠道(社区维护的软件仓库)下载包。conda-forge 通常提供更新更全的软件版本。 # mitmproxy # 目标软件包名称,即交互式 HTTPS 代理工具。 # Python环境操作: # 1.创建新环境并指定环境的Python版本 conda create --name env_name python=version 例如: conda create --name python36 python=3.6 # 2.激活环境 activate env_name # 3.关闭环境 deactivate env_name # 4.删除环境 conda env remove -n env_name # 5.显示所有环境 conda env list # 6.查看anaconda中已经存在的镜像源 conda config --show channels # 7.添加镜像源(永久添加) conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/ # 8.设置搜索时显示通道地址 conda config --set show_channel_urls yes
2025年05月21日
7 阅读
0 评论
0 点赞
2025-04-12
finalshell 4.5 离线码计算 破解专业版高级版
!pip install pycryptodome from Crypto.Hash import keccak from Crypto.Hash import MD5 def md5(msg): hash_obj = MD5.new(msg) return hash_obj.hexdigest() def keccak384(msg): hash_obj = keccak.new(data=msg, digest_bits=384) return hash_obj.hexdigest() if __name__ == '__main__': code = input('输入机器码: ') print('版本号 < 3.9.6 (旧版)') print('高级版:', md5(f'61305{code}8552'.encode())[8:24]) print('专业版:', md5(f'2356{code}13593'.encode())[8:24]) print('版本号 >= 3.9.6 (新版)') print('高级版:', keccak384(f'{code}hSf(78cvVlS5E'.encode())[12:28]) print('专业版:', keccak384(f'{code}FF3Go(*Xvbb5s2'.encode())[12:28]) print('版本号 (4.5)') print('高级版:', keccak384(f'{code}wcegS3gzA$'.encode())[12:28]) print('专业版:', keccak384(f'{code}b(xxkHn%z);x'.encode())[12:28])我直接在Colab中运行的,激活成功了
2025年04月12日
33 阅读
0 评论
0 点赞
2025-03-07
解决Node Electron下调用Python脚本输出中文乱码的问题
解决Node Electron下调用Python脚本输出中文乱码的问题调用Pyinstaller打包后的可执行文件方式如下:import { promisify } from 'util' import { exec } from 'child_process' import { app } from 'electron' async handleVerifyZy(id) { const entity = await this.findById(id) const execPromise = promisify(exec) let args = `-a 202501 -c community-sample.json -r resident-sample.json -t ${entity.timestamp}` const verifyOutput = await execPromise( `verify.exe ${args}` ) // 正常运行结束需要取出结果的excel let outputExcelName = join( app.getPath('userData'), 'verify_result', `${entity.timestamp}_monthly_zy_analysis_result.xlsx` ) return { outputExcelName, verifyOutput } }打印在渲染层发现标准输出的中文乱码需要修改Python脚本,定义全局的stdout的编码# encoding:utf-8 import io import sys sys.stdout = io.TextIOWrapper(sys.stdout.detach(), encoding="utf-8")打包后再次调用,问题解决参考1.nodejs调用python输出中文乱码的问题:https://blog.csdn.net/qq_40185480/article/details/105910329
2025年03月07日
23 阅读
0 评论
0 点赞
2025-02-07
初试编写油猴脚本
每日闲逛吾爱破解发现发现有人求脚本:https://www.52pojie.cn/thread-2003050-1-1.html就是让百度首页底部的关注栏变宽,简单的CSS修改一下就可以用的框架为vite-plugin-monkey : https://github.com/lisonge/vite-plugin-monkey最后打包后的代码如下:// ==UserScript== // @name make-baidu-weightify // @namespace npm/vite-plugin-monkey // @version 0.0.0 // @author monkey // @icon https://vitejs.dev/logo.svg // @match https://www.baidu.com/ // @require https://cdn.jsdelivr.net/npm/vue@3.5.13/dist/vue.global.prod.js // ==/UserScript== (function () { 'use strict'; (function() { function init() { const mainElement = document.getElementById("s_main"); if (mainElement) { mainElement.classList.remove("c-wrapper-hot-news-all"); } const styleElement = document.createElement("style"); styleElement.textContent = ` .san-card > div { width: 100% !important; } .site-wrapper > div { width: 100% !important; } .site-wrapper > div > div { width: 100% !important; } `; document.head.appendChild(styleElement); } console.log("baidu-weightify"); if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", init); } else { init(); } })(); })();引用:1.【轻松上手】油猴脚本开发:https://juejin.cn/post/7022654292880424991#heading-132.油猴脚本开发指南教程目录:https://bbs.tampermonkey.net.cn/thread-184-1-1.html
2025年02月07日
28 阅读
0 评论
0 点赞
2025-02-04
宝藏插件:东方永页机 - 自动加载下一页
看一些漫画、论坛、新闻的时候总是有页码,使用这个插件就可以实现自动加载了https://pagetual.hoothin.com/cn/配合下面的使用更佳:https://chromewebstore.google.com/detail/ignore-x-frame-headers/gleekbfjekiniecknbkamfmkohkpodhe
2025年02月04日
29 阅读
0 评论
0 点赞
2024-12-19
解决Fiddler代理 Python Request请求报错Unable to get local issuer certificate
1.查询Python Requests默认调用的cert证书位置import certifi certifi.where()如果提示没有certifi,需要安装certifi包(pip install certifi)2.配置fiddler,打开 127.0.0.1:8888下载证书文件并导出base64编码3.将第三步中导出的证书信息复制出来,粘贴到第一步中输出cacert.pem文件末尾,保存重新运行代码,即可。引用Unable to get local issuer certificate when using requests:https://stackoverflow.com/questions/51925384/unable-to-get-local-issuer-certificate-when-using-requests-in-python执行python时,使用fiddler代理,提示Unable to get local issuer certificate when using requests in python:https://blog.csdn.net/iKaChu/article/details/106787413
2024年12月19日
15 阅读
0 评论
0 点赞
2024-12-19
NW.js将Web端打包成客户端安装包
NW.js将Web端打包成客户端安装包前言项目交付时需要将Web端后台入口打包成exe安装在客户电脑上,本文记录一下操作流程。使用csharp为客户端封装壳的时候,打包建议使用.NET Framework 3.5.1 SP1作为构建框架,可以支持Windows7系统,我当时使用了4.8打包的程序无法在Windows7中打开,结果现场在客户机器上操作一番装其他的环境才得以解决。各系统的支持情况如下:Windows版本自带的.NET Framework 版本Windows 7.NET Framework 3.5.1 SP1Windows 7 SP1.NET Framework 3.5.1 SP1Windows 8.NET Framework 3.5.1 SP1 + 4.5本文不涉及套壳,套壳当时只是为了校验客户机的mac地址。一、创建app.nwapp.nw就是打包后的web页面,操作流程如下:1.使用Npm初始化一个含package.json的目录package.json如下,参数基本一眼就知道什么作用{ "name": "大兴社保", "main": "index.html", "version": "1.0.0", "window": { "frame": true, "icon": "logo.jpg", "width": 1400, "height": 1100, "position": "center", "resizable": true, "show_in_taskbar":true } }2.创建一个重定向页面index.html:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>大兴社保</title> <script> window.location.href = "https://xxx/login.html"; </script> </head> <body> </body> </html>3.全选当前目录下所有文件压缩成.zip后更名为.nw二、封入nw.js我预览使用的是nwjs-sdk-v0.93.0-win-x64开发版本,可以打开开发者工具进行调试最后分别使用nwjs-v0.45.0-win-ia32和nwjs-v0.45.0-win-x64进行成果打包1.预览app.nw直接将上一步骤打包并更名的app.nw使用nwjs-sdk中的nw.exe打开显示没有问题,就进行打包操作,出现问题可以按F12进行调试。将app.nw移至nw.exe同目录,输入如下命令进行合并$ copy /b nw.exe+[fileName].nw [output].exe eg: copy /b nw.exe+app.nw dxsb.exe至此打包完成,在nw.exe所在文件目录下已生成可执行文件。然后使用Resource Hacker进行修改icon该可执行文件依赖于目录下的其他文件,若需要单独运行,还得继续封包三、打成安装包使用Inno Setup来打包成安装程序,即将一开始的web应用源文件和node-webkit的nw.exe和环境dll直接压缩成一个安装文件,用户在使用你的exe后会出现setup wizard把程序安装到Program Files目录中,将nw.exe,dll,web应用释放出来,这个时候所生成的安装文件其实size会小很多。这一步添加上主执行文件和依赖文件夹即可成功运行引用nwjs: https://nwjs.io/基于NW.JS全屏无边框程序将HTML打包成可执行文件.EXE: https://blog.csdn.net/suoyue_py/article/details/105469271修改 node-webkit 的默认图标:https://keenwon.com/1311/
2024年12月19日
37 阅读
0 评论
0 点赞
2024-12-18
ddns-go实现域名动态解析公网IP+公网访问虚拟机内多项目
ddns-go: GitHub - jeessy2/ddns-go: Simple and easy to use DDNS. Support Aliyun, Tencent Cloud, Dnspod, Cloudflare, Callback, Huawei Cloud, Baidu Cloud, Porkbun, GoDaddy, Namecheap, NameSilo...前言公司买了一台服务器后需要将原先阿里云的测试机上部署的站点迁移到公司内,正好有公网IP,只不过是动态的需要借助技术实现域名动态dns解析。内容实现效果:主机开放380作为http协议端口,转发端口到虚拟机的80。主机开放3443作为https协议端口,转发端口到虚拟机的443。通过域名http://A.com:380或https://A.com:3443访问虚拟机的项目A通过域名http://B.com:380或https://B.com:3443访问虚拟机的项目B直接通过文件运行的方式比docker方便的多。./ddns-go -s install -f 600 -c /Users/name/.ddns_go_config.yaml运行后访问虚拟机的http://192.168.99.48:9876/进入ddns-go的控制面板,配置一下信息。配置完事使用Itdog进行ping域名测试域名已经成功解析到公司的公网IP上了。虚拟机内使用宝塔配置一下域名即可。域名描述https://xxx:3443/HTTPS协议http://xxx:380/HTTP协议
2024年12月18日
10 阅读
0 评论
0 点赞
2024-10-17
域名搁着别浪费,Cloudflare + Gmail + Resend 十分钟轻松拥有免费的企业邮箱
现在的独立开发者们基本上是人手 N 个域名了,不过企业邮箱可能不是人人都有。这里和大家分享一下我个人定制完全免费的企业邮箱的方案:「Cloudflare + Gmail + Resend」。首先说下企业邮箱的优点:对用户来说,企业邮箱显得更专业,更容易被信任。利用 catch-all 功能,相当于拥有了无数个邮箱,可以方便我们注册各种服务。注意事项:如果您只需要进行邮件的收发,而不涉及群发等操作,那么这种方案可以说是非常简单且无成本的选择。示意图0. 前提你拥有一个域名,且域名的 dns 在 Cloudflare 管理。(当然任何其它拥有电子邮件路由功能的服务都可以,这里只介绍 Cloudflare)1. 使用 Cloudflare 接收邮件,设置邮件转发到 GmailCloudflare 是知名的网络安全公司,独立开发界最伟大的慈善家。如果你是刚起步的独立开发者,它的后台服务提供的免费额度可以让你零成本起步。1.1 进入域名下的「电子邮件路由」1.2 进入目标规则标签,开启 Catch-All,点击编辑1.3 设置转发操作,将所有邮件转发到 Gmail 邮箱添加目标位置时会发送一封确认邮件到邮箱,邮件里点确认即可。注意 Gmail 有一个小技巧是你可以在你的账号后面写上「+来源」,比如我这里写的是 auv1107+cleanclip@gmail,所有的邮件仍然会发送到 auv1107@gmail.com 中。如果你有多个域名就会非常方便,你可以根据这个字段在 Gmail 中筛选邮件。🎉🎉🎉 好了,到这里邮件的接收就搞定了。 你可以发送邮件到你域名下的任意账户上试试。原文:https://cleanclip.cc/zh/developer/cloudflare-worker-gmail-resend-enterprise-email/#_1-3-%E8%AE%BE%E7%BD%AE%E8%BD%AC%E5%8F%91%E6%93%8D%E4%BD%9C-%E5%B0%86%E6%89%80%E6%9C%89%E9%82%AE%E4%BB%B6%E8%BD%AC%E5%8F%91%E5%88%B0-gmail-%E9%82%AE%E7%AE%B1
2024年10月17日
97 阅读
0 评论
0 点赞
2024-08-09
thinkphp-swoole运行报错和wss无法访问的问题
thinkphp-swoole运行报错和wss无法访问的问题thinkphp6.0项目,在运行swoole服务时log日志疯狂报错$ php think swoole restart整了好几个小时结果是php版本问题,当时默认切到了php8...更换命令为73就好了$ /www/server/php/73/bin/php think swoole restart运行起来后ws:协议正常访问,wss无法访问问题如下:You are trying to use the same port (8090) for ws:// and wss:// - this will most likely not work. While you don't show any server side configuration I suspect that your websocket server on port 8090 can only do plain WebSockets (i.e. ws:// and not wss://) and that you expect the TLS from the HTTP server (port 443) to be magically applied to wss:// on port 8090 too. This is not the case. By trying wss:// with port 8090 you are instead trying to do a TLS handshake with a server which does not speak TLS, which then results in net::ERR_SSL_PROTOCOL_ERROR.The common setup is instead to use a web server like nginx or Apache as reverse proxy for the websocket server and terminate the TLS at the web server. This way both ws:// and wss:// work on the standard ports (i.e. 80 and 443) from outside and the internet plain websocket server on port 8090 is will be made unreachable from outside. See for example NGINX to reverse proxy websockets AND enable SSL (wss://)? or WebSocket through SSL with Apache reverse proxy for how to setup something like this.需要为项目配置一个反向代理 #REWRITE-START URL重写规则引用,修改后将导致面板设置的伪静态规则失效 include /www/server/panel/vhost/rewritexxxx.conf; #REWRITE-END location /app { proxy_pass http://127.0.0.1:9999; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_buffering off; proxy_request_buffering off; } #禁止访问的文件或目录 location ~ ^/(\.user.ini|\.htaccess|\.git|\.env|\.svn|\.project|LICENSE|README.md)引用1.WebSocket error: net::ERR_SSL_PROTOCOL_ERROR: https://stackoverflow.com/questions/59542929/websocket-error-neterr-ssl-protocol-error
2024年08月09日
169 阅读
0 评论
0 点赞
1
2
...
11