Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bsauce/kernel-exploit-factory
/ stat
Class
stat
CVE-2022-27666/exploit/exploit.c:1752–1752 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1750
int am_i_root()
1751
{
1752
struct stat buffer;
1753
int exist = stat(
"/tmp/exploited"
, &buffer);
1754
if(exist == 0)
1755
return 1;
Callers
1
am_i_root
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected