Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bsauce/kernel-exploit-factory
/ stat
Class
stat
CVE-2022-2602/exploit/exploit.c:132–132 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
130
assert(start_write != (int *)-1);
131
132
struct stat st;
133
stat(
"/etc/passwd"
, &st);
134
int orig_passwd_size = st.st_size; // used to check whether /etc/passwd has changed
135
int size;
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected