Giter VIP home page Giter VIP logo

oscp-pentest-methodologies's Introduction

Pentst/OSCP 备考的干货知识~

0x1 边界突破

1.1 Web 服务

1.1.1 Web 测试工具

1.2 系统服务

1.3 暴力破解方法

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 工具下载

0x4 格外

oscp-pentest-methodologies's People

Contributors

jewel591 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.