nabule / OSCP-Pentest-Methodologies

备考 OSCP 的各种干货资料/渗透测试干货资料

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

声明:最近发现有人假冒我的ID ,搭建网站销售 OSCP/OSCE/OSWE 的考试报告,怎么可能会有考试报告可以买?各位切勿上当受骗

0x0 OSCP 相关

0x1 边界突破(获取初始shell)

1.1 综合

1.2 Web

1.3 System

1.4 反弹 shell

0x2 提权

2.1 Linux 提权

2.1.1 Linux 提权工具

2.1.2 Linux SUID 提权

suid 辅助信息收集脚本: linux-pe-suid.sh

原理:

#以下命令将尝试查找具有root权限的SUID的文件,不同系统适用于不同的命令,请逐个尝试
find / -perm -u=s -type f 2>/dev/null
find / -user root -perm -4000-print2>/dev/null
find / -user root -perm -4000-exec ls -ldb {} \;

已知的可用来提权的linux可行性的文件列表如下:

命令 命令 命令 命令 命令 命令 命令 命令
aria2c arp ash base32 base64 bash busybox cat
chmod chown chroot cp csh curl cut dash
date dd dialog diff dmsetup docker emacs env
eqn expand expect file find flock fmt fold
gdb gimp grep gtester hd head hexdump highlight
iconv ionice ip jjs jq jrunscript ksh ksshell
ld.so less logsave look lwp-download lwp-request make more
mv nano nice nl node nohup od openssl
perl pgShell php pico python readelf restic rlwrap
rpm rpmquery rsync run-parts rvim sed setarch shuf
soelim sort start-stop-daemon stdbuf strace strings sysctl systemctl
tac tail taskset tclsh tee tftp time timeout
ul unexpand uniq unshare uudecode uuencode vim watch
wget xargs xxd xz zsh zsoelim nmap 其他脚本文件

2.2 Windows 提权

2.2.1 Windows 提权工具

2.2.2 Windows 提权方法:

0x3 其他工具下载

这部分工具在 OSCP 考试认证过程中用不到,但是在其他渗透测试项目中可能会用到

0x4 格外

About

备考 OSCP 的各种干货资料/渗透测试干货资料

License:Apache License 2.0


Languages

Language:C 30.9%Language:Python 30.8%Language:PHP 28.1%Language:ASP.NET 4.2%Language:Shell 3.4%Language:Perl 1.6%Language:Classic ASP 1.0%