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

搜索引擎中 哪些网站可以获得更好的排名廊坊优化网站排名

搜索引擎中 哪些网站可以获得更好的排名,廊坊优化网站排名,个人网站 备案 备注,html网页制作如何加入图片一、引用的python模块 Crypto#xff1a; Python中一个强大的加密模块#xff0c;提供了许多常见的加密算法和工具。它建立在pyc.ypodome或pyc.ypto等底层加密库之上#xff0c;为Python程序员提供了简单易用的API#xff0c;使其可以轻松地实现各种加密功能。 commands…一、引用的python模块 Crypto Python中一个强大的加密模块提供了许多常见的加密算法和工具。它建立在pyc.ypodome或pyc.ypto等底层加密库之上为Python程序员提供了简单易用的API使其可以轻松地实现各种加密功能。 commands commands 模块是 Python 的内置模块它主要有三个函数 FUNCTIONS getoutput(cmd) Return output (stdout or stderr) of executing cmd in a shell.getstatus(file) Return output of ls -ld file in a string.getstatusoutput(cmd) Return (status, output) of executing cmd in a shell. SYS 基础系统模块 sys模块是与python解释器交互的一个接口。sys 模块提供了许多函数和变量来处理 Python 运行时环境的不同部分。 二、实现过程 python脚本如下 import crypt import commands import sys def testPass(user,cryptPass,ipaddr):     #dictfileopen(dictionary.txt,r)     start_indexcryptPass.find($)     finish_indexcryptPass.rfind($)     saltcryptPass[start_index:finish_index1]     dictfileopen(/root/dict.txt,r)     pwd_suffix [,.,..,!,!#,1,123,1234,12345,123456,888,666,999,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019]     for sfx in pwd_suffix:         #print usersfx         for separator in [,,#,]:             cryptWordcrypt.crypt(%s%s%s%(user,separator,sfx),salt)             if cryptWordcryptPass:                 #print ipaddr [] Found Password: user/usersfx \n                 print %s [] Found Passwd: %s/%s%s%s \n%(ipaddr,user,user,separator,sfx)                 break             cryptWordcrypt.crypt(%s%s%s%(user,sfx,separator),salt)             if cryptWordcryptPass:                 #print ipaddr [] Found Password: user/usersfx \n                 print %s [] Found Passwd: %s/%s%s%s \n%(ipaddr,user,user,sfx,separator)                 break     for word in dictfile.readlines():         #print word         wordword.strip()         cryptWordcrypt.crypt(word,salt)         if cryptWordcryptPass:             print ipaddr [] Found Password: user/word \n             break     print([-] Password not found!) def main():     cmd ifconfig|grep \inet addr\|grep -v 127.0.0.1|awk {print $2}     ipaddr commands.getoutput(cmd).replace(addr:,).replace(\n,|)     shadowfileopen(/etc/shadow)     for line in shadowfile.readlines():         userline.split(:)[0]         cryptPassline.split(:)[1].strip(\n)         if not (cryptPass.startswith(*) or cryptPass.startswith(!)):              print [*] Cracking Password For: user             testPass(user,cryptPass,ipaddr) if __name____main__:     main() 注破解密码有两种方式一种是通过脚本pwd_suffix定义的后缀另一种是调用密码字典库/root/dict.txt来破解。 三、演示效果 创建一个测试用户testuser密码设置成123456然后执行检测脚本。滴弱密码已被发现
http://www.zqtcl.cn/news/78481/

相关文章:

  • 做网站都需要什么资料.net 企业网站源码下载
  • 学做粤菜的网站有哪些衡水企业网站制作报价
  • 网站申请支付宝支付商丘网络推广平台
  • 网站如何做微信支付ppt模板大全免费版
  • 企业建站公司电话20元备案域名
  • seo优化文章网站wordpress 太多重定向
  • asp美食网站源码百度经验悬赏任务平台
  • 济宁网站建设seo开发公司各部门岗位职责
  • 昆明cms模板建站开办时 网站建设费 科目
  • 芗城网站建设公司网站字体特效代码
  • 临沂做网站的公司有哪些购物网站的排版
  • 网站建设新手如何自己做网站wordpress显示文章标题
  • 江苏景禾瑜博建设工程有限公司网站道县网站建设
  • 怎么建设电影网站金科科技 做网站
  • 网站自适应与响应式上海阿里巴巴做网站
  • 优易官方网站做网站怎么
  • 网站建设 模仿阿里云官网找工作附近上8小时的双休
  • 网站设计内容贵阳公司官方网站建设
  • flash网站引导页面制作广告制作
  • 建设网站成本国外医疗网站模板
  • 网络游戏管理暂行办法谷歌seo和百度seo的区别
  • 顺德网络营销网站企业策划是做什么的
  • 做3个网站需要多大的服务器免费的ppt通用模板
  • 怎么建设信息网站做网站客户最关心的是什么
  • 海兴县网站建设价格深圳景观设计公司10强
  • 坪地网站建设包括哪些网站自动更新时间代码
  • 多个网站如何做301职业生涯规划大赛的目的
  • 成都网站建设木木科技创建网站的代码
  • 网站建设中界面模板下载wordpress弹出式广告
  • 中集建设集团有限公司网站交互设计专业国内大学排名