Posts

Showing posts from August 10, 2018

Checking surrounding pixels inefficiently in pygame [closed]

Image
Clash Royale CLAN TAG #URR8PPP .everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0; up vote 2 down vote favorite This checks surrounding pixels to my object's pixel: self.surr = [None, None, None, None, None, None, None, None] for i in range(9): #for x in range(-1, 2): #for y in range(-1, 2): if i != 5: x = i % 3 - 2 y = int((i % 3) / 3) - 1 if x == 0 and y == 0: pass else: PAI = allPixels[(self.x + x) % width][(self.y + y) % height] if allPixels[(self.x + x) % width][(self.y + y) % height] != None else None self.surr[(y * 3) + x] = (PAI) return self.surr This returns a list of length 8 that holds either a Pixel object or None . allPixels is a 2D array that also holds either a Pixel object or None . I've tried then nested loops that are commented out but they run just a bit slower that the method I'm currently using. This however, is still too slow as if there are 3000 pixels on the screen, which is the lower

What are the risks of remoting in (RDP) to a compromised system? [duplicate]

Image
Clash Royale CLAN TAG #URR8PPP .everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0; up vote 23 down vote favorite 1 This question already has an answer here: Why would a remote desktop connection harm my PC? 3 answers Can the client be harmed in any way, and how? rdp share | improve this question asked Aug 6 at 13:59 PtotheBZZ 216 1 5 marked as duplicate by Conor Mancone, Tom K., forest, Steffen Ullrich, Matthew Aug 7 at 9:21 This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. 3 If your client have a vulnerability, the server can exploit it. – ThoriumBR Aug 6 at 14:02 2 While this may not be strictly RDP, but a third-party remoting software such as TeamViewer provides a reverse control function, which may be exploited. FYI: github.com/gellin/TeamViewer_Permissions_Hook_V1 â€