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
play.http.secret.key="Trvq8ZofCgSUvWBbQ4TFEaAtMQr7M3hks" | |
## For test only ! | |
db.janusgraph { | |
storage.backend: berkeleyje | |
storage.directory: /data/ | |
berkeleyje.freeDisk: 200 | |
} | |
storage { |
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
### Keybase proof | |
I hereby claim: | |
* I am garanews on github. | |
* I am garanews (https://keybase.io/garanews) on keybase. | |
* I have a public key ASAP3yAa19L9fdl450FsfPY4gXi-acbEzV4u4Ilcl25zwwo |
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
from flask import Flask, request | |
from flask_mail import Mail | |
import json | |
from flask_mail import Message | |
app = Flask(__name__) | |
app.config['MAIL_SERVER'] = "1.2.3.4" | |
app.config['MAIL_PORT'] = "25" | |
app.config['MAIL_USE_TLS'] = "" | |
app.config['MAIL_USE_SSL'] = "" |
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 time | |
import dask.array as da | |
import dask.dataframe as dd | |
import numpy as np | |
from dask.distributed import Client | |
from dask_cuda import LocalCUDACluster | |
import cupy as cp | |
ruzicka_kernel = cp.RawKernel(r''' | |
extern "C" __global__ |
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 asyncio | |
import asyncpg | |
import cupy as cp | |
import numpy as np | |
from dask import dataframe as dd | |
from dask.distributed import Client | |
from dask_cuda import LocalCUDACluster | |
import time | |
async def read_async(): |
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 os | |
import hashlib | |
import glob | |
import magic | |
import peutils | |
import pefile | |
import sys | |
import tqdm | |
import dask | |
import pandas as pd |
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 json | |
from glob import glob | |
import pandas as pd | |
list_json = glob('**/*.json') | |
all = [] | |
for jj in list_json: | |
command = jj.split("/")[-2] |
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
#!/usr/bin/env python | |
# encoding: utf-8 | |
from cortexutils.analyzer import Analyzer | |
import requests | |
import time | |
class CuckooSandboxAnalyzer(Analyzer): |