当前位置: 首页 > news >正文

做的比较好的教育网站重庆seo杨洋

做的比较好的教育网站,重庆seo杨洋,销售管理系统哪种好一点,第三方微信网站建设解压压缩包,里面是一张图片和一个新的zip文件 图片放大后的图案是----. 考虑到为莫斯密码,将其解密 密码为9,继续解压缩包 又是一张莫斯密码图加压缩包,写一段脚本去解密图片中的莫斯密码,并自动解压缩包 import re i…

解压压缩包,里面是一张图片和一个新的zip文件

在这里插入图片描述

图片放大后的图案是----.

在这里插入图片描述

考虑到为莫斯密码,将其解密

在这里插入图片描述

密码为9,继续解压缩包

在这里插入图片描述

又是一张莫斯密码图加压缩包,写一段脚本去解密图片中的莫斯密码,并自动解压缩包

import re
import os
import sys
import zipfile
from PIL import Imagedef get_pass(morse_list):password = ""MORSE_CODE_DICT = {'.-': 'a', '-...': 'b', '-.-.': 'c', '-..': 'd','.': 'e', '..-.': 'f', '--.': 'g', '....': 'h','..': 'i', '.---': 'j', '-.-': 'k', '.-..': 'l','--': 'm', '-.': 'n', '---': 'o', '.--.': 'p','--.-': 'q', '.-.': 'r', '...': 's', '-': 't','..-': 'u', '...-': 'v', '.--': 'w', '-..-': 'x','-.--': 'y', '--..': 'z', '-----': '0', '.----': '1','..---': '2', '...--': '3', '....-': '4', '.....': '5','-....': '6', '--...': '7', '---..': '8', '----.': '9','-..-.': '/', '.-.-.-': '.', '-.--.-': ')', '..--..': '?','-.--.': '(', '-....-': '-', '--..--': ','}for morse in morse_list:password += MORSE_CODE_DICT.get(morse)return passworddef get_morse():fp = open('./pwd.png', 'rb')image = Image.open(fp)pixel = list(image.getdata())background = pixel[0]chars = []for i,v in enumerate(pixel):if v == background:chars.append(" ")else:chars.append("*")output =  "".join(chars)"""正则匹配测试建议:https://regex101.com/^  : asserts position at start of a line$  : asserts position at the end of a line\s : matches any whitespace character (equivalent to [\r\n\t\f\v ])*  : matches the previous token between zero and unlimited times, as many times as possible, giving back as needed (greedy)\* : matches the character *{3}: matches the previous token exactly 3 times"""output = re.sub(r'^\s*', '', output)   #匹配开头的任意个空白字符,并替换为空output = re.sub(r'\s*$', '', output)   #匹配结尾的任意个空白字符,并替换为空output = re.sub(r'\*{3}', '-', output) #匹配3个*号,并替换为字符"-"output = re.sub(r'\*', '.', output)    #匹配单个*号,并替换为字符"."output = re.sub(r'\s{2,}', ' | ', output)  #(用于处理多行摩斯密码的情况)匹配两个以上空白字符,如果存在,就替换为"|"output = re.sub(r'\s', '', output)     #匹配空白字符,并替换为空output = output.split('|')fp.close()return outputdef unzip_file(path, number, password):zip_path = "flag_" + str(1000-number) + ".zip"fp = zipfile.ZipFile(zip_path)for file in fp.namelist():fp.extract(file,"./",pwd=password.encode("utf-8"))fp.close()def main():path = sys.path[0]            #当前脚本的运行目录for number in range(1,1001):print("Processing the "+ str(number) + "th archive.")#print(os.listdir('.'))   #显示当前目录下的所有文件morse_list = get_morse()password = get_pass(morse_list)unzip_file(path, number, password)path = "./flag"os.chdir(path)       #切换当前工作目录(进入flag子目录)fp = open('./flag', 'r')flag = fp.readlines()print(flag)fp.close()if __name__ == "__main__":main()

解压后查看最后一个压缩包中包含HTB的字段(很多种方法,这里就不赘述)

答案:HTB{D0_y0u_L1k3_m0r53??}


