$ nc -l -p 1234
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
[Sources] | |
BdsConnect.c | |
[Packages] | |
MdePkg/MdePkg.dec | |
[LibraryClasses] | |
BaseLib | |
PrintLib | |
DevicePathLib |
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 2012 Emmanuel Bourg | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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 <iostream> | |
#include <unistd.h> | |
#include <signal.h> | |
#include <sys/wait.h> | |
#include <sys/stat.h> | |
#include <sys/signal.h> | |
#include <sys/ptrace.h> | |
volatile int g_running = 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
# IN MAIN PROJECT | |
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") | |
# ExternalZlib.cmake | |
FetchContent_Declare( | |
zlib | |
GIT_REPOSITORY https://github.com/madler/zlib.git | |
GIT_TAG v1.2.11 | |
) |
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
function fixedMod(a, b) { | |
let r = a.mod(b); | |
if(r.isNegative()) | |
r = b.plus(r); | |
return r; | |
} | |
//simplevariant | |
decrypt(c) { | |
//let phi = this._p.subtract(1).multiply(this._q.subtract(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
#!/bin/bash | |
# Configure the instance to run as a Port Address Translator (PAT) to provide | |
# Internet connectivity to private instances. | |
function log { logger -s -t "vpc" -- $1; } | |
function die { | |
[ -n "$1" ] && log "$1" | |
log "Configuration of PAT failed!" | |
exit 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 hmac_sha256(unsigned char *digest, const unsigned char *in_key, int key_length, const unsigned char *in_message, int message_length) { | |
SHA256_CTX ctx; | |
unsigned char key[64] = { 0 }; | |
unsigned char o_key_pad[64] = { 0 }; | |
unsigned char i_key_pad[64] = { 0 }; | |
unsigned char* key_pads[] = {o_key_pad, i_key_pad, NULL}; | |
unsigned char** cur_key_pad = key_pads; | |
unsigned char key_pad_xor = 0x5c; |
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 {PassThrough} = require('stream'); | |
protocol.registerStreamProtocol('app', ((request, callback) => { | |
let url = new murl.URL(request.url); | |
let newUrlOptions = { | |
auth: url.auth, | |
hash: url.hash, | |
host: webpackDevServerUrl.host, | |
hostname: url.hostname, | |
href: url.href, |
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
--- | |
kind: ClusterRole | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
metadata: | |
name: flannel | |
rules: | |
- apiGroups: | |
- "" | |
resources: | |
- pods |
NewerOlder