04 2021 档案

摘要:初识框架 什么是框架 遵循通用代码规范,采用指定设计模式编写的代码文件集合,这些代码文件是程序结构代码,可是框架中实现业务功能。 常见的PHP框架 Laravel:采用MVC架构模式,支持Composer,提倡代码的重用,保证代码的简洁性与优雅性,适合应用各种开发模式 Yii:实现了MVC设计模式并 阅读全文
posted @ 2021-04-27 22:29 夜布多 阅读(183) 评论(1) 推荐(0)
摘要:先找到register.php注册一个账号,然后登陆,就会跳转到profile.php,用dirsearch扫扫,扫到了www.zip config.php <?php $config['hostname'] = '127.0.0.1'; $config['username'] = 'root'; 阅读全文
posted @ 2021-04-25 12:47 夜布多 阅读(528) 评论(0) 推荐(0)
摘要:@app.route('/getUrl', methods=['GET', 'POST']) def getUrl(): url = request.args.get("url") host = parse.urlparse(url).hostname if host == 'suctf.cc': 阅读全文
posted @ 2021-04-24 22:18 夜布多 阅读(150) 评论(0) 推荐(0)
摘要:p = 86376337672570085670996534865410911713204915094336154475391624379112441758856678063984117905240835534451581135022277452062053276909395040329946999 阅读全文
posted @ 2021-04-24 21:06 夜布多 阅读(1858) 评论(0) 推荐(0)
摘要:<?php error_reporting(0); //听说你很喜欢数学,不知道你是否爱它胜过爱flag if(!isset($_GET['c'])){ show_source(__FILE__); }else{ //例子 c=20-1 $content = $_GET['c']; if (strl 阅读全文
posted @ 2021-04-15 09:42 夜布多 阅读(134) 评论(0) 推荐(0)
摘要:bp抓包 发现有参数,执行file_get_contents。可以看到index.php的源代码。 <?php $disable_fun = array("exec","shell_exec","system","passthru","proc_open","show_source","phpinf 阅读全文
posted @ 2021-04-07 16:20 夜布多 阅读(81) 评论(0) 推荐(0)