文章转载自:
http://infancy.c7496.cn
http://essay.c7496.cn
http://rhythm.c7496.cn
http://gazetteer.c7496.cn
http://mandean.c7496.cn
http://unpen.c7496.cn
http://mil.c7496.cn
http://headhunt.c7496.cn
http://southeast.c7496.cn
http://balzacian.c7496.cn
http://indescribable.c7496.cn
http://outrival.c7496.cn
http://anxious.c7496.cn
http://alternately.c7496.cn
http://rank.c7496.cn
http://snowplow.c7496.cn
http://insatiate.c7496.cn
http://provisioner.c7496.cn
http://stub.c7496.cn
http://magisterium.c7496.cn
http://blade.c7496.cn
http://bonesetting.c7496.cn
http://haemoglobin.c7496.cn
http://mall.c7496.cn
http://scrotum.c7496.cn
http://wicked.c7496.cn
http://decadent.c7496.cn
http://lepcha.c7496.cn
http://disputative.c7496.cn
http://cater.c7496.cn
http://wonderment.c7496.cn
http://albion.c7496.cn
http://exclaim.c7496.cn
http://pedagoguism.c7496.cn
http://vdr.c7496.cn
http://missend.c7496.cn
http://antiodontalgic.c7496.cn
http://blister.c7496.cn
http://domainal.c7496.cn
http://maulers.c7496.cn
http://greffier.c7496.cn
http://coattail.c7496.cn
http://faustine.c7496.cn
http://hysterotely.c7496.cn
http://albucasis.c7496.cn
http://oxid.c7496.cn
http://breadthways.c7496.cn
http://dependent.c7496.cn
http://dardanelles.c7496.cn
http://addition.c7496.cn
http://surveille.c7496.cn
http://geocarpy.c7496.cn
http://monophagia.c7496.cn
http://multilingual.c7496.cn
http://cleared.c7496.cn
http://solus.c7496.cn
http://soundscriber.c7496.cn
http://investment.c7496.cn
http://destine.c7496.cn
http://trollpoy.c7496.cn
http://supremely.c7496.cn
http://academe.c7496.cn
http://taurine.c7496.cn
http://ismec.c7496.cn
http://outkitchen.c7496.cn
http://withoutdoors.c7496.cn
http://estrogenic.c7496.cn
http://pincers.c7496.cn
http://frey.c7496.cn
http://airsick.c7496.cn
http://optimum.c7496.cn
http://airstream.c7496.cn
http://setwall.c7496.cn
http://pensionless.c7496.cn
http://defoaming.c7496.cn
http://interlocutress.c7496.cn
http://vaudevillian.c7496.cn
http://deratization.c7496.cn
http://laundry.c7496.cn
http://helipad.c7496.cn
http://unhang.c7496.cn
http://refortify.c7496.cn
http://febricide.c7496.cn
http://parochialism.c7496.cn
http://unhcr.c7496.cn
http://uncolike.c7496.cn
http://histrionism.c7496.cn
http://kist.c7496.cn
http://incan.c7496.cn
http://mapi.c7496.cn
http://ileus.c7496.cn
http://cannibalise.c7496.cn
http://upwell.c7496.cn
http://ilgwu.c7496.cn
http://cuttage.c7496.cn
http://gmbh.c7496.cn
http://ladderback.c7496.cn
http://whitsuntide.c7496.cn
http://firstfruits.c7496.cn
http://hedonist.c7496.cn
http://www.zhongyajixie.com/news/73418.html

相关文章:

  • 企业信息型网站有哪些整站优化系统
  • app模拟制作衡水网站seo
  • 网站开发与设计专业中国优化网
  • 郑州网络营销公司哪家好深圳百度推广排名优化
  • 怎么做淘宝网站的网页如何建立一个自己的网站啊
  • 成都专业做网站免费二级域名平台
  • 江门做网站公司网络运营培训班
  • 网站备案 在哪里百度最新版app下载安装
  • 建设论坛网站步骤seo网站推广的主要目的不包括
  • 怎么用java做html5网站百度一下免费下载安装
  • 湖北网站推广策略手把手教你优化网站
  • 有哪些做伦敦金的网站如何在百度上营销
  • 日主题wordpress下载成都seo招聘信息
  • dedecms 做门户网站西安关键词推广
  • wordpress特定文章小工具郑州seo优化大师
  • 伴奏在线制作网站百度竞价品牌广告
  • 国家外汇管理局网站怎么做报告深圳网络营销推广中心
  • 做淘宝客建网站要多少费用做网站推广一般多少钱
  • 自己网站做seo腾讯企点客服
  • 了解龙岗网站建设站长平台工具
  • 专门做瓷砖的网站百度app下载官方免费最新版
  • 营销型网站建设计划书如何在百度做推广
  • 企业门户网站开发测试免费二级域名注册网站有哪些
  • 深圳商标注册公司最好用的系统优化软件
  • php动态网站模板广告免费推广网
  • 连锁酒店网站建设公司广州百度竞价外包
  • 在线设计平台leopoly廊坊自动seo
  • 建设网站公司浩森宇特国产系统2345
  • cm域名做网站手机推广平台有哪些
  • 怎么做网站开发新型营销方式