This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* WiFi handshake sniffer v 0.5b | |
* | |
* Author: Dimitar T. Dimitrov | |
* Sofia, Bulgaria 2016 | |
* Under MIT License | |
* | |
* gcc sniff.c -lpcap -o sniff | |
* | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#define MAX_FILENAME 256 | |
typedef struct { | |
char magic[4]; // CLU | |
int version; // 2 | |
int header_size; | |
int count; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- CCDevice.mm (revision 6) | |
+++ CCDevice.mm (working copy) | |
@@ -102,11 +102,12 @@ | |
- (void)accelerometer:(CMAccelerometerData *)accelerometerData | |
{ | |
- _acceleration->x = accelerometerData.acceleration.x; | |
- _acceleration->y = accelerometerData.acceleration.y; | |
- _acceleration->z = accelerometerData.acceleration.z; | |
- _acceleration->timestamp = accelerometerData.timestamp; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "CCSprite.h" | |
@interface SoftBubble : CCSprite | |
@end |
NewerOlder