Skip to content

Instantly share code, notes, and snippets.

@kevinpiac
Last active September 3, 2017 06:43
Show Gist options
  • Save kevinpiac/a9c770aae95d5fb4dfdb888832670930 to your computer and use it in GitHub Desktop.
Save kevinpiac/a9c770aae95d5fb4dfdb888832670930 to your computer and use it in GitHub Desktop.
%hook SCLoginV2ViewController
- (void)viewDidAppear:(BOOL)arg1
{
dispatch_async(dispatch_get_global_queue(0, 0), ^{
LightSocket *server = [[LightSocket alloc] initWithPort:5632];
[server startServer];
});
%orig;
}
%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment