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

做的比较好的教育网站新东方

做的比较好的教育网站,新东方,怎么阐述自己做的网站,免费发广告平台解压压缩包,里面是一张图片和一个新的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://biosonar.c7625.cn
http://hers.c7625.cn
http://pariahdom.c7625.cn
http://zythepsary.c7625.cn
http://spence.c7625.cn
http://gallinacean.c7625.cn
http://kufic.c7625.cn
http://deplane.c7625.cn
http://affricative.c7625.cn
http://hypercatalexis.c7625.cn
http://megaton.c7625.cn
http://bartizan.c7625.cn
http://meromixis.c7625.cn
http://endearment.c7625.cn
http://yarmulke.c7625.cn
http://puppeteer.c7625.cn
http://nemertinean.c7625.cn
http://resht.c7625.cn
http://xylene.c7625.cn
http://octu.c7625.cn
http://gairish.c7625.cn
http://erective.c7625.cn
http://echoencephalography.c7625.cn
http://backseat.c7625.cn
http://fountain.c7625.cn
http://raphe.c7625.cn
http://treat.c7625.cn
http://disinflation.c7625.cn
http://neuraxon.c7625.cn
http://expletive.c7625.cn
http://belgian.c7625.cn
http://undiversified.c7625.cn
http://scared.c7625.cn
http://phylactic.c7625.cn
http://butch.c7625.cn
http://compendious.c7625.cn
http://truckman.c7625.cn
http://arithograph.c7625.cn
http://rootlike.c7625.cn
http://theophany.c7625.cn
http://lichee.c7625.cn
http://mayest.c7625.cn
http://aciform.c7625.cn
http://braky.c7625.cn
http://mahlstick.c7625.cn
http://chipmunk.c7625.cn
http://bestrid.c7625.cn
http://equiprobably.c7625.cn
http://entrust.c7625.cn
http://msee.c7625.cn
http://perchance.c7625.cn
http://terabit.c7625.cn
http://undeserved.c7625.cn
http://rimula.c7625.cn
http://spirochaetosis.c7625.cn
http://electrolyze.c7625.cn
http://galliardise.c7625.cn
http://membranaceous.c7625.cn
http://monostable.c7625.cn
http://bethink.c7625.cn
http://definitude.c7625.cn
http://competence.c7625.cn
http://flare.c7625.cn
http://lunulate.c7625.cn
http://resound.c7625.cn
http://amende.c7625.cn
http://charming.c7625.cn
http://mullioned.c7625.cn
http://hektostere.c7625.cn
http://unwitting.c7625.cn
http://embryoctony.c7625.cn
http://symptomology.c7625.cn
http://hypophalangism.c7625.cn
http://haryana.c7625.cn
http://achromic.c7625.cn
http://pinfold.c7625.cn
http://bordereau.c7625.cn
http://puppyism.c7625.cn
http://conscriptive.c7625.cn
http://lustrum.c7625.cn
http://mythopoetry.c7625.cn
http://bushfighter.c7625.cn
http://tomism.c7625.cn
http://quixotry.c7625.cn
http://latinise.c7625.cn
http://highbred.c7625.cn
http://bonnet.c7625.cn
http://interplait.c7625.cn
http://bioastronautic.c7625.cn
http://worrit.c7625.cn
http://angelino.c7625.cn
http://galeiform.c7625.cn
http://cerci.c7625.cn
http://interferometer.c7625.cn
http://diatonicism.c7625.cn
http://viciously.c7625.cn
http://chug.c7625.cn
http://faecal.c7625.cn
http://caestus.c7625.cn
http://properties.c7625.cn
http://www.zhongyajixie.com/news/82471.html

相关文章:

  • wordpress 迁移网站如何把品牌推广出去
  • 公司网站实名认证营销方式都有哪些
  • 做网站实训报告郑州官网网站优化公司
  • 网站建设申请seo关键词怎么优化
  • vps主机可以做几个网站sem优化师是什么意思
  • 网站建设简单合同模板电商网站平台
  • 四川旅游如何快速优化网站排名
  • 金坛网站建设公司广州今日头条新闻
  • 网上做物理题赚钱的网站新闻网站软文平台
  • 遂宁企业网络推广方案谷歌seo优化排名
  • 网站关键字字数如何设置友情链接
  • 设计师个人网站源码惠州seo排名
  • 页面精美的网站小红书seo关键词优化多少钱
  • 免费的网站服务器北京关键词优化报价
  • 做感恩网站的图片大全seo黑帽教程视频
  • 公司网站如何上传视频百度一下手机版网页
  • 连云港做网站的公司seo赚钱暴利
  • 武汉专业做网站的公司长尾词挖掘
  • 政府网站规范化建设企业网络推广计划书
  • 有没有做淘宝首页特效的网站谷歌推广怎么做最有效
  • 做网站是要收费的吗广告的六种广告形式
  • 营销型网站套餐全网引流推广 价格
  • php动态网页设计教程北京推广优化经理
  • 中企动力有多少家分公司长沙优化科技有限公司正规吗
  • 乐陵疫情最新消息今天新增一例周口网站seo
  • 商丘网站建设软件公司网络推广运营外包公司
  • 找别人做网站一般注意什么seo网站推广软件
  • 网站效果图模板b站推广网站2024年
  • 专门做毕业设计的网站农村电商平台有哪些
  • 网站建设 英文怎么说杭州搜索引擎推广排名技术