上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: 通过AES加密网站的接口来传值,不需要手动加密字符串后复制过来传值。 1 #coding:utf-8 2 import requests 3 import re 4 def get_aes_url(key, text): 5 url = 'http://www.ssleye.com/des/web_ 阅读全文
posted @ 2019-12-13 17:51 charseki 阅读(498) 评论(0) 推荐(0) 编辑
摘要: 财务一体化系统,自动核销大数据代码: 1 import pymysql 2 import random 3 import time 4 #指定数据库地址、用户、密码、端口,使用connect()方法声明一个Mysql连接对象db 5 db = pymysql.connect(host='192.16 阅读全文
posted @ 2019-12-13 17:46 charseki 阅读(371) 评论(0) 推荐(0) 编辑
摘要: AES加密算法的网站:http://www.ssleye.com/aes_cipher.html """ AES加密(加解密算法/工作模式/填充方式:AES/ECB/PKCS5Padding;测试环境key值:WuMlCJRN8zO886dw""" api_DZFPKJ 代码如下: 1 #codin 阅读全文
posted @ 2019-12-05 18:28 charseki 阅读(658) 评论(0) 推荐(0) 编辑
摘要: 今天在微信群里看到有人抛出这么一道题: string = "192.0.0.1?!289.0.0.1!0.0.0.0!192.163.10.28?192.0.0.1"#要求返回一个ip数组,并且按照ip最后一位排序返回 第一想法就是,把这串字符串根据正则去除里面的特殊符号,得到一个新的数组,然后将新 阅读全文
posted @ 2019-11-26 15:21 charseki 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 识别诺诺金服页面的验证码,并自动登录到后台。 1 #导包 2 from selenium import webdriver 3 from PIL import Image, ImageDraw 4 from time import sleep 5 import pytesseract 6 #定义浏览 阅读全文
posted @ 2019-10-15 11:00 charseki 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 完善了一下慕课网实战中的post接口开发,得到了一些进步: 代码如下: 1 #coding=utf-8 2 from flask import Flask 3 from flask import request 4 from flask import jsonify 5 app = Flask(__ 阅读全文
posted @ 2019-10-03 22:10 charseki 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 代码如下: 1 from calculator import Count 2 import unittest 3 import HTMLTestRunnerCN 4 5 #测试两个整数相加 6 class TestAdd(unittest.TestCase): 7 def setUp(self): 阅读全文
posted @ 2019-09-09 04:00 charseki 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 代码如下: 1 #计算器类 2 class Count: 3 def __init__(self, a, b): 4 self.a = int(a) 5 self.b = int(b) 6 #计算器加法 7 def add(self): 8 return self.a + self.b 9 10 # 阅读全文
posted @ 2019-09-09 03:58 charseki 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 登录接口获取token: 1 import requests 2 import json 3 4 def get_token(username, password): 5 host = "https://sws.nbhtxx.com.cn" 6 data = { 7 'userid': userna 阅读全文
posted @ 2019-09-08 23:14 charseki 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 1、User Fiters启用 2、Action Action:Run Filterset now是否运行,Load Filterset加载,Save Filterset保存; 3、Hosts过滤 Zone:指定只显示内网(Intranet)或互联网(Internet)的内容; Host:指定显示某 阅读全文
posted @ 2019-09-08 15:21 charseki 阅读(387) 评论(1) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 下一页