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
// Copyright (c) 2015-2016, tandasat. All rights reserved. | |
// Use of this source code is governed by a MIT-style license that can be | |
// found in the LICENSE file. | |
/// @file | |
/// Implements DdiMon functions. | |
#include "ddi_mon.h" | |
#include <ntimage.h> | |
#define NTSTRSAFE_NO_CB_FUNCTIONS |
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
const dgram = require('dgram'); | |
const net = require('net'); | |
const server = dgram.createSocket('udp4'); | |
const fs = require('fs') | |
let udp_logger = fs.createWriteStream('udp_log.txt', { | |
flags: 'a' | |
}); | |
let tcp_logger = fs.createWriteStream('tcp_log.txt', { | |
flags: 'a' |
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
const fs = require('fs'); | |
let text = fs.readFileSync('listcachefile.txt').toString(); | |
let a = text.split(' TTL:'); | |
for(let i = 0;i < a.length;i++){ | |
let t = a[i].split('\n'); | |
let file = t[0].replace('file:',''); | |
let url = t[1].split('http://cache-i/'); | |
if(file.indexOf('EXPIRE') > -1){ |
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
VOID DrvObjHide(_In_ PVOID Context) { | |
// Wait the driver fully loaded | |
NTSTATUS status = STATUS_SUCCESS; | |
INT64 interval = 1000 * -10000i64; | |
status = KeDelayExecutionThread(KernelMode,FALSE,(PLARGE_INTEGER)&interval); | |
PDRIVER_OBJECT driver_object = (PDRIVER_OBJECT)Context; | |
tMiProcessLoaderEntry fun = (tMiProcessLoaderEntry)FindMiProcessLoaderEntry(); | |
// MiProcessLoaderEntry will remove your driver from PsLoadedModuleList, and the patchguard moniting context. | |
// So it won't trigger a BSOD |
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
#!/usr/bin/zsh | |
mkdir rg-install | |
cd rg-install | |
wget http://pkg.cloudflare.com/dists/xenial/railgun/binary-amd64/Packages.gz | |
gunzip Packages.gz | |
wget "http://pkg.cloudflare.com/${$(cat Packages | grep Filename:)//Filename: }" | |
ar -x *.deb | |
tar xvf data.tar.xz | |
rm -rf /usr/local/railgun | |
mkdir -p /usr/local/railgun |
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
Don't use 2.4Ghz | |
list ht_capab 'SHORT-GI-40' | |
list ht_capab 'DSSS_CCK-40' | |
list ht_capab 'TX-STBC' | |
list ht_capab 'RX-STBC1' | |
option frag '2304' | |
option rts '2304' | |
option beacon_int '75' |
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
// Open: http://www.umetrip.com/activity/second/second.html?userId=YourUserId&issue=9 | |
// Use packet capture to get UserID And Token | |
function doStart() { | |
$.ajax({ | |
url: storeUrl + "/UmeStore/OneSecond/oneSecondStart.do?userId=YourUserID&token=YourToken&issue=9", | |
contentType: "application/x-www-form-urlencoded", | |
dataType: "json", | |
cache: !1, | |
timeout: 5e4, |
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
// olprk.cpp : Defines the entry point for the console application. | |
// | |
#include "stdafx.h" | |
#include <Windows.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <signal.h> | |
#include <stdint.h> | |
#include <tchar.h> |
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
const tpush = require('typcnpush-sdk'); | |
const http = require('http'); | |
tpush.useInternalMode(); | |
setInterval(function(){ | |
let options = { | |
host: 'ume1.umetrip.com', | |
port: 80, | |
path: '/UmeAd/everyday/luck.do?sid=YOUR_SESSION_ID', | |
method: 'GET' |
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
var fs = require("fs"); | |
var p = require("node-protobuf"); | |
var pb = new p(fs.readFileSync("out.desc")); | |
var tls = require('tls'); | |
var crypto = require('crypto'); | |
var http = require("http"); | |
var conn = tls.connect(13001, 'ssl-added-and-removed-here.ctfcompetition.com', (socket) => { | |
console.log('Connected'); |
NewerOlder