⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 blauthentication.h

📁 网络扫描工具。无限网络路由入侵
💻 H
字号:
//  ====================================================================== 	////  BLAuthentication.h														////  																		////  Last Modified on Tuesday April 24 2001									////  Copyright 2001 Ben Lachman												////																			////	Thanks to Brian R. Hill <http://personalpages.tds.net/~brian_hill/>		////  ====================================================================== 	//#import <Cocoa/Cocoa.h>#import <Security/Authorization.h>@interface BLAuthentication : NSObject {	AuthorizationRef authorizationRef; }// returns a shared instance of the class+ sharedInstance;// checks if user is authentcated forCommands- (BOOL)isAuthenticated:(NSArray *)forCommands;// authenticates user forCommands- (BOOL)authenticate:(NSArray *)forCommands;// deauthenticates user- (void)deauthenticate;// gets the pid forProcess- (int)getPID:(NSString *)forProcess;// executes pathToCommand with privileges- (BOOL)executeCommand:(NSString *)pathToCommand withArgs:(NSArray *)arguments;// kills the process specified by commandFromPS- (BOOL)killProcess:(NSString *)commandFromPS;@end// strings for notification centerextern NSString* BLAuthenticatedNotification;extern NSString* BLDeauthenticatedNotification;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -