Jump to content
Sign in to follow this  
old

Ubuntu 16.04.4

Recommended Posts

Ubuntu 16.04.4 kernel privilege escalation all credits to @bleidl
Tested on: 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64
if different kernel adjust CRED offset + check kernel stack size


Download:

Ubuntu-16.04.zip

Share this post


Link to post
Share on other sites

 gcc -o loc loc.c
loc.c:17:23: fatal error: linux/bpf.h: No such file or directory
 #include <linux/bpf.h>
                       ^
compilation terminated.
 

? test it before to make public ?

Share this post


Link to post
Share on other sites
On 5/27/2018 at 10:10 PM, hydratech said:

 gcc -o loc loc.c
loc.c:17:23: fatal error: linux/bpf.h: No such file or directory
 #include <linux/bpf.h>
                       ^
compilation terminated.
 

? test it before to make public ?

 

------------------------

iti lipeste headerul bpf.h

[email protected]:/tmp# loate linux/bpf.h
/usr/include/linux/bpf.h
[email protected]:/tmp# gcc loc.c -o local
[email protected]:/tmp# file local
local: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=1c1405f674cce4c295f70c473bedfa92baea3bd7, not stripped
 

Invata linux inainte de a incerca sa il exploatezi!

 

screen-18.08.02[29.05.2018].png

Share this post


Link to post
Share on other sites

Ah, ca sunt sigur ca o sa intrebi si cum il instalezi, comanda de de instalare a headerelor linux este: sudo apt-get install linux-headers-$(uname -r)

Share this post


Link to post
Share on other sites

O să mă gândesc la ce ai zis, poate o sa fac un autoroot, si să execute automat exploitul in funcție de distribuția detectată 🙂 insa mai aștept cereri...

Share this post


Link to post
Share on other sites

eu nu inteleg nici chestia .. ia de aici sursa ... si plm vezi daca merge sau nu ... la ce ****ca sa zic asa pui sursa ***? compileazal si punel dupa ce il testezi ... daca nu esti in stare de asta .. nu mai posta pur si simplu indiferent cine ar fi ... ori ai ceva ori o dai ia sursa si verifica fute rooturi nervi si asa mai departe .. ori esti lamer ori lasa-o moarta .

Edited by hydratech

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×