摘要: 信息安全很重要,你的地理位置可能暴露了!!! 使用python和GeoLite2获取目标的地理位置 1 #! /usr/bin/env python 2 #-*- coding:utf-8 -*- 3 4 ''' 5 Created on 2019年12月8日 6 7 @author: Admin 阅读全文
posted @ 2019-12-08 23:52 PerilongGideon 阅读(3258) 评论(2) 推荐(1) 编辑
摘要: 使用re库匹配IP地址 一、说明 ip地址为xxx.xxx.xxx.xxx,其中xxx为0-255直接数字。 本文匹配为(1-255).(0-255).(0-255).(1-254) 二、匹配表达式 1 ip_match = r"^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0 阅读全文
posted @ 2019-12-08 22:15 PerilongGideon 阅读(2260) 评论(0) 推荐(1) 编辑