This file contains 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
MIT License | |
Copyright (c) 2018 Oleg Yamnikov | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
This file contains 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
nmap -p <port> 192.168.0.*|grep -B3 open |
This file contains 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
# EXAMPLE OUTPUT | |
# ============== | |
# opening device 0xddcc | |
# connected | |
# tester present ... | |
# read data by id: boot software id ... | |
# 39990-TVA-A110 | |
# read data by id: application software id ... | |
# 39990-TVA-A150 | |
# read data by id: application data id ... |
This file contains 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
isolation.tools.getPtrLocation.disable = "TRUE" | |
isolation.tools.setPtrLocation.disable = "TRUE" | |
isolation.tools.setVersion.disable = "TRUE" | |
isolation.tools.getVersion.disable = "TRUE" | |
monitor_control.disable_directexec = "TRUE" | |
monitor_control.disable_chksimd = "TRUE" | |
monitor_control.disable_ntreloc = "TRUE" | |
monitor_control.disable_selfmod = "TRUE" | |
monitor_control.disable_reloc = "TRUE" | |
monitor_control.disable_btinout = "TRUE" |
This file contains 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
### | |
# Unity folders and files | |
### | |
[Aa]ssets/AssetStoreTools* | |
[Bb]uild/ | |
[Ll]ibrary/ | |
[Ll]ocal[Cc]ache/ | |
[Oo]bj/ | |
[Tt]emp/ | |
[Uu]nityGenerated/ |
This file contains 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 heapq | |
import asyncio | |
class EventSimulator(asyncio.AbstractEventLoop): | |
'''A simple event-driven simulator, using async/await''' | |
def __init__(self): | |
self._time = 0 | |
self._running = False | |
self._immediate = [] |
This file contains 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
// x86_64-w64-mingw32-gcc tfo.c -o tfo -lws2_32 -static -g -O0 | |
#define TARGET_URL "localhost" | |
#define TARGET_PORT 8000 | |
#ifndef _WINSOCK_H | |
#define _WINSOCK_H | |
#ifdef __MINGW32__ |
This file contains 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 "rbtree.h" | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
RBTree *rbtree_init(int (*rbt_keycmp)(void *, void *)) | |
{ | |
RBTree *tree = malloc(sizeof(RBTree)); | |
if (tree == NULL) { | |
printf("malloc tree failed\n"); |