Skip to content

A simple daemon that keeps count of how many resprings your device had since booting up

License

Notifications You must be signed in to change notification settings

uroboro/Respring-Counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Respring-Counter

A simple daemon that keeps count of how many resprings your device had since booting up

Add the following code:

#include <notify.h>

#define PRGetRespringCount() ({ \
	dlopen("/Library/MobileSubstrate/DynamicLibraries/respringcounter.dylib", RTLD_LAZY); \
	uint64_t state; int token; \
	notify_register_check("com.uroboro.respringcounter.count", &token); \
	notify_get_state(token, &state); \
	notify_cancel(token); \
	state; })

And use the following to get the count

	uint64_t count = PRGetRespringCount();

About

A simple daemon that keeps count of how many resprings your device had since booting up

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published