Vulnhub:FUNBOX-EASY靶机

本文介绍了通过Vulnhub的FUNBOX-EASY靶机进行的安全挑战。首先,通过端口扫描和目录枚举发现CMS系统,并利用SQL注入漏洞绕过Admin登录。接着,利用CMS的文件上传漏洞获取shell。随后,在/home/tony目录找到ssh密码并登录。最后,利用sudo -l权限发现及gtfobins资源,通过pkexec实现root权限提升。
摘要由CSDN通过智能技术生成

1.浏览器输入目标靶机地址打开网页;
在这里插入图片描述
2.端口扫描

nmap -p- 192.168.31.109
nmap -sC -sV -p 22,80,33060 192.168.31.109

在这里插入图片描述
3.目录枚举
扫出了好多目录,故意迷惑我们这些小可爱…………

gobuster dir -u http://192.168.31.109/ -w /usr/share/wordlists/dirbuster/directory-list-2.3-small.txt -x php,html

在这里插入图片描述
4.在浏览器中打开/store这个目录,在下方有Admin login登录提示

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
clc;clear all; img = imread('‪C:\Users\210\Desktop\123\mouse.jpg'); figure; imshow(img),title("原图像"); [ROW,COL] = size(img); img = double(img); new_img = zeros(ROW,COL); %新建画布 %定义robert算子 roberts_x = [1,0;0,-1]; roberts_y = [0,-1;1,0]; for i = 1:ROW - 1 for j = 1:COL - 1 funBox = img(i:i+1,j:j+1); G_x = roberts_x .* funBox; G_x = abs(sum(G_x(:))); G_y = roberts_y .* funBox; G_y = abs(sum(G_y(:))); roberts_xy = G_x * 0.5 + G_y * 0.5; new_img(i,j) = roberts_xy; end end figure(2); imshow(new_img/255),title("robert算子的图像"); % 定义laplace算子 laplace = [0,1,0;1,-4,1;0,1,0]; for i = 1:ROW - 2 for j = 1:COL - 2 funBox = img(i:i+2,j:j+2); G = laplace .* funBox; G = abs(sum(G(:))); new_img(i+1,j+1) = G; end end figure(3) imshow(new_img/255),title("laplace算子的图像"); %定义sobel算子 sobel_x = [-1,0,1;-2,0,2;-1,0,1]; sobel_y = [-1,-2,-1;0,0,0;1,2,1]; for i = 1:ROW - 2 for j = 1:COL - 2 funBox = img(i:i+2,j:j+2); G_x = sobel_x .* funBox; G_x = abs(sum(G_x(:))); G_y = sobel_y .* funBox; G_y = abs(sum(G_y(:))); sobelxy = G_x * 0.5 + G_y * 0.5; new_img(i+1,j+1) = sobelxy; end end figure(4); imshow(new_img/255),title("sobel的图像"); %定义Prewitt算子 sobel_x = [-1,0,1;-1,0,1;-1,0,1]; sobel_y = [-1,-1,-1;0,0,0;1,1,1]; for i = 1:ROW - 2 for j = 1:COL - 2 funBox = img(i:i+2,j:j+2); G_x = sobel_x .* funBox; G_x = abs(sum(G_x(:))); G_y = sobel_y .* funBox; G_y = abs(sum(G_y(:))); sobelxy = G_x * 0.5 + G_y * 0.5; new_img(i+1,j+1) = sobelxy; end end figure(5); imshow(new_img/255),title("Prewitt的图像");
06-03
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